| |
- getContextSubscriptionResults(detID=None)
- getIDCount()
- getIDCount() -> integer
Returns the number of areal detectors in the network.
- getIDList()
- getIDList() -> list(string)
Returns a list of ids of all areal detectors within the scenario.
- getJamLengthMeters(detID)
- getJamLengthMeters(string) -> double
Returns the jam length in meters within the last simulation step.
- getJamLengthVehicle(detID)
- getJamLengthVehicle(string) -> integer
Returns the jam length in vehicles within the last simulation step.
- getLastStepMeanSpeed(detID)
- getLastStepMeanSpeed(string) -> double
Returns the current mean speed in m/s of vehicles that were on the named e2.
- getLastStepOccupancy(detID)
- getLastStepMeanSpeed(string) -> double
Returns the percentage of space the detector was occupied by a vehicle [%]
- getLastStepVehicleIDs(detID)
- getLastStepVehicleIDs(string) -> list(string)
Returns the list of ids of vehicles that were on the named induction loop in 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=2147483647)
- 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=2147483647)
|