I am trying to retrieve all the vehicles that are currently running in the network. That means, those that has departed, less those that has arrived(reached destination).
It seems that *traci.vehicle.getIDList()* will return all vehicles that are loaded, which is not I wanted? I could implement a list to add on *traci.vehicle.getDepartedIDList()* and minus off *traci.vehicle.getArrivedIDList() *on every time step. I just want to make sure that it will achieve what I intended, which is retrieving *ONLY *the vehicles that are running in the network currently. Do *traci.vehicle.getArrivedIDList()* also include those that got removed due to other reasons(fail to depart, etc)? ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user