CityBrainChallenge / KDDCup2021-CityBrainChallenge-starter-kit

76 stars 40 forks source link

Inconsistent behavior between the document and the code #2

Closed IcarusWizard closed 3 years ago

IcarusWizard commented 3 years ago

In the document, it says whenever an agent switches its phase there will be a 5 seconds 'all red' phase to prevent any traffic. Thus, I assume if we switch the phase with a period of less than 5, there will be no vehicles passing at all. However, if we change the green_sec in the starter agent from 5 to 2, the delay_index decreases, meaning there are still vehicles passing through. Did I miss something?

zhyliu00 commented 3 years ago

Thanks for your comment. We are fixing this problem. Update will come soon.

zhyliu00 commented 3 years ago

New version of CBEngine has been pushed to docker hub.

IcarusWizard commented 3 years ago

Thanks for the timely update!