|
Aimsun Next Scripting
24.0
|
Public Member Functions | |
| GKRealDataSetRestorerOnline () | |
| ~GKRealDataSetRestorerOnline () | |
| uint | getIdPattern () const |
| void | setIdPattern (uint value) |
| void | init () |
| const QTime & | getStartTime () const |
| void | setStartTime (const QTime &value) |
| const GKTimeDuration & | getDuration () const |
| void | setDuration (const GKTimeDuration &value) |
| const GKTimeDuration & | getInterval () const |
| void | setInterval (const GKTimeDuration &value) |
| void | setPatternToRestore (int idPattern) |
| QVector< double > | getAlphas (int iExecutionNr, int nbAlphas) const |
| QVector< int > | getPatternIds (int iExecutionNr) |
| QVector< int > | getExecutionDetectors (int iExecutionNr, GKModel *iModel) |
| QVector< int > | getExecutionDetectorSections (int iExecutionNr, GKModel *iModel) |
| int | getMaxMatrixId () |
| const GKTrafficDemand * | createPatternDemand (int iPatternId, GKModel *iModel, GKProblemNet *iProblemNet, GKCentroidConfiguration *iCentroidConfiguration) |
the AOPATTERNS table columns are: id: pattern ID start: start time in seconds duration: duration in seconds dataInterval: interval time in seconds
the AOPATTERNVALUES table columns are: id: pattern ID sensor: detector external ID type: it is always set to 2 (flow) mean: time series mean values high: time series upper bound values low: time series lower bound values
| GKRealDataSetRestorerOnline::GKRealDataSetRestorerOnline | ( | ) |
| GKRealDataSetRestorerOnline::~GKRealDataSetRestorerOnline | ( | ) |
| const GKTrafficDemand * GKRealDataSetRestorerOnline::createPatternDemand | ( | int | iPatternId, |
| GKModel * | iModel, | ||
| GKProblemNet * | iProblemNet, | ||
| GKCentroidConfiguration * | iCentroidConfiguration | ||
| ) |
create demand for pattern
| QVector< double > GKRealDataSetRestorerOnline::getAlphas | ( | int | iExecutionNr, |
| int | nbAlphas | ||
| ) | const |
return as many alphas as nbAlphas. It only can be called after setPatternToRestore function
| const GKTimeDuration & GKRealDataSetRestorerOnline::getDuration | ( | ) | const |
returns the pattern duration
| QVector< int > GKRealDataSetRestorerOnline::getExecutionDetectors | ( | int | iExecutionNr, |
| GKModel * | iModel | ||
| ) |
return detector IDs used in this execution
| QVector< int > GKRealDataSetRestorerOnline::getExecutionDetectorSections | ( | int | iExecutionNr, |
| GKModel * | iModel | ||
| ) |
return section IDs with detector in this execution
| uint GKRealDataSetRestorerOnline::getIdPattern | ( | ) | const |
returns the pattern id
| const GKTimeDuration & GKRealDataSetRestorerOnline::getInterval | ( | ) | const |
returns the pattern interval
| int GKRealDataSetRestorerOnline::getMaxMatrixId | ( | ) |
return the maximum matrix ID that is being used in the database
| QVector< int > GKRealDataSetRestorerOnline::getPatternIds | ( | int | iExecutionNr | ) |
return pattern IDs for a specified execution number
| const QTime & GKRealDataSetRestorerOnline::getStartTime | ( | ) | const |
returns the pattern start time
| void GKRealDataSetRestorerOnline::init | ( | ) |
initialize the restorer
| void GKRealDataSetRestorerOnline::setDuration | ( | const GKTimeDuration & | value | ) |
sets the pattern duration
| void GKRealDataSetRestorerOnline::setIdPattern | ( | uint | value | ) |
sets the pattern id
| void GKRealDataSetRestorerOnline::setInterval | ( | const GKTimeDuration & | value | ) |
sets the pattern interval
| void GKRealDataSetRestorerOnline::setPatternToRestore | ( | int | idPattern | ) |
sets the pattern that will be restored from DB. Only from scripting
| void GKRealDataSetRestorerOnline::setStartTime | ( | const QTime & | value | ) |
sets the pattern start time
1.9.4