cityflow-project / CityFlow

A Multi-Agent Reinforcement Learning Environment for Large Scale City Traffic Scenario
https://cityflow-project.github.io
Apache License 2.0
784 stars 171 forks source link

What does 'flow_4_1_shadow' mean? #155

Closed Sheagu closed 1 year ago

Sheagu commented 2 years ago

I used the function get_lane_vehicles() and the dictionary returned includes a weird item 'flow_4_1_shadow': image What does 'shadow' mean?

zhc134 commented 1 year ago

shadow vehicle is related to lane changing mechanism, when a vehicle A is changing from lane 1 to lane 2, a shadow of vehicle A will be inserted to lane 2 and removed after completion of lane changing.