huawei-noah / xingtian

xingtian is a componentized library for the development and verification of reinforcement learning algorithms
MIT License
301 stars 89 forks source link

One question about the simulator of `DPDP Competition`. #13

Closed Dongbox closed 3 years ago

Dongbox commented 3 years ago

What's the function of file output_route.json?

I mean it looks like the file output_destination.json could support it finishes all the plans since it contains the information of order involving the items, factories about pickup and delivery, and of course the vehicle itself.

Or it will auto-updated that the destination of the vehicle by the planned route when it reached the destination and after pickup?

zgfhill commented 3 years ago

Yes, when a vehicle reaches its destination, the simulator will generate a new destination from the planned_route. The planned_route in a vehicle object comes from output_route.json file which is calculated by the algorithm.