Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] How to know all vehicles, pedestrians, bicycles finish

Got it.
Thank you very much for confirming! I appreciate your help a lot!
Have a wonderful day!

Sincerely,
Dayuan



————
Dayuan Tan
UMBC



On Sep 10, 2021, at 04:58, Jakob Erdmann <namdre.sumo@xxxxxxxxx> wrote:

Hello, the number includes bicycles and persons.

Am Fr., 10. Sept. 2021 um 06:08 Uhr schrieb Dayuan Tan <dayuan1@xxxxxxxx>:
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() -> 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
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user


Back to the top