|
Aimsun Next Scripting
22
|
Public Member Functions | |
| GravityModelParams () | |
| void | setMaxIterations (int _iterations) |
| int | getMaxIterations () const |
| void | setMaxEpsilon (double ierror) |
| double | getMaxEpsilon () const |
| void | setDeterrenceFunction (GKFunctionCost *iDeterrenceFunction) |
| GKFunctionCost * | getDeterrenceFunction () 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 | |
| GravityModelParams::GravityModelParams | ( | ) |
| GKFunctionCost * GravityModelParams::getDeterrenceFunction | ( | ) | const |
Gets the ID of the Deterrence function chosen.
| double GravityModelParams::getMaxEpsilon | ( | ) | const |
Gets the upper bound to the maximum relative variation between the trips calculated and the input Generation/Attraction vector.
| int GravityModelParams::getMaxIterations | ( | ) | const |
Gets the maximum number of iterations of the balancing method.
|
virtual |
Get Distribution Model type name.
Implements DistributionExperimentParams.
| void GravityModelParams::setDeterrenceFunction | ( | GKFunctionCost * | iDeterrenceFunction | ) |
Sets the ID of the Deterrence function chosen.
| void GravityModelParams::setMaxEpsilon | ( | double | ierror | ) |
Sets the upper bound to the maximum relative variation between the trips calculated and the input Generation/Attraction vector.
| void GravityModelParams::setMaxIterations | ( | int | _iterations | ) |
Sets the maximum number of iterations of the balancing method.
|
virtual |
Check if the parameters set are valid or not.
Implements DistributionExperimentParams.
1.9.4