traci.multientryexit
index
/build/buildd/sumo-0.16.0~dfsg/tools/traci/multientryexit.py

@file    multientryexit.py
@author  Michael Behrisch
@date    2011-03-16
@version $Id: multientryexit.py 12906 2012-10-30 11:02:27Z behrisch $
 
Python implementation of the TraCI interface.
 
SUMO, Simulation of Urban MObility; see http://sumo.sourceforge.net/
Copyright (C) 2011 DLR (http://www.dlr.de/) and contributors
All rights reserved

 
Modules
       
traci.constants
traci

 
Functions
       
getContextSubscriptionResults(detID=None)
getIDList()
getIDList() -> list(string)
 
Returns a list of all e3 detectors in the network.
getLastStepHaltingNumber(detID)
getLastStepHaltingNumber(string) -> integer
 
.
getLastStepMeanSpeed(detID)
getLastStepMeanSpeed(string) -> double
 
.
getLastStepVehicleIDs(detID)
getLastStepVehicleIDs(string) -> list(string)
 
.
getLastStepVehicleNumber(detID)
getLastStepVehicleNumber(string) -> integer
 
.
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.
A call to this method clears all previous subscription results.
subscribeContext(detID, domain, dist, varIDs=(16,), begin=0, end=2147483647L)

 
Data
        subscriptionResults = <traci.SubscriptionResults instance>