Aimsun Next Scripting
24.0
|
Public Member Functions | |
bool | hasResults () const |
unsigned int | getNumberOfStates () const |
const PTResultAdjustmentState & | getState (const unsigned int iIndex) const |
PTResultAdjustmentState | findState (const GKUserClass &iUserClass, const GKCentroid &iOrigin, const GKCentroid &iDestination) const |
std::vector< PTResultAdjustmentState > | getStates () const |
const QVector< PTResultObservation > & | getObservations () const |
QVector< double > | getOriginalStateValues () const |
QVector< double > | getAdjustedStateValues () const |
const QVector< double > & | getOriginalObservationValues () const |
const QVector< double > & | getAdjustedObservationValues () const |
QVector< GKUserClass * > | getUsers () const |
GKTrafficDemand * | publishAdjustedDemand (GKModel *iModel) |
GKODMatrix * | publishMatrix (GKUserClass *iUser, bool iCreateInModel) const |
double | getCheckSum () const |
This class provides the functionality of a PTAdjustmentExperiment
PTResultAdjustmentState MacroPTAdjustmentResult::findState | ( | const GKUserClass & | iUserClass, |
const GKCentroid & | iOrigin, | ||
const GKCentroid & | iDestination | ||
) | const |
Try to find a state with the specific user, origin and destinations. If not found, returns a state with null original and adjusted demand.
const QVector< double > & MacroPTAdjustmentResult::getAdjustedObservationValues | ( | ) | const |
Get the adjusted observated values.
QVector< double > MacroPTAdjustmentResult::getAdjustedStateValues | ( | ) | const |
Get the adjusted state values.
double MacroPTAdjustmentResult::getCheckSum | ( | ) | const |
Function for QA.
unsigned int MacroPTAdjustmentResult::getNumberOfStates | ( | ) | const |
Get the number of PTResultAdjustmentState.
const QVector< PTResultObservation > & MacroPTAdjustmentResult::getObservations | ( | ) | const |
Get the observations.
const QVector< double > & MacroPTAdjustmentResult::getOriginalObservationValues | ( | ) | const |
Get the original observated values.
QVector< double > MacroPTAdjustmentResult::getOriginalStateValues | ( | ) | const |
Get the orgininal state values before the adjustment.
const PTResultAdjustmentState & MacroPTAdjustmentResult::getState | ( | const unsigned int | iIndex | ) | const |
Get the number of PTResultAdjustmentState using the index. iIndex must be between 0 and N-1 (where N is the number of states ).
std::vector< PTResultAdjustmentState > MacroPTAdjustmentResult::getStates | ( | ) | const |
Get the adjustment states.
QVector< GKUserClass * > MacroPTAdjustmentResult::getUsers | ( | ) | const |
Get the users used in the demand adjusted.
bool MacroPTAdjustmentResult::hasResults | ( | ) | const |
Return true if results are available.
GKTrafficDemand * MacroPTAdjustmentResult::publishAdjustedDemand | ( | GKModel * | iModel | ) |
Creates the adjusted demand.
GKODMatrix * MacroPTAdjustmentResult::publishMatrix | ( | GKUserClass * | iUser, |
bool | iCreateInModel | ||
) | const |
Create the adjusted for the specified GKUserClass, set iCreateInModel to true in order to generate temporary matrices in the model.