PyMacroPTPlugin.PTLine¶
- class PTLine¶
The
PTLineclassSynopsis¶
Methods¶
def
__init__()def
getCapacity()def
getDistance()def
getInterval()def
getMacroId()def
getNbRuns()def
getRoute()def
getSpeed()def
isCircular()def
setRoute()
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
- __init__(iPublicLine, iPublicLinePlan, iDemand, id, iModelConnection)¶
- Parameters:
iPublicLine –
GKPublicLineiPublicLinePlan –
GKPublicLinePlaniDemand –
GKTrafficDemandid – int
iModelConnection –
GKModelConnection
- crowdDiscomfortFunction()¶
- Return type:
GKFunctionCost
- getDistance(origin, destination)¶
- getRoute()¶
- Return type:
.std.vectorqint32
- getTimeTableStopToStopDelay(origin, destination, iExperiment)¶
- Parameters:
origin –
PTStopdestination –
PTStopiExperiment –
GKGenericExperiment
- Return type:
Gets the average delay from stop to stop for the specified experiment
- setRoute(route)¶
- Parameters:
route – .std.vectorqint32