PyMacroPTPlugin.PTODStrategy

class PTODStrategy

The PTODStrategy class

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__()
__init__(b)
Parameters:

bPTODStrategy

addPath(path)
Parameters:

pathPTODPath

cost()
Return type:

float

costComponent(componentIndex)
Parameters:

componentIndex – int

Return type:

float

crowdingDiscomfort()
Return type:

float

factor()
Return type:

float

fare()
Return type:

float

inVehicleDistance()
Return type:

float

inVehicleTime()
Return type:

float

isEmpty()
Return type:

bool

isEqual(s, factorsEqual)
Parameters:
Return type:

bool

merge(s)
Parameters:

sPTODStrategy

__eq__(b)
Parameters:

bPTODStrategy

Return type:

bool

paths()
Return type:

.std.vectorPTODPath

setFactor(iValue)
Parameters:

iValue – float

transferPenalty()
Return type:

float

waitingTime()
Return type:

float

walkingTime()
Return type:

float