Hello, the number includes bicycles and persons. Please see here for the updated documentation: https://github.com/eclipse/sumo/blob/1cc852ddb8553f1f70d5b04a5c197c0ec1d3ef1b/tools/traci/_simulation.py#L443-L451
Am Fr., 10. Sept. 2021 um 06:08 Uhr schrieb Dayuan Tan <[email protected]>: > Dear Jakob, > > Good morning! > > In pydoc, it says "returns the number of vehicles". Could you help to make > sure does it only include vehicles? Or it includes all objects in > simulation (vehicles, pedestrians, bicycles and so on)? > > If not how could I know when all objects (vehicles, pedestrians, bicycles > and so on) finish? > > *getMinExpectedNumber*(self)getMinExpectedNumber > <https://sumo.dlr.de/daily/pydoc/traci._simulation.html#SimulationDomain-getMinExpectedNumber> > () -> integer > > Returns the number of vehicles which are in the net plus the > ones still waiting to start. This number may be smaller than > the actual number of vehicles still to come because of delayed > route file parsing. If the number is 0 however, it is > guaranteed that all route files have been parsed completely > and all vehicles have left the network. > > > Thank you very much! > > Have a good day! > > Sincerely, > Dayuan > > > > *————* > *Dayuan Tan* > > > > *UMBC* > > _______________________________________________ > sumo-user mailing list > [email protected] > To unsubscribe from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user >
_______________________________________________ sumo-user mailing list [email protected] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
