CityBrainChallenge / KDDCup2021-CityBrainChallenge-starter-kit

77 stars 40 forks source link

round 3: how to generate small roadnet and flow? #52

Open KK666-AI opened 3 years ago

KK666-AI commented 3 years ago

Dear author,

In round 3, there are a large number of vehicles and agents. I'd like to generate a similar setting with small number of vehicles and agents, so that it's more efficient to develop and test my experiment. Could you give me some inputs?

Kanstarry9T commented 3 years ago

We currently do not provide a small road network (or small number of agents), but you can generate a traffic within a small region (a traffic zone) and make other vehicle trip Origin and Destination within the same small region (in same traffic zone). The following script should help you: https://github.com/CityBrainChallenge/KDDCup2021-CityBrainChallenge-starter-kit/blob/main/data/traffic_generator.py

Kanstarry9T commented 3 years ago

You can also visit the document for more information on how to create your own traffic data. https://shimo.im/docs/pPrvXpChJgpjpdTD/ or https://docs.google.com/document/d/1iwBKijsNwxMDpXF3tCA67jOxLOpu72sRgASkD93_6Rw/edit?usp=sharing