| |
- Method resolution order:
- CalibratorDomain
- traci.domain.Domain
- builtins.object
Methods defined here:
- __init__(self)
- Initialize self. See help(type(self)) for accurate signature.
- getBegin(self, calibratorID)
- getBegin(string) -> double
Returns the begin time of the current calibration interval
- getEdgeID(self, calibratorID)
- getEdgeID(string) -> string
Returns the edge of this calibrator
- getEnd(self, calibratorID)
- getEnd(string) -> double
Returns the end time of the current calibration interval
- getInserted(self, calibratorID)
- getInserted(string) -> double
Returns the number of inserted vehicles in the current calibration interval
- getLaneID(self, calibratorID)
- getLaneID(string) -> string
Returns the lane of this calibrator (if it applies to a single lane)
- getPassed(self, calibratorID)
- getPassed(string) -> double
Returns the number of passed vehicles in the current calibration interval
- getRemoved(self, calibratorID)
- getRemoved(string) -> double
Returns the number of removed vehicles in the current calibration interval
- getRouteID(self, calibratorID)
- getRouteID(string) -> string
Returns the route id for the current calibration interval
- getRouteProbeID(self, calibratorID)
- getRouteProbeID(string) -> string
Returns the routeProbe id for this calibrator
- getSpeed(self, calibratorID)
- getSpeed(string) -> double
Returns the target speed of the current calibration interval
- getTypeID(self, calibratorID)
- getTypeID(string) -> string
Returns the type id for the current calibration interval
- getVTypes(self, calibratorID)
- getVTypes(string) -> list(string)
Returns a list of all types to which the calibrator applies (in a type filter is active)
- getVehsPerHour(self, calibratorID)
- getVehsPerHour(string) -> double
Returns the number of vehicles per hour in the current calibration interval
- setFlow(self, calibratorID, begin, end, vehsPerHour, speed, typeID, routeID, departLane='first', departSpeed='max')
- setFlow(string, double, double, double, double, string, string, string, string) -> None
Update or add a calibrator interval
Methods inherited from traci.domain.Domain:
- getAllContextSubscriptionResults(self)
- getAllSubscriptionResults(self)
- getAllSubscriptionResults() -> dict(string: dict(integer: <value_type>))
Returns the subscription results for the last time step and all objects of the domain.
It is not possible to retrieve older subscription results than the ones
from the last time step.
- getContextSubscriptionResults(self, objectID)
- getIDCount(self)
- getIDCount() -> integer
Returns the number of currently loaded objects.
- getIDList(self)
- getIDList() -> list(string)
Returns a list of all objects in the network.
- getParameter(self, objectID, key)
- getParameter(string, string) -> string
Returns the value of the given parameter for the given objectID
- getParameterWithKey(self, objectID, key)
- getParameterWithKey(string, string) -> (string, string)
Returns the (key, value) tuple of the given parameter for the given objectID
- getSubscriptionResults(self, objectID)
- getSubscriptionResults(string) -> dict(integer: <value_type>)
Returns the subscription results for the last time step and the given object.
If the object 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.
- setParameter(self, objectID, key, value)
- setParameter(string, string, string) -> None
Sets the value of the given parameter to value for the given objectID
- subscribe(self, objectID, varIDs=None, begin=-1073741824.0, end=-1073741824.0, parameters=None)
- subscribe(string, list(integer), double, double, map(string->tuple)) -> None
Subscribe to one or more object values for the given interval.
- subscribeContext(self, objectID, domain, dist, varIDs=None, begin=-1073741824.0, end=-1073741824.0, parameters=None)
- subscribeContext(string, int, double, list(integer), double, double) -> None
Subscribe to objects of the given domain (specified as domain=traci.constants.CMD_GET_<DOMAIN>_VARIABLE),
which are closer than dist to the object specified by objectID.
- subscribeParameterWithKey(self, objectID, key, begin=-1073741824.0, end=-1073741824.0)
- subscribeParameterWithKey(string, string) -> None
Subscribe for a generic parameter with the given key.
- unsubscribe(self, objectID)
- unsubscribe(string) -> None
Unsubscribe from receiving object values.
- unsubscribeContext(self, objectID, domain, dist)
Data descriptors inherited from traci.domain.Domain:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|