PyMacroPTPlugin.MacroPTExperimentParams¶
- class MacroPTExperimentParams¶
The
MacroPTExperimentParamsclassSynopsis¶
Methods¶
def
__init__()def
globalFare()def
isMultiRouting()def
maxIterations()def
rGap()def
setExperiment()def
setGlobalFare()def
setRGap()def
setUseFlatFare()def
useFlatFare()
Virtual methods¶
def
clone()def
internalName()
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__()¶
- clone()¶
- Return type:
- dwellTimeFunction()¶
- Return type:
GKFunctionCost
Get the dwell time cost function.
See also
- getTransferPenalty()¶
- Return type:
GKFunctionCost
Get the transfer penalty.
Get the global fare.
See also
Get multi-routing.
See also
Get maximum number of iterations.
See also
Get relative gap.
See also
- setDwellTimeFunction(aFunction)¶
- Parameters:
aFunction –
GKFunctionCost
Set the dwell time cost function.
See also
- setExperiment(experiment)¶
- Parameters:
experiment –
MacroPTExperiment
Set the experiment
- setGlobalFare(iValue)¶
- Parameters:
iValue – float
Set the global fare.
See also
- setIsMultiRouting(iValue)¶
- Parameters:
iValue – bool
Set multi-routing.
See also
- setMaxIterations(iValue)¶
- Parameters:
iValue – int
Set maximum number of iterations.
See also
- setRGap(iValue)¶
- Parameters:
iValue – float
Set relative gap.
See also
- setTransferPenalty(function)¶
- Parameters:
function –
GKFunctionCost
Set the transfer penalty.
- setUseFlatFare(iValue)¶
- Parameters:
iValue – bool
Set whether to apply fat fare or not.
See also
- setWalkingOnlyAllowed(allowed)¶
- Parameters:
allowed – bool
Set walking-only allowed.
See also
- setWalkingOnlyFunction(aFunction)¶
- Parameters:
aFunction –
GKFunctionCost
Set the walking-only cost function.
See also
Get whether to apply fat fare or not.
See also
Get walking-only allowed.
See also
- walkingOnlyFunction()¶
- Return type:
GKFunctionCost
Get the walking-only cost function.
See also