PyMacroPTPlugin.PTODPath

class PTODPath

The PTODPath 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:

bPTODPath

Parameters:
  • iForestPTForest

  • iLinkId – int

  • iHyperLinkId – int

  • iLinkFactor – float

clear()
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

initCostComponents(nrCostComponents)
Parameters:

nrCostComponents – int

isEmpty()
Return type:

bool

isEqual(p, factorsEqual)
Parameters:
Return type:

bool

merge(p, factor, factor2)
Parameters:
  • pPTODPath

  • factor – float

  • factor2 – float

__eq__(b)
Parameters:

bPTODPath

Return type:

bool

path()
Return type:

.std.vectorPTODPathLink

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

transferPenalty()
Return type:

float

waitingTime()
Return type:

float

walkingTime()
Return type:

float