| |
- getContextSubscriptionResults(detID=None)
- getIDCount()
- getIDCount() -> integer
Returns the number of multi-entry/multi-exit detectors in the network.
- getIDList()
- getIDList() -> list(string)
Returns a list of ids of all multi-entry/multi-exit (e3) detectors within the scenario.
- getLastStepHaltingNumber(detID)
- getLastStepHaltingNumber(string) -> integer
Returns the number of vehicles which were halting during the last time step.
- getLastStepMeanSpeed(detID)
- getLastStepMeanSpeed(string) -> double
Returns the mean speed in m/s of vehicles that have been within the named multi-entry/multi-exit detector within the last simulation step.
- getLastStepVehicleIDs(detID)
- getLastStepVehicleIDs(string) -> list(string)
Returns the list of ids of vehicles that have been within the named multi-entry/multi-exit detector in the last simulation step.
- getLastStepVehicleNumber(detID)
- getLastStepVehicleNumber(string) -> integer
Returns the number of vehicles that have been within the named multi-entry/multi-exit detector within the last simulation step.
- getSubscriptionResults(detID=None)
- getSubscriptionResults(string) -> dict(integer: <value_type>)
Returns the subscription results for the last time step and the given detector.
If no detector id is given, all subscription results are returned in a dict.
If the detector id is unknown or the subscription did for any reason return no data,
'None' is returned.
It is not possible to retrieve older subscription results than the ones
from the last time step.
- subscribe(detID, varIDs=(16,), begin=0, end=2147483647L)
- subscribe(string, list(integer), double, double) -> None
Subscribe to one or more detector values for the given interval.
- subscribeContext(detID, domain, dist, varIDs=(16,), begin=0, end=2147483647L)
|