|
Aimsun Next Scripting
22
|
Public Member Functions | |
| if (base !=nullptr) | |
| Py_END_ALLOW_THREADS End GKFunctionCost * | getTransferPenalty () const |
| void | setTransferPenalty (GKFunctionCost *function) |
| bool | isMultiRouting () const |
| void | setIsMultiRouting (bool iValue) |
| bool | walkingOnlyAllowed () const |
| void | setWalkingOnlyAllowed (bool allowed) |
| int | maxIterations () const |
| void | setMaxIterations (int iValue) |
| double | rGap () const |
| void | setRGap (double iValue) |
| bool | useFlatFare () const |
| void | setUseFlatFare (bool iValue) |
| double | globalFare () const |
| void | setGlobalFare (double iValue) |
| GKFunctionCost * | dwellTimeFunction () const |
| void | setDwellTimeFunction (GKFunctionCost *aFunction) |
Public Attributes | |
| ConvertToSubClassCode Py_BEGIN_ALLOW_THREADS MacroPTExperimentParams * | base = (MacroPTExperimentParams*)sipCpp |
| sipType = 0 | |
This class provides the parameters of a macro transit experiment
| GKFunctionCost * MacroPTExperimentParams::dwellTimeFunction | ( | ) | const |
Get the dwell time cost function.
| Py_END_ALLOW_THREADS End GKFunctionCost * MacroPTExperimentParams::getTransferPenalty | ( | ) | const |
Get the transfer penalty.
| double MacroPTExperimentParams::globalFare | ( | ) | const |
Get the global fare.
|
inline |
References base, GKSystem::getSystem(), and sipType.
| bool MacroPTExperimentParams::isMultiRouting | ( | ) | const |
Get multi-routing.
| int MacroPTExperimentParams::maxIterations | ( | ) | const |
Get maximum number of iterations.
| double MacroPTExperimentParams::rGap | ( | ) | const |
Get relative gap.
| void MacroPTExperimentParams::setDwellTimeFunction | ( | GKFunctionCost * | aFunction | ) |
Set the dwell time cost function.
| void MacroPTExperimentParams::setGlobalFare | ( | double | iValue | ) |
Set the global fare.
| void MacroPTExperimentParams::setIsMultiRouting | ( | bool | iValue | ) |
Set multi-routing.
| void MacroPTExperimentParams::setMaxIterations | ( | int | iValue | ) |
Set maximum number of iterations.
| void MacroPTExperimentParams::setRGap | ( | double | iValue | ) |
Set relative gap.
| void MacroPTExperimentParams::setTransferPenalty | ( | GKFunctionCost * | function | ) |
Set the transfer penalty.
| void MacroPTExperimentParams::setUseFlatFare | ( | bool | iValue | ) |
Set whether to apply fat fare or not.
| void MacroPTExperimentParams::setWalkingOnlyAllowed | ( | bool | allowed | ) |
Set walking-only allowed.
| bool MacroPTExperimentParams::useFlatFare | ( | ) | const |
Get whether to apply fat fare or not.
| bool MacroPTExperimentParams::walkingOnlyAllowed | ( | ) | const |
Get walking-only allowed.
| ConvertToSubClassCode Py_BEGIN_ALLOW_THREADS MacroPTExperimentParams* MacroPTExperimentParams::base = (MacroPTExperimentParams*)sipCpp |
Referenced by if().
| MacroPTExperimentParams::sipType = 0 |
Referenced by if().
1.9.4