Hi flatland team!
Just a few questions about current version of Flatland.
- I found that sometimes
agent.malfunction_data['next_malfunction']parameter can be below zero. It happens when the next malfunction for a single agent occurs before current ended (I can send a simulation code, if you want). So, a flatland user have to write one extra line to find out a
next_malfunctionvalue. Personally I use this code:
next_malfunction = max(self.env.agents[ind].malfunction_data['next_malfunction'], self.env.agents[ind].malfunction_data['malfunction'] + 1)
Please, fix your
next_malfunction output with something like that to avoid any of misunderstandings.
And one more question. Do you want to allow the agent to wait (with STOP_MOVING status) when its
position_fractionis upper than zero - I mean when the agent started to move between two cells? I ask this as long as right now agents are unable to do that, which looks not so logical.
What values of
max_durationwill you set in simulations (sorry, if I ask this too early).
P. S. Thank you for past bug fixs. Now, it is possible to make full solutions for round 2. You`ve done a great job!