Aimsun Next Scripting
22
|
Public Types | |
enum | fwMethod { eNormal , eConjugate } |
Public Member Functions | |
CFrankWolfeParams () | |
~CFrankWolfeParams () | |
int | getMaxIterations () |
void | setMaxIterations (int _iterations) |
double | getMaxRelativeGap () |
void | setMaxRelativeGap (double _gap) |
fwMethod | getFrankWolfeMethod () |
void | setFrankWolfeMethod (fwMethod _method) |
bool | validParameters (GKModel *iModel) const |
QString | getTypeName () const |
![]() | |
if (base) | |
Py_END_ALLOW_THREADS End | MacroExperimentParams () |
~MacroExperimentParams () | |
virtual QString | getTypeName () const =0 |
virtual bool | validParameters (GKModel *iModel) const =0 |
Additional Inherited Members | |
![]() | |
ConvertToSubClassCode Py_BEGIN_ALLOW_THREADS MacroExperimentParams * | base = (MacroExperimentParams*)sipCpp |
sipType = 0 | |
This Class provides the Frank-Wolfe parameters that can be configured
CFrankWolfeParams::CFrankWolfeParams | ( | ) |
CFrankWolfeParams constructor
CFrankWolfeParams::~CFrankWolfeParams | ( | ) |
CFrankWolfeParams destructor
fwMethod CFrankWolfeParams::getFrankWolfeMethod | ( | ) |
Get the Frank Wolve Method to be used
int CFrankWolfeParams::getMaxIterations | ( | ) |
Get the maximum number of iterations used as a stopping criterion
double CFrankWolfeParams::getMaxRelativeGap | ( | ) |
Get the relative gap used as stopping criterion
|
virtual |
Gets name of the type of Static Assignment
Implements MacroExperimentParams.
void CFrankWolfeParams::setFrankWolfeMethod | ( | fwMethod | _method | ) |
Set the Frank&Wolfe Method to be used eNormal or eConjugate
void CFrankWolfeParams::setMaxIterations | ( | int | _iterations | ) |
Set the maximum number of iterations used as a stopping criterion
void CFrankWolfeParams::setMaxRelativeGap | ( | double | _gap | ) |
Set the maximum relative gap used as a stopping criterion
|
virtual |
Check whether the parameters set are valid or not
Implements MacroExperimentParams.