PyMacroPTPlugin.PTODPath¶
- class PTODPath¶
The
PTODPathclassSynopsis¶
Methods¶
def
__init__()def
addPathLink()def
clear()def
cost()def
costComponent()def
factor()def
fare()def
inVehicleTime()def
isEmpty()def
isEqual()def
merge()def
__eq__()def
path()def
popLastLink()def
setCost()def
setFare()def
setWaitingTime()def
setWalkingTime()def
waitingTime()def
walkingTime()
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:
b –
PTODPath
- addPathLink(iForest, iLinkId, iHyperLinkId, iLinkFactor)¶
- Parameters:
iForest –
PTForestiLinkId – int
iHyperLinkId – int
iLinkFactor – float
- clear()¶
- initCostComponents(nrCostComponents)¶
- Parameters:
nrCostComponents – int
- path()¶
- Return type:
.std.vectorPTODPathLink
- popLastLink()¶
- setCost(iValue)¶
- Parameters:
iValue – float
- setCostComponent(componentIndex, iValue)¶
- Parameters:
componentIndex – int
iValue – float
- setCrowdingDiscomfort(iValue)¶
- Parameters:
iValue – float
- setFare(iValue)¶
- Parameters:
iValue – float
- setInVehicleDistance(distance)¶
- Parameters:
distance – float
- setInvehicleTime(iValue)¶
- Parameters:
iValue – float
- setTransferPenalty(iValue)¶
- Parameters:
iValue – float
- setWaitingTime(iValue)¶
- Parameters:
iValue – float
- setWalkingTime(iValue)¶
- Parameters:
iValue – float