Aimsun Next Scripting: CMSAParams Class Reference
Aimsun Next Scripting  22
Public Member Functions | List of all members
CMSAParams Class Reference
Inheritance diagram for CMSAParams:
MacroExperimentParams

Public Member Functions

 CMSAParams ()
 
 ~CMSAParams ()
 
int getMaximumIterations () const
 
void setMaximumIterations (const int iNIterations)
 
double getMaximumRelativeGap () const
 
void setMaximumRelativeGap (const double iRelativeGap)
 
bool validParameters (GKModel *iModel) const
 
QString getTypeName () const
 
- Public Member Functions inherited from MacroExperimentParams
 if (base)
 
Py_END_ALLOW_THREADS End MacroExperimentParams ()
 
 ~MacroExperimentParams ()
 
virtual QString getTypeName () const =0
 
virtual bool validParameters (GKModel *iModel) const =0
 

Additional Inherited Members

- Public Attributes inherited from MacroExperimentParams
ConvertToSubClassCode Py_BEGIN_ALLOW_THREADS MacroExperimentParamsbase = (MacroExperimentParams*)sipCpp
 
 sipType = 0
 

Detailed Description

This Class provides the MSA parameters that can be configured

Constructor & Destructor Documentation

◆ CMSAParams()

CMSAParams::CMSAParams ( )

CMSAParams constructor.

◆ ~CMSAParams()

CMSAParams::~CMSAParams ( )

CMSAParams destructor.

Member Function Documentation

◆ getMaximumIterations()

int CMSAParams::getMaximumIterations ( ) const

Gets the maximum number of iterations.

◆ getMaximumRelativeGap()

double CMSAParams::getMaximumRelativeGap ( ) const

Gets the maximum relative gap.

◆ getTypeName()

QString CMSAParams::getTypeName ( ) const
virtual

Gets name of the type of Static Assignment.

Implements MacroExperimentParams.

◆ setMaximumIterations()

void CMSAParams::setMaximumIterations ( const int  iNIterations)

Sets the maximum number of iterations.

◆ setMaximumRelativeGap()

void CMSAParams::setMaximumRelativeGap ( const double  iRelativeGap)

Sets the maximum relative gap.

◆ validParameters()

bool CMSAParams::validParameters ( GKModel iModel) const
virtual

Check whether the parameters set are valid or not.

Implements MacroExperimentParams.

© Aimsun SLU
Aimsun ®