PyMacroPTPlugin.PTLine

class PTLine

The PTLine class

Inheritance diagram of PyMacroPTPlugin.PTLine

Synopsis

Methods

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:
  • iPublicLineGKPublicLine

  • iPublicLinePlanGKPublicLinePlan

  • iDemandGKTrafficDemand

  • id – int

  • iModelConnectionGKModelConnection

crowdDiscomfortFunction()
Return type:

GKFunctionCost

getBoardingFare()
Return type:

float

getCapacity()
Return type:

float

getDistance(origin, destination)
Parameters:
Return type:

float

getDistanceFare()
Return type:

float

getInterval()
Return type:

float

getMacroId()
Return type:

int

getNbRuns()
Return type:

float

getRoute()
Return type:

.std.vectorqint32

getSeatingCapacity()
Return type:

float

getSpeed()
Return type:

float

getTimeTableStopToStopDelay(origin, destination, iExperiment)
Parameters:
Return type:

float

Gets the average delay from stop to stop for the specified experiment

isCircular()
Return type:

bool

setRoute(route)
Parameters:

route – .std.vectorqint32