@rithgroove
Q1. Could you explain how the simulator.stepCount works?
Q2. stepCount is not a method, what causes these differences in (1) and (2)?
Q3. What is happening at (3)?
I've encounter these situations.
- This takes long to run, but the agents move
sim = Simulator.Simulator(args)
sim.stepCount = 3600*8
sim.step()
- Runs much faster but the agents seem not to move
sim = Simulator.Simulator(args)
sim.step()
- In the init of the Simulator:
self.stepCount = 3600*8
self.generateAgents(agentNum)
self.stepCount = 0
@rithgroove
Q1. Could you explain how the simulator.stepCount works?
Q2. stepCount is not a method, what causes these differences in (1) and (2)?
Q3. What is happening at (3)?
I've encounter these situations.