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

Public Member Functions

 GravityModelParams ()
 
void setMaxIterations (int _iterations)
 
int getMaxIterations () const
 
void setMaxEpsilon (double ierror)
 
double getMaxEpsilon () const
 
void setDeterrenceFunction (GKFunctionCost *iDeterrenceFunction)
 
GKFunctionCostgetDeterrenceFunction () const
 
QString getTypeName () const
 
bool validParameters (GKModel *iModel) const
 
- Public Member Functions inherited from DistributionExperimentParams
 if (dynamic_cast< GravityModelParams * >(sipCpp) !=nullptr)
 
Py_END_ALLOW_THREADS End DistributionExperimentParams ()
 
virtual QString getTypeName () const =0
 
virtual bool validParameters (GKModel *iModel) const =0
 

Additional Inherited Members

- Public Attributes inherited from DistributionExperimentParams
ConvertToSubClassCode Py_BEGIN_ALLOW_THREADS sipType = 0
 
 else
 

Constructor & Destructor Documentation

◆ GravityModelParams()

GravityModelParams::GravityModelParams ( )

Member Function Documentation

◆ getDeterrenceFunction()

GKFunctionCost * GravityModelParams::getDeterrenceFunction ( ) const

Gets the ID of the Deterrence function chosen.

◆ getMaxEpsilon()

double GravityModelParams::getMaxEpsilon ( ) const

Gets the upper bound to the maximum relative variation between the trips calculated and the input Generation/Attraction vector.

◆ getMaxIterations()

int GravityModelParams::getMaxIterations ( ) const

Gets the maximum number of iterations of the balancing method.

◆ getTypeName()

QString GravityModelParams::getTypeName ( ) const
virtual

Get Distribution Model type name.

Implements DistributionExperimentParams.

◆ setDeterrenceFunction()

void GravityModelParams::setDeterrenceFunction ( GKFunctionCost iDeterrenceFunction)

Sets the ID of the Deterrence function chosen.

◆ setMaxEpsilon()

void GravityModelParams::setMaxEpsilon ( double  ierror)

Sets the upper bound to the maximum relative variation between the trips calculated and the input Generation/Attraction vector.

◆ setMaxIterations()

void GravityModelParams::setMaxIterations ( int  _iterations)

Sets the maximum number of iterations of the balancing method.

◆ validParameters()

bool GravityModelParams::validParameters ( GKModel iModel) const
virtual

Check if the parameters set are valid or not.

Implements DistributionExperimentParams.

© Aimsun SLU
Aimsun ®