Aimsun Next Scripting  22
Public Member Functions | Public Attributes | List of all members
MacroPTExperimentParams Class Reference
Inheritance diagram for MacroPTExperimentParams:
CPTFrequencyBasedParams

Public Member Functions

 if (base !=nullptr)
 
Py_END_ALLOW_THREADS End GKFunctionCostgetTransferPenalty () 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)
 
GKFunctionCostdwellTimeFunction () const
 
void setDwellTimeFunction (GKFunctionCost *aFunction)
 

Public Attributes

ConvertToSubClassCode Py_BEGIN_ALLOW_THREADS MacroPTExperimentParamsbase = (MacroPTExperimentParams*)sipCpp
 
 sipType = 0
 

Detailed Description

This class provides the parameters of a macro transit experiment

Member Function Documentation

◆ dwellTimeFunction()

GKFunctionCost * MacroPTExperimentParams::dwellTimeFunction ( ) const

Get the dwell time cost function.

◆ getTransferPenalty()

Py_END_ALLOW_THREADS End GKFunctionCost * MacroPTExperimentParams::getTransferPenalty ( ) const

Get the transfer penalty.

◆ globalFare()

double MacroPTExperimentParams::globalFare ( ) const

Get the global fare.

◆ if()

MacroPTExperimentParams::if ( base = nullptr)
inline

References base, GKSystem::getSystem(), and sipType.

◆ isMultiRouting()

bool MacroPTExperimentParams::isMultiRouting ( ) const

Get multi-routing.

◆ maxIterations()

int MacroPTExperimentParams::maxIterations ( ) const

Get maximum number of iterations.

◆ rGap()

double MacroPTExperimentParams::rGap ( ) const

Get relative gap.

◆ setDwellTimeFunction()

void MacroPTExperimentParams::setDwellTimeFunction ( GKFunctionCost aFunction)

Set the dwell time cost function.

◆ setGlobalFare()

void MacroPTExperimentParams::setGlobalFare ( double  iValue)

Set the global fare.

◆ setIsMultiRouting()

void MacroPTExperimentParams::setIsMultiRouting ( bool  iValue)

Set multi-routing.

◆ setMaxIterations()

void MacroPTExperimentParams::setMaxIterations ( int  iValue)

Set maximum number of iterations.

◆ setRGap()

void MacroPTExperimentParams::setRGap ( double  iValue)

Set relative gap.

◆ setTransferPenalty()

void MacroPTExperimentParams::setTransferPenalty ( GKFunctionCost function)

Set the transfer penalty.

◆ setUseFlatFare()

void MacroPTExperimentParams::setUseFlatFare ( bool  iValue)

Set whether to apply fat fare or not.

◆ setWalkingOnlyAllowed()

void MacroPTExperimentParams::setWalkingOnlyAllowed ( bool  allowed)

Set walking-only allowed.

◆ useFlatFare()

bool MacroPTExperimentParams::useFlatFare ( ) const

Get whether to apply fat fare or not.

◆ walkingOnlyAllowed()

bool MacroPTExperimentParams::walkingOnlyAllowed ( ) const

Get walking-only allowed.

Member Data Documentation

◆ base

ConvertToSubClassCode Py_BEGIN_ALLOW_THREADS MacroPTExperimentParams* MacroPTExperimentParams::base = (MacroPTExperimentParams*)sipCpp

Referenced by if().

◆ sipType

MacroPTExperimentParams::sipType = 0

Referenced by if().

© Aimsun SLU
Aimsun ®