Aimsun Next Scripting  22
Public Types | Public Member Functions | List of all members
GKScenarioInputData Class Reference

Public Types

enum  ODStatType { eNone , eSelection , eAll }
 

Public Member Functions

 GKScenarioInputData ()
 
GKScenariogetScenario () const
 
bool isCycleDetectionAsSimulationStep () const
 
void setCycleDetectionAsSimulationStep (bool value)
 
float getCycleDetection () const
 
void setCycleDetection (float value)
 
void setInputPathAssignmentPlan (GKPathAssignmentPlan *)
 
GKPathAssignmentPlangetInputPathAssignmentPlan () const
 
const QList< QPair< QString, QString > > & getExtensions () const
 
void removeExtensions ()
 
void addExtension (const QString &extPath, bool enabled)
 
void removeExtension (const QString &extPath)
 
void enableExtension (const QString &extPath, bool value)
 
int getNumberOfAimsunExtensions () const
 
bool containsAimsunExtension (const QString &name) const
 
const QString & getAimsunExtensionAt (int index) const
 
const QString & getParametersFromExtension (const QString &name) const
 
const QString & getParametersFromExtensionAt (int index) const
 
void setParametersForExtension (const QString &name, const QString &params)
 
void setParametersForExtensionAt (int index, const QString &params)
 
void activateExtension (const QString &name)
 
void activateExtensionAt (int index)
 
void deactivateExtension (const QString &name)
 
void deactivateExtensionAt (int index)
 
bool isAimsunExtensionActive (const QString &name) const
 
bool isAimsunExtensionActiveAt (int index) const
 
bool storeEnabled () const
 
bool getKeepHistoryStat () const
 
void setKeepHistoryStat (bool value)
 
bool getKeepHistoryDet () const
 
void setKeepHistoryDet (bool value)
 
bool getActivateStatistics () const
 
const GKTimeDurationgetStatisticalInterval () const
 
void setStatisticalInterval (const GKTimeDuration &atime)
 
bool storeStatisticsEnabled () const
 
void enableStoreStatistics (bool value)
 
const GKTimeDurationgetDetectionInterval () const
 
void setDetectionInterval (const GKTimeDuration &atime)
 
bool storeDetectionEnabled () const
 
void enableStoreDetection (bool value)
 
bool getStoreAllPairsPathStat () const
 
void setStoreAllPairsPathStat (bool)
 
void clearPairsForPathStat ()
 
void addPairForPathStat (uint, uint)
 
void removePairForPathStat (uint, uint)
 
bool getSaveLinkCosts () const
 
void setSaveLinkCosts (bool)
 
bool getSystemStatistics () const
 
bool getSectionsStatistics () const
 
void setSectionsStatistics (bool value)
 
bool getSectionLanesStatistics () const
 
void setSectionLanesStatistics (bool value)
 
void setControlPlanStatistics (bool value)
 
bool getControlPlanStatistics () const
 
void setTrafficManagementStatistics (bool value)
 
bool getTrafficManagementStatistics () const
 
bool getPedestrianCrossingStatistics () const
 
void setPedestrianCrossingStatistics (bool value)
 
bool getServicePointStatistics () const
 
void setServicePointStatistics (bool value)
 
bool getPTStopStatistics () const
 
void setPTStopStatistics (bool value)
 
void setGroupStatistics (bool value)
 
bool getGroupStatistics () const
 
bool getMatrixStatistics () const
 
void setMatrixStatistics (bool value)
 
bool getPTStatistics () const
 
void setPTStatistics (bool value)
 
bool getAllPTLinesStatistics () const
 
bool getTransytStatistics () const
 
void setTransytStatistics (bool)
 
bool getVehTypeStatistics () const
 
bool getDeviationStatistics () const
 
bool getTurnsStatistics () const
 
void setTurnsStatistics (bool value)
 
bool getAllNodesTurnsStatistics () const
 
bool getAllSectStatistics () const
 
bool getEntrancesStatistics () const
 
bool getExitsStatistics () const
 
bool getSubPathsStatistics () const
 
void setSubPathsStatistics (bool value)
 
bool getAllSubPathsStatistics () const
 
bool getAllGroupingsStatistics () const
 
bool getTrajectoriesStatistics () const
 
void setTrajectoriesStatistics (bool value)
 
bool getEnergyConsumption () const
 
void setEnergyConsumption (bool value)
 
bool getPollutionEmission () const
 
void setPollutionEmission (bool value)
 
bool getInstantEmission () const
 
void setInstantEmission (bool value)
 
bool getLemStatistics () const
 
void setLemStatistics (bool value)
 
void addSectListStatistics (GKSection *)
 
void removeSectListStatistics (GKSection *)
 
const QVector< GKSection * > & getSectListStatistics () const
 
void clearSectListStatistics ()
 
bool isSectionInStatistics (GKSection *) const
 
void addNodeTurnListStatistics (GKNode *aNode)
 
void removeNodeTurnListStatistics (GKNode *aNode)
 
const QVector< GKNode * > & getNodeTurnListStatistics () const
 
void clearNodeTurnListStatistics ()
 
bool isNodeInTurnStatistics (GKNode *aNode) const
 
ODStatType getPairsStatistics () const
 
void setPairsStatistics (ODStatType)
 
ODStatType getOriginStatistics () const
 
void setOriginStatistics (ODStatType)
 
ODStatType getDestinationStatistics () const
 
void setDestinationStatistics (ODStatType)
 
void clearPairListStatistics ()
 
void addPairListStatistics (const GKPairStat &aPair)
 
void removePairListStatistics (const GKPairStat &aPair)
 
const QVector< GKPairStat > & getPairListStatistics () const
 
bool isPairInStatistics (const GKPairStat &aPair) const
 
void clearTrajectoryListStatistics ()
 
void addTrajectoryListStatistics (const GKTrajectoryCondition &value)
 
void removeTrajectoryListStatistics (const GKTrajectoryCondition &value)
 
const QVector< GKTrajectoryCondition > & getTrajectoryListStatistics () const
 
void clearPTTrajectories ()
 
void addPTTrajectory (int idLine, float percentage, bool keepStopTimes)
 
const QMap< int, GKPublicTransportStat > & getPTTrajectories () const
 
void clearSubPaths ()
 
void addSubPath (GKSubPath *subpath)
 
void removeSubPath (GKSubPath *subpath)
 
const QVector< GKSubPath * > & getSubPaths () const
 
bool isSubPathInStatistics (GKSubPath *subpath) const
 
int getNbStatisticsIntervals () const
 
int getNbDetectionIntervals () const
 
bool getKeepPathsInMemory () const
 
void setKeepPathsInMemory (bool keep)
 
bool getActivateLinkCosts () const
 
void setKeepLinkCostsInMemory (bool keep)
 
bool getKeepLinkCostsInMemory () const
 
bool getSaveAnimation () const
 
void setSaveAnimation (bool value)
 
const QString & getAnimationFile () const
 
void setAnimationFile (const QString &afileName)
 
double getAnimationRotation () const
 
double getAnimationXRotationCenter () const
 
double getAnimationYRotationCenter () const
 
double getAnimationXTranslation () const
 
double getAnimationYTranslation () const
 
void setAnimationRotation (double value)
 
void setAnimationXRotationCenter (double value)
 
void setAnimationYRotationCenter (double value)
 
void setAnimationXTranslation (double value)
 
void setAnimationYTranslation (double value)
 
GKPolygongetAnimationPolygon () const
 
void setAnimationPolygon (GKPolygon *pol)
 
bool getSaveTrafficArrivals () const
 
GKTrafficArrivalsgetTrafficArrivals () const
 
void setControlTurnStatistics (bool save)
 
bool getControlTurnStatistics () const
 
void setControlSignalStatistics (bool save)
 
bool getControlSignalStatistics () const
 
void setControlPhaseStatistics (bool save)
 
bool getControlPhaseStatistics () const
 
void setControlPhaseEventStatistics (bool save)
 
bool getControlPhaseEventStatistics () const
 
void setControlMeteringStatistics (bool save)
 
bool getControlMeteringStatistics () const
 
void setGlobalTrajectoriesStatistics (bool save)
 
bool getGlobalTrajectoriesStatistics () const
 
void setSectionTrajectoriesStatistics (bool save)
 
bool getSectionTrajectoriesStatistics () const
 
void setDetailedTrajectoriesStatistics (bool save)
 
bool getDetailedTrajectoriesStatistics () const
 
bool getHcmStatistics () const
 
void setHcmStatistics (bool value)
 
bool getIndividualPTStats () const
 
void setIndividualPTStats (bool value)
 
void setDebugControllers (bool save)
 
bool getDebugControllers () const
 
void setGenerateSCATSSignalGroupFiles (bool save)
 
bool getGenerateSCATSSignalGroupFiles () const
 
void setPrefixForSCATSSignalGroupFiles (const QString &prefix)
 
const QString & getPrefixForSCATSSignalGroupFiles () const
 

Detailed Description

This class holds all the scenario input data (traffic demand, control plans, transit plans, statistics, ...)

Member Enumeration Documentation

◆ ODStatType

Enumerator
eNone 
eSelection 
eAll 

Constructor & Destructor Documentation

◆ GKScenarioInputData()

GKScenarioInputData::GKScenarioInputData ( )

Member Function Documentation

◆ activateExtension()

void GKScenarioInputData::activateExtension ( const QString &  name)

If 'name' is found in the Enhanced Aimsun Next Extensions, it activates it. Else, nothing happens.

◆ activateExtensionAt()

void GKScenarioInputData::activateExtensionAt ( int  index)

It activates the Enhanced Aimsun Next Extension at 'index'. [ Store internal extensions always active ] PRE: 0 <= index < numberOfAimsunExtensions

◆ addExtension()

void GKScenarioInputData::addExtension ( const QString &  extPath,
bool  enabled 
)

Add an Aimsun Next API to the scenario list of APIs. The extPath is the full path to the Aimsun Next API. The enabled indicates whether it is active or not.

◆ addNodeTurnListStatistics()

void GKScenarioInputData::addNodeTurnListStatistics ( GKNode aNode)

Adds a node to the list of nodes from where turn statistics will be collected.

◆ addPairForPathStat()

void GKScenarioInputData::addPairForPathStat ( uint  ,
uint   
)

◆ addPairListStatistics()

void GKScenarioInputData::addPairListStatistics ( const GKPairStat aPair)

Adds a centroid pair to the list of centroids from where statistics will be collected.

◆ addPTTrajectory()

void GKScenarioInputData::addPTTrajectory ( int  idLine,
float  percentage,
bool  keepStopTimes 
)

Adds a trajectory to the list of trajectories from where statistics will be collected.

◆ addSectListStatistics()

void GKScenarioInputData::addSectListStatistics ( GKSection )

Adds a section to the list of sections from where statistics will be collected.

◆ addSubPath()

void GKScenarioInputData::addSubPath ( GKSubPath subpath)

Adds a subpath to the list of subpaths from where statistics will be collected.

◆ addTrajectoryListStatistics()

void GKScenarioInputData::addTrajectoryListStatistics ( const GKTrajectoryCondition value)

Adds a trajectory to the list of trajectories from where statistics will be collected.

◆ clearNodeTurnListStatistics()

void GKScenarioInputData::clearNodeTurnListStatistics ( )

Removes all nodes from the list of nodes from where turn statistics will be collected.

◆ clearPairListStatistics()

void GKScenarioInputData::clearPairListStatistics ( )

Removes all centroid pairs from the list of centroid pairs from where statistics will be collected.

◆ clearPairsForPathStat()

void GKScenarioInputData::clearPairsForPathStat ( )

◆ clearPTTrajectories()

void GKScenarioInputData::clearPTTrajectories ( )

Removes all trajectories from the list of trajectories from where statistics will be collected.

◆ clearSectListStatistics()

void GKScenarioInputData::clearSectListStatistics ( )

Removes all sections from the list of sections from where statistics will be collected.

◆ clearSubPaths()

void GKScenarioInputData::clearSubPaths ( )

Removes all subpaths from the list of subpaths from where statistics will be collected.

◆ clearTrajectoryListStatistics()

void GKScenarioInputData::clearTrajectoryListStatistics ( )

Removes all trajectories from the list of trajectories from where statistics will be collected.

◆ containsAimsunExtension()

bool GKScenarioInputData::containsAimsunExtension ( const QString &  name) const

Returns if the Enhanced Aimsun Next Extensions with 'name' is included in this scenario (Active or not).

◆ deactivateExtension()

void GKScenarioInputData::deactivateExtension ( const QString &  name)

If 'name' is found in the Enhanced Aimsun Next Extensions, it deactivates it. Else, nothing happens.

◆ deactivateExtensionAt()

void GKScenarioInputData::deactivateExtensionAt ( int  index)

It deactivates the Enhanced Aimsun Next Extension at 'index'. PRE: 0 <= index < numberOfAimsunExtensions

◆ enableExtension()

void GKScenarioInputData::enableExtension ( const QString &  extPath,
bool  value 
)

Activates or deactivates (depending on 'value') the API whose full path is specified in extPath.

◆ enableStoreDetection()

void GKScenarioInputData::enableStoreDetection ( bool  value)

Sets whether the detection data will be stored in the database or not

◆ enableStoreStatistics()

void GKScenarioInputData::enableStoreStatistics ( bool  value)

Sets whether the statistics will be stored in the database or not

◆ getActivateLinkCosts()

bool GKScenarioInputData::getActivateLinkCosts ( ) const

returns whether the storing of the link costs is activated or not

◆ getActivateStatistics()

bool GKScenarioInputData::getActivateStatistics ( ) const

Returns whether the Statistics calculation are activated in the scenario or not.

◆ getAimsunExtensionAt()

const QString & GKScenarioInputData::getAimsunExtensionAt ( int  index) const

Returns the name of the Enhanced Aimsun Next Extensions at 'index' in this scenario (Active or not). PRE: 0 <= index < numberOfAimsunExtensions

◆ getAllGroupingsStatistics()

bool GKScenarioInputData::getAllGroupingsStatistics ( ) const

◆ getAllNodesTurnsStatistics()

bool GKScenarioInputData::getAllNodesTurnsStatistics ( ) const

Once the Statistics and the turns statistics have been activated, this function returns whether the turns statistics will be calculated for all turns or not.

◆ getAllPTLinesStatistics()

bool GKScenarioInputData::getAllPTLinesStatistics ( ) const

Once the Statistics and the Transit Lines statistics have been activated, this function returns whether the Transit Lines statistics will be calculated for all Transit Lines or not.

◆ getAllSectStatistics()

bool GKScenarioInputData::getAllSectStatistics ( ) const

Once the Statistics have been activated, and the section statistics have been also activated, this function returns whether the section statistics will be calculated for all sections or not.

◆ getAllSubPathsStatistics()

bool GKScenarioInputData::getAllSubPathsStatistics ( ) const

◆ getAnimationFile()

const QString & GKScenarioInputData::getAnimationFile ( ) const

◆ getAnimationPolygon()

GKPolygon * GKScenarioInputData::getAnimationPolygon ( ) const

◆ getAnimationRotation()

double GKScenarioInputData::getAnimationRotation ( ) const

◆ getAnimationXRotationCenter()

double GKScenarioInputData::getAnimationXRotationCenter ( ) const

◆ getAnimationXTranslation()

double GKScenarioInputData::getAnimationXTranslation ( ) const

◆ getAnimationYRotationCenter()

double GKScenarioInputData::getAnimationYRotationCenter ( ) const

◆ getAnimationYTranslation()

double GKScenarioInputData::getAnimationYTranslation ( ) const

◆ getControlMeteringStatistics()

bool GKScenarioInputData::getControlMeteringStatistics ( ) const

Returns whether control statistics for meterings are being saved or not.

◆ getControlPhaseEventStatistics()

bool GKScenarioInputData::getControlPhaseEventStatistics ( ) const

Returns whether control statistics for phase events are being saved or not. Useful mainly for actuated control plans.

◆ getControlPhaseStatistics()

bool GKScenarioInputData::getControlPhaseStatistics ( ) const

Returns whether control statistics for phases are being saved or not

◆ getControlPlanStatistics()

bool GKScenarioInputData::getControlPlanStatistics ( ) const

returns if control plan statistics are gathered

◆ getControlSignalStatistics()

bool GKScenarioInputData::getControlSignalStatistics ( ) const

Returns whether control statistics for signal groups are being saved or not

◆ getControlTurnStatistics()

bool GKScenarioInputData::getControlTurnStatistics ( ) const

Returns whether control statistics for turns are being saved or not

◆ getCycleDetection()

float GKScenarioInputData::getCycleDetection ( ) const

The detection cycle in seconds

◆ getDebugControllers()

bool GKScenarioInputData::getDebugControllers ( ) const

Gets whether to create debug files for controllers or not.

◆ getDestinationStatistics()

ODStatType GKScenarioInputData::getDestinationStatistics ( ) const

◆ getDetailedTrajectoriesStatistics()

bool GKScenarioInputData::getDetailedTrajectoriesStatistics ( ) const

◆ getDetectionInterval()

const GKTimeDuration & GKScenarioInputData::getDetectionInterval ( ) const

Returns the detection interval defined

◆ getDeviationStatistics()

bool GKScenarioInputData::getDeviationStatistics ( ) const

◆ getEnergyConsumption()

bool GKScenarioInputData::getEnergyConsumption ( ) const

Returns whether statistics about fuel consumption will be calculated or not

◆ getEntrancesStatistics()

bool GKScenarioInputData::getEntrancesStatistics ( ) const

Once the Statistics have been activated and the section statistics have been also activated, if they have been activated only for some, this function returns whether statistics will be calculated for all the entrance sections or not.

◆ getExitsStatistics()

bool GKScenarioInputData::getExitsStatistics ( ) const

Once the Statistics have been activated and the section statistics have been also activated, if they have been activated only for some, this function returns whether statistics will be calculated for all the exit sections or not.

◆ getExtensions()

const QList< QPair< QString, QString > > & GKScenarioInputData::getExtensions ( ) const

Returns the list of Aimsun APIs in this scenario. The first item in the pair is the full path to the Aimsun Next API. The second item in the pair contains a 0 or 1 to indicate if it is active or not.

◆ getGenerateSCATSSignalGroupFiles()

bool GKScenarioInputData::getGenerateSCATSSignalGroupFiles ( ) const

Gets whether to create log files for SCATS controllers or not.

◆ getGlobalTrajectoriesStatistics()

bool GKScenarioInputData::getGlobalTrajectoriesStatistics ( ) const

◆ getGroupStatistics()

bool GKScenarioInputData::getGroupStatistics ( ) const

Returns whether grouping statistics are gathered or not

◆ getHcmStatistics()

bool GKScenarioInputData::getHcmStatistics ( ) const

◆ getIndividualPTStats()

bool GKScenarioInputData::getIndividualPTStats ( ) const

◆ getInputPathAssignmentPlan()

GKPathAssignmentPlan * GKScenarioInputData::getInputPathAssignmentPlan ( ) const

Returns the path assignment plan object used as input

◆ getInstantEmission()

bool GKScenarioInputData::getInstantEmission ( ) const

Returns whether Instant Emission pollutants will be calculated or not

◆ getKeepHistoryDet()

bool GKScenarioInputData::getKeepHistoryDet ( ) const

Returns whether the detection data is defined to be kept in memory or not

◆ getKeepHistoryStat()

bool GKScenarioInputData::getKeepHistoryStat ( ) const

Returns whether the statistics are defined to be kept in memory on not

◆ getKeepLinkCostsInMemory()

bool GKScenarioInputData::getKeepLinkCostsInMemory ( ) const

returns the keep in memory flag of the link costs

◆ getKeepPathsInMemory()

bool GKScenarioInputData::getKeepPathsInMemory ( ) const

Returns whether path assignment is being kept in memory or not

◆ getLemStatistics()

bool GKScenarioInputData::getLemStatistics ( ) const

Returns whether Tate Emission pollutants model will be calculated or not. Keep in mind that is mandatory "activate" sections check box

◆ getMatrixStatistics()

bool GKScenarioInputData::getMatrixStatistics ( ) const

Once the Statistics have been activated, this function returns whether the OD matrices statistics calculation is activated or not.

◆ getNbDetectionIntervals()

int GKScenarioInputData::getNbDetectionIntervals ( ) const

Helper function: how many intervals for detection? It takes into account the simulation length and the detection interval.

◆ getNbStatisticsIntervals()

int GKScenarioInputData::getNbStatisticsIntervals ( ) const

Helper function: how many intervals for statistics? It takes into account the simulation length and the stat interval.

◆ getNodeTurnListStatistics()

const QVector< GKNode * > & GKScenarioInputData::getNodeTurnListStatistics ( ) const

Returns the list of nodes from where turn statistics will be collected.

◆ getNumberOfAimsunExtensions()

int GKScenarioInputData::getNumberOfAimsunExtensions ( ) const

Returns the number of Enhanced Aimsun Next Extensions for this scenario (Active or not).

◆ getOriginStatistics()

ODStatType GKScenarioInputData::getOriginStatistics ( ) const

◆ getPairListStatistics()

const QVector< GKPairStat > & GKScenarioInputData::getPairListStatistics ( ) const

Returns the list of centroid pairs from where statistics will be collected.

◆ getPairsStatistics()

ODStatType GKScenarioInputData::getPairsStatistics ( ) const

◆ getParametersFromExtension()

const QString & GKScenarioInputData::getParametersFromExtension ( const QString &  name) const

If 'name' is found in the Enhanced Aimsun Next Extensions, returns the parameters. Else, returns the name unchanged.

◆ getParametersFromExtensionAt()

const QString & GKScenarioInputData::getParametersFromExtensionAt ( int  index) const

Returns the parameters in the Enhanced Aimsun Next Extensions at 'index'. PRE: 0 <= index < numberOfAimsunExtensions

◆ getPedestrianCrossingStatistics()

bool GKScenarioInputData::getPedestrianCrossingStatistics ( ) const

Returns whether pedestrian crossing statistics are gathered or not

◆ getPollutionEmission()

bool GKScenarioInputData::getPollutionEmission ( ) const

Returns whether statistics for pollutants will be calculated or not

◆ getPrefixForSCATSSignalGroupFiles()

const QString & GKScenarioInputData::getPrefixForSCATSSignalGroupFiles ( ) const

Gets the prefix (that is, complete path + file prefix) to use when creating the log files for SCATS Controllers. The ID of the controller and the txt extension will be automatically added to the prefix when creating the file to write the info in.

◆ getPTStatistics()

bool GKScenarioInputData::getPTStatistics ( ) const

Once the Statistics have been activated, this function returns whether the transit statistics calculation is activated or not.

◆ getPTStopStatistics()

bool GKScenarioInputData::getPTStopStatistics ( ) const

Returns whether pedestrian service point statistics are gathered or not

◆ getPTTrajectories()

const QMap< int, GKPublicTransportStat > & GKScenarioInputData::getPTTrajectories ( ) const

Returns the list of trajectory from where statistics will be collected.

◆ getSaveAnimation()

bool GKScenarioInputData::getSaveAnimation ( ) const

◆ getSaveLinkCosts()

bool GKScenarioInputData::getSaveLinkCosts ( ) const

◆ getSaveTrafficArrivals()

bool GKScenarioInputData::getSaveTrafficArrivals ( ) const

◆ getScenario()

GKScenario * GKScenarioInputData::getScenario ( ) const

Returns the scenario releated to this scenario input data

◆ getSectionLanesStatistics()

bool GKScenarioInputData::getSectionLanesStatistics ( ) const

Once the Statistics have been activated, this function returns whether the section lane statistics calculation is activated or not.

◆ getSectionsStatistics()

bool GKScenarioInputData::getSectionsStatistics ( ) const

Once the Statistics have been activated, this function returns whether the section statistics calculation is activated or not.

◆ getSectionTrajectoriesStatistics()

bool GKScenarioInputData::getSectionTrajectoriesStatistics ( ) const

◆ getSectListStatistics()

const QVector< GKSection * > & GKScenarioInputData::getSectListStatistics ( ) const

Returns the list of sections from where statistics will be collected.

◆ getServicePointStatistics()

bool GKScenarioInputData::getServicePointStatistics ( ) const

Returns whether pedestrian service point statistics are gathered or not

◆ getStatisticalInterval()

const GKTimeDuration & GKScenarioInputData::getStatisticalInterval ( ) const

Returns the statistics interval defined

◆ getStoreAllPairsPathStat()

bool GKScenarioInputData::getStoreAllPairsPathStat ( ) const

◆ getSubPaths()

const QVector< GKSubPath * > & GKScenarioInputData::getSubPaths ( ) const

Returns the list of subpaths from where statistics will be collected.

◆ getSubPathsStatistics()

bool GKScenarioInputData::getSubPathsStatistics ( ) const

Once the Statistics have been activated, this function returns whether the stream statistics calculation is activated or not.

◆ getSystemStatistics()

bool GKScenarioInputData::getSystemStatistics ( ) const

Once the Statistics have been activated, this function returns whether the system statistics calculation is activated or not.

◆ getTrafficArrivals()

GKTrafficArrivals * GKScenarioInputData::getTrafficArrivals ( ) const

◆ getTrafficManagementStatistics()

bool GKScenarioInputData::getTrafficManagementStatistics ( ) const

returns if traffic management statistics are gathered

◆ getTrajectoriesStatistics()

bool GKScenarioInputData::getTrajectoriesStatistics ( ) const

◆ getTrajectoryListStatistics()

const QVector< GKTrajectoryCondition > & GKScenarioInputData::getTrajectoryListStatistics ( ) const

Returns the list of trajectory from where statistics will be collected.

◆ getTransytStatistics()

bool GKScenarioInputData::getTransytStatistics ( ) const

Once the Statistics have been activated, this function returns whether the TRANSYT Predictions calculation is activated or not.

◆ getTurnsStatistics()

bool GKScenarioInputData::getTurnsStatistics ( ) const

Once the Statistics have been activated, this function returns whether the nodes and turns statistics calculation is activated or not.

◆ getVehTypeStatistics()

bool GKScenarioInputData::getVehTypeStatistics ( ) const

◆ isAimsunExtensionActive()

bool GKScenarioInputData::isAimsunExtensionActive ( const QString &  name) const

If 'name' is found in the Enhanced Aimsun Next Extensions and is active, returns true. Else, returns false.

◆ isAimsunExtensionActiveAt()

bool GKScenarioInputData::isAimsunExtensionActiveAt ( int  index) const

Returns true if the Enhanced Aimsun Next Extension at 'index' is active. Else, returns false. PRE: 0 <= index < numberOfAimsunExtensions

◆ isCycleDetectionAsSimulationStep()

bool GKScenarioInputData::isCycleDetectionAsSimulationStep ( ) const

Use the simulation step as the detection cycle? The default is yes.

◆ isNodeInTurnStatistics()

bool GKScenarioInputData::isNodeInTurnStatistics ( GKNode aNode) const

Returns true if the section is in the list of nodes from where statistics will be collected.

◆ isPairInStatistics()

bool GKScenarioInputData::isPairInStatistics ( const GKPairStat aPair) const

Returns true if the centroid pair is in the list of centroid pairs from where statistics will be collected.

◆ isSectionInStatistics()

bool GKScenarioInputData::isSectionInStatistics ( GKSection ) const

Retuns true if the section is in the list of sections from where statistics will be collected.

◆ isSubPathInStatistics()

bool GKScenarioInputData::isSubPathInStatistics ( GKSubPath subpath) const

Returns true if the subpath is in the list of subpaths from where statistics will be collected.

◆ removeExtension()

void GKScenarioInputData::removeExtension ( const QString &  extPath)

Removes an Aimsun Next API from the scenario list of APIs. The extPath is the full path to the Aimsun Next API.

◆ removeExtensions()

void GKScenarioInputData::removeExtensions ( )

Removes all the Aimsun APIs in this scenario from the list.

◆ removeNodeTurnListStatistics()

void GKScenarioInputData::removeNodeTurnListStatistics ( GKNode aNode)

Removes a node from the list of nodes from where turn statistics will be collected.

◆ removePairForPathStat()

void GKScenarioInputData::removePairForPathStat ( uint  ,
uint   
)

◆ removePairListStatistics()

void GKScenarioInputData::removePairListStatistics ( const GKPairStat aPair)

Removes a centroid pair from the list of centroid pairs from where statistics will be collected.

◆ removeSectListStatistics()

void GKScenarioInputData::removeSectListStatistics ( GKSection )

Removes a section from the list of sections from where statistics will be collected.

◆ removeSubPath()

void GKScenarioInputData::removeSubPath ( GKSubPath subpath)

Removes the specified subpath from the input data.

◆ removeTrajectoryListStatistics()

void GKScenarioInputData::removeTrajectoryListStatistics ( const GKTrajectoryCondition value)

Removes a trajectorypair from the list of trajectories from where statistics will be collected.

◆ setAnimationFile()

void GKScenarioInputData::setAnimationFile ( const QString &  afileName)

◆ setAnimationPolygon()

void GKScenarioInputData::setAnimationPolygon ( GKPolygon pol)

◆ setAnimationRotation()

void GKScenarioInputData::setAnimationRotation ( double  value)

◆ setAnimationXRotationCenter()

void GKScenarioInputData::setAnimationXRotationCenter ( double  value)

◆ setAnimationXTranslation()

void GKScenarioInputData::setAnimationXTranslation ( double  value)

◆ setAnimationYRotationCenter()

void GKScenarioInputData::setAnimationYRotationCenter ( double  value)

◆ setAnimationYTranslation()

void GKScenarioInputData::setAnimationYTranslation ( double  value)

◆ setControlMeteringStatistics()

void GKScenarioInputData::setControlMeteringStatistics ( bool  save)

Sets whether control statistics for meterings are being saved or not.

◆ setControlPhaseEventStatistics()

void GKScenarioInputData::setControlPhaseEventStatistics ( bool  save)

Sets whether control statistics for phase events are being saved or not. Useful mainly for actuated control plans.

◆ setControlPhaseStatistics()

void GKScenarioInputData::setControlPhaseStatistics ( bool  save)

Sets whether control statistics for phases are being saved or not

◆ setControlPlanStatistics()

void GKScenarioInputData::setControlPlanStatistics ( bool  value)

sets whether control plan statistics are gathered or not

◆ setControlSignalStatistics()

void GKScenarioInputData::setControlSignalStatistics ( bool  save)

Sets whether control statistics for signal groups are being saved or not

◆ setControlTurnStatistics()

void GKScenarioInputData::setControlTurnStatistics ( bool  save)

Sets whether control statistics for turns are being saved or not

◆ setCycleDetection()

void GKScenarioInputData::setCycleDetection ( float  value)

The detection cycle in seconds

◆ setCycleDetectionAsSimulationStep()

void GKScenarioInputData::setCycleDetectionAsSimulationStep ( bool  value)

Use the simulation step as the detection cycle? The default is yes.

◆ setDebugControllers()

void GKScenarioInputData::setDebugControllers ( bool  save)

Sets whether to create debug files for controllers or not.

◆ setDestinationStatistics()

void GKScenarioInputData::setDestinationStatistics ( ODStatType  )

◆ setDetailedTrajectoriesStatistics()

void GKScenarioInputData::setDetailedTrajectoriesStatistics ( bool  save)

◆ setDetectionInterval()

void GKScenarioInputData::setDetectionInterval ( const GKTimeDuration atime)

Sets the time interval to be used for gathering detection data.

◆ setEnergyConsumption()

void GKScenarioInputData::setEnergyConsumption ( bool  value)

Sets whether statistics about fuel consumption will be calculated or not

◆ setGenerateSCATSSignalGroupFiles()

void GKScenarioInputData::setGenerateSCATSSignalGroupFiles ( bool  save)

Sets whether to create log files for SCATS controllers or not.

◆ setGlobalTrajectoriesStatistics()

void GKScenarioInputData::setGlobalTrajectoriesStatistics ( bool  save)

◆ setGroupStatistics()

void GKScenarioInputData::setGroupStatistics ( bool  value)

Sets whether grouping statistics are gathered or not

◆ setHcmStatistics()

void GKScenarioInputData::setHcmStatistics ( bool  value)

◆ setIndividualPTStats()

void GKScenarioInputData::setIndividualPTStats ( bool  value)

◆ setInputPathAssignmentPlan()

void GKScenarioInputData::setInputPathAssignmentPlan ( GKPathAssignmentPlan )

Sets the path assignment plan object used as input

◆ setInstantEmission()

void GKScenarioInputData::setInstantEmission ( bool  value)

Sets whether Instant Emission pollutants will be calculated or not

◆ setKeepHistoryDet()

void GKScenarioInputData::setKeepHistoryDet ( bool  value)

Sets whether the detection data will be kept in memory or not

◆ setKeepHistoryStat()

void GKScenarioInputData::setKeepHistoryStat ( bool  value)

Sets whether the statistics will be kept in memory or not

◆ setKeepLinkCostsInMemory()

void GKScenarioInputData::setKeepLinkCostsInMemory ( bool  keep)

sets the keep in memory flag of the link costs

◆ setKeepPathsInMemory()

void GKScenarioInputData::setKeepPathsInMemory ( bool  keep)

Sets whether path assignment is going to be kept in memory or not

◆ setLemStatistics()

void GKScenarioInputData::setLemStatistics ( bool  value)

Sets whether Tate Emission pollutants model will be calculated or not. Keep in mind that is mandatory "activate" sections check box

◆ setMatrixStatistics()

void GKScenarioInputData::setMatrixStatistics ( bool  value)

Once the Statistics have been activated, this function returns whether the OD matrices statistics calculation is activated or not.

◆ setOriginStatistics()

void GKScenarioInputData::setOriginStatistics ( ODStatType  )

◆ setPairsStatistics()

void GKScenarioInputData::setPairsStatistics ( ODStatType  )

◆ setParametersForExtension()

void GKScenarioInputData::setParametersForExtension ( const QString &  name,
const QString &  params 
)

If 'name' is found in the Enhanced Aimsun Next Extensions, is modifies its parameters with 'params'. Else, it creates the extension with (name, params, false).

◆ setParametersForExtensionAt()

void GKScenarioInputData::setParametersForExtensionAt ( int  index,
const QString &  params 
)

It modifies the parameters in the Enhanced Aimsun Next Extensions at 'index'. PRE: 0 <= index < numberOfAimsunExtensions

◆ setPedestrianCrossingStatistics()

void GKScenarioInputData::setPedestrianCrossingStatistics ( bool  value)

Sets whether pedestrian crossing statistics are gathered or not

◆ setPollutionEmission()

void GKScenarioInputData::setPollutionEmission ( bool  value)

Sets whether statistics for pollutants will be calculated or not

◆ setPrefixForSCATSSignalGroupFiles()

void GKScenarioInputData::setPrefixForSCATSSignalGroupFiles ( const QString &  prefix)

Sets the prefix (that is, complete path + file prefix) to use when creating the log files for SCATS Controllers. The ID of the controller and the txt extension will be automatically added to the prefix when creating the file to write the info in.

◆ setPTStatistics()

void GKScenarioInputData::setPTStatistics ( bool  value)

Once the Statistics have been activated, this function sets whether the transit statistics calculation will be activated or not.

◆ setPTStopStatistics()

void GKScenarioInputData::setPTStopStatistics ( bool  value)

Sets whether pedestrian service point statistics are gathered or not

◆ setSaveAnimation()

void GKScenarioInputData::setSaveAnimation ( bool  value)

◆ setSaveLinkCosts()

void GKScenarioInputData::setSaveLinkCosts ( bool  )

◆ setSectionLanesStatistics()

void GKScenarioInputData::setSectionLanesStatistics ( bool  value)

Once the Statistics have been activated, this function returns whether the section lanes statistics calculation is activated or not.

◆ setSectionsStatistics()

void GKScenarioInputData::setSectionsStatistics ( bool  value)

Once the Statistics have been activated, this function returns whether the section statistics calculation is activated or not.

◆ setSectionTrajectoriesStatistics()

void GKScenarioInputData::setSectionTrajectoriesStatistics ( bool  save)

◆ setServicePointStatistics()

void GKScenarioInputData::setServicePointStatistics ( bool  value)

Sets whether pedestrian service point statistics are gathered or not

◆ setStatisticalInterval()

void GKScenarioInputData::setStatisticalInterval ( const GKTimeDuration atime)

Sets the time interval to be used for gathering statistics.

◆ setStoreAllPairsPathStat()

void GKScenarioInputData::setStoreAllPairsPathStat ( bool  )

◆ setSubPathsStatistics()

void GKScenarioInputData::setSubPathsStatistics ( bool  value)

Once the Statistics have been activated, this function sets whether the stream statistics calculation is activated or not.

◆ setTrafficManagementStatistics()

void GKScenarioInputData::setTrafficManagementStatistics ( bool  value)

sets whether traffic management statistics are gathered or not

◆ setTrajectoriesStatistics()

void GKScenarioInputData::setTrajectoriesStatistics ( bool  value)

◆ setTransytStatistics()

void GKScenarioInputData::setTransytStatistics ( bool  )

◆ setTurnsStatistics()

void GKScenarioInputData::setTurnsStatistics ( bool  value)

Once the Statistics have been activated, this function sets whether the nodes and turns statistics calculation will be activated or not.

◆ storeDetectionEnabled()

bool GKScenarioInputData::storeDetectionEnabled ( ) const

Returns whether the detection data is defined to be stored in the database or not

◆ storeEnabled()

bool GKScenarioInputData::storeEnabled ( ) const

Returns true if simulation data will be store in the database (getActivateStatistics, getActivateDetection, getActivatePathStat, storeStatisticsEnabled, storeDetectionEnabled, storePathStatEnabled)

◆ storeStatisticsEnabled()

bool GKScenarioInputData::storeStatisticsEnabled ( ) const

Returns whether the statistics are defined to be stored in the database or not

© Aimsun SLU
Aimsun ®