Aimsun Next Scripting
22
|
Public Member Functions | |
GKExperiment () | |
void | addReplication (GKReplication *) |
void | removeReplication (GKReplication *) |
const GKFolder * | getReplications () const |
uint | getNbThreadsSim () const |
void | setNbThreadsSim (uint aths) |
uint | getNbMicroSimThreads () const |
void | setNbMicroSimThreads (uint aThreads) |
uint | getNbMesoSimThreads () const |
void | setNbMesoSimThreads (uint aThreads) |
uint | getNbThreadsPaths () const |
void | setNbThreadsPaths (uint aths) |
uint | getNbReplications () const |
uint | getNbResults () const |
void | setInitialStateType (GKInitialStateType atype) |
GKInitialStateType | getInitialStateType () const |
void | setWarmupTime (const GKTimeDuration &) |
GKTimeDuration | getWarmupTime () const |
GKDynamicTrafficSnapshot * | getTrafficSnapshot () const |
void | setTrafficSnapshot (GKDynamicTrafficSnapshot *snap) |
const GKArrivalType | getArrivalType () const |
void | setArrivalType (GKArrivalType) |
const GKArrivalType | getArrivalType (GKObject *) const |
void | setArrivalType (GKObject *, GKArrivalType) |
const QMap< GKObject *, GKExperiment::GKArrivalType > & | getArrivalsType () const |
void | clearArrivalsType () |
void | clearVariableReactionTimes () |
const QMap< const GKVehicle *, QVector< GKVehicleReactionTimes > > | getVariableReactionTimesMicro () const |
void | setVariableReactionTimesMicro (const GKVehicle *, const QVector< GKVehicleReactionTimes > &) |
const QMap< const GKVehicle *, QVector< GKVehicleReactionTimes > > | getVariableReactionTimesMeso () const |
void | setVariableReactionTimesMeso (const GKVehicle *, const QVector< GKVehicleReactionTimes > &) |
SimulatorEngine | getSimulatorEngine () const |
void | setSimulatorEngine (SimulatorEngine se) |
EngineMode | getEngineMode () const |
void | setEngineMode (EngineMode em) |
QString | getNameAutomatically () const |
float | getPathAssignmentResultsPercentage (GKMobileAgent *vehicle) const |
void | setPathAssignmentResultsPercentage (GKMobileAgent *vehicle, float percentage) |
float | getODRoutesPercentage (GKMobileAgent *vehicle) const |
void | setODRoutesPercentage (GKMobileAgent *vehicle, float percentage) |
float | getEnRouteForPathAssignmentResultsPercentage (GKMobileAgent *vehicle) const |
void | setEnRouteForPathAssignmentResultsPercentage (GKMobileAgent *vehicle, float percentage) |
float | getEnRouteForODRoutesPercentage (GKMobileAgent *vehicle) const |
void | setEnRouteForODRoutesPercentage (GKMobileAgent *vehicle, float percentage) |
float | getEnRouteForRouteChoicePathsPercentage (GKMobileAgent *vehicle) const |
void | setEnRouteForRouteChoicePathsPercentage (GKMobileAgent *vehicle, float percentage) |
int | getMaxPathAlternativesPerVehicle (GKMobileAgent *vehicle) const |
void | setMaxPathAlternativesPerVehicle (GKMobileAgent *vehicle, int maxPathAlternatives) |
const QVector< GKExperimentODParameters > & | getRouteChoiceODParameters () const |
void | setRouteChoiceODParameters (const QVector< GKExperimentODParameters > ¶ms) |
void | addRouteChoiceODParameter (const GKExperimentODParameters ¶ms) |
void | clearRouteChoiceODParameters () |
PathCalculationAlgorithm | getPathCalculationAlgorithm () const |
void | setPathCalculationAlgorithm (PathCalculationAlgorithm pca) |
QSet< GKGeoObject * > | getHybridMicroObjects () const |
void | setInitialSPTrees (int value) |
int | initialSPTrees () const |
void | setMaxAssignmentResultsPaths (int value) |
int | maxAssignmentResultsPaths () const |
void | setMaxODRoutesPaths (int value) |
int | maxODRoutesPaths () const |
void | setDisablePathCalculation (DisablePathCalculation value) |
GKExperiment::DisablePathCalculation | disablePathCalculation () const |
void | setBlockedODPairsMatrix (GKODMatrix *matrix) |
GKODMatrix * | blockedODPairsMatrix () const |
void | addSimulationArea (GKSimulationArea *area) |
void | removeSimulationArea (GKSimulationArea *area) |
void | clearSimulationAreas () |
const QVector< GKSimulationArea * > & | getSimulationAreas () const |
bool | usesSimulationArea (const GKSimulationArea *area) const |
uint | getHybridMicroFlags () const |
void | setHybridMicroFlags (uint microFlags) |
bool | isPolicyActive (const GKPolicy *policy) const |
bool | useProfiledRC () const |
void | setUseProfiledRC (bool value) |
QVector< int > | intervalsRC () const |
void | setIntervalsRC (const QVector< int > &intervals) |
void | setAppliedTWOPAS (bool aAppliedTWOPAS) |
bool | appliedTWOPAS () const |
void | setAppliedMFC (bool aAppliedMFC) |
bool | appliedMFC () const |
![]() | |
GKGenericExperiment () | |
virtual GKGenericExperimentStatus | getExecutionStatus () const |
void | setValueForVariable (const QString &variable, const QString &value) |
bool | removeVariable (const QString &variable) |
const QString & | getValueForVariable (const QString &variable) const |
const QMap< QString, QString > & | getVariables () const |
void | setVariables (const QMap< QString, QString > &newList) |
void | setScenario (GKGenericScenario *anScenario) |
GKGenericScenario * | getScenario () const |
void | setForest (BaseForest *_forest, bool _delete=true) |
const BaseForest * | getForest () const |
void | addNetworkAttributesOverride (GKNetworkAttributesOverride *ovrd, int pos=-1) |
void | removeNetworkAttributesOverride (GKNetworkAttributesOverride *ovrd) |
void | clearNetworkAttributesOverrides () |
const QVector< GKNetworkAttributesOverride * > & | getNetworkAttributesOverrides () const |
int | usesNetworkAttributesOverride (const GKNetworkAttributesOverride *ovrd) const |
void | setPreExecutionScript (GKScript *script) |
void | setPostExecutionScript (GKScript *script) |
GKScript * | getPreExecutionScript () const |
GKScript * | getPostExecutionScript () const |
QString | getOutputFile (const QString &iType) const |
void | addPolicy (GKPolicy *) |
void | removePolicy (GKPolicy *) |
void | removePolicies () |
const QVector< GKPolicy * > & | getPolicies () const |
bool | usesPolicy (GKPolicy *) const |
bool | canPolicyBeUsed (GKPolicy *) const |
const QDateTime & | getInitExecutionTime () const |
const QDateTime & | getEndExecutionTime () const |
![]() | |
GKObject () | |
GKObject (const GKObject &o) | |
virtual void | addedToCatalog () |
virtual void | removedFromCatalog () |
uint | getTick () const |
virtual void | increaseTick () |
void | setTick (uint t) |
virtual GKObject * | clone (bool addItToModel=true) const |
virtual GKObject * | cloneAsTemporary (bool addItToModel=true) const |
GKFolder * | getCreateRootFolder () |
GKFolder * | getRootFolder () const |
void | setRootFolder (GKFolder *afolder) |
GKFolder * | findFolder (const QString &byName) const |
QVector< GKFolder * > | getParentFolders () const |
bool | isDataValueNull (const GKColumn *attr) const |
virtual QVariant * | getDataValue (const GKColumn *attr, bool *deleteit, const GKContext &context=GKContext::anyContext) const |
QVariant * | getDataValueByID (uint attrId, bool *deleteit, const GKContext &context=GKContext::anyContext) const |
virtual void | setDataValue (const GKColumn *attr, const QVariant &v) |
void | setDataValueByID (uint attrId, const QVariant &v) |
virtual void | setDataValueObject (const GKColumn *attr, const GKObject *obj) |
void | setDataValueObjectByID (uint attrId, const GKObject *obj) |
virtual void | setDataValueDouble (const GKColumn *attr, double v) |
void | setDataValueDoubleByID (uint attrId, double v) |
virtual double | getDataValueInTS (const GKColumn *attr, GKTimeSerieIndex index, double *deviation=NULL) const |
double | getDataValueInTSByID (uint attrId, GKTimeSerieIndex index, double *deviation=NULL) const |
bool | hasAnyTSWithData () const |
virtual GKTimeSerie * | getDataValueTS (const GKColumn *attr) const |
GKTimeSerie * | getDataValueTSByID (uint attrId) const |
virtual void | setDataValueInTS (const GKColumn *attr, GKTimeSerieIndex index, double value, double deviation, GKTSDescription *aDescription=NULL, int reservedSize=0) |
virtual void | setDataValueInTS (const GKColumn *attr, GKTimeSerieIndex index, double value, double deviation, double lowerValue, GKTSDescription *aDescription=NULL, int reservedSize=0) |
virtual void | setDataValueInSingleTS (const GKColumn *attr, GKTimeSerieIndex index, double value, double deviation, GKTSDescription *aDescription) |
void | setDataValueInTSByID (uint attrId, GKTimeSerieIndex index, double value, double deviation, GKTSDescription *aDescription=NULL, int reservedSize=0) |
virtual void | setAggregatedValueInTS (const GKColumn *attr, double value, double deviation, GKTSDescription *aDescription=NULL) |
void | setAggregatedValueInTSByID (uint attrId, double value, double deviation, GKTSDescription *aDescription=NULL) |
virtual void | clearDataValueTS (const GKColumn *attr, GKTSDescription *aDescription=NULL) |
void | clearDataValueTSByID (uint attrId, GKTSDescription *aDescription=NULL) |
virtual int | getDataValueInt (const GKColumn *attr, const GKContext &context=GKContext::anyContext) const |
int | getDataValueIntByID (uint attrId, const GKContext &context=GKContext::anyContext) const |
virtual double | getDataValueDouble (const GKColumn *attr, const GKContext &context=GKContext::anyContext) const |
double | getDataValueDoubleByID (uint attrId, const GKContext &context=GKContext::anyContext) const |
QString | getDataValueString (const GKColumn *attr, const GKContext &context=GKContext::anyContext) const |
QString | getDataValueStringByID (uint attrId, const GKContext &context=GKContext::anyContext) const |
virtual bool | getDataValueBool (const GKColumn *attr, const GKContext &context=GKContext::anyContext) const |
bool | getDataValueBoolByID (uint attrId, const GKContext &context=GKContext::anyContext) const |
virtual GKObject * | getDataValueObject (const GKColumn *attr, const GKContext &context=GKContext::anyContext) const |
GKObject * | getDataValueObjectByID (uint attrId, const GKContext &context=GKContext::anyContext) const |
QDate | getDataValueDate (const GKColumn *attr, const GKContext &context=GKContext::anyContext) const |
QDate | getDataValueDateByID (uint attrId, const GKContext &context=GKContext::anyContext) const |
QTime | getDataValueTime (const GKColumn *attr, const GKContext &context=GKContext::anyContext) const |
QTime | getDataValueTimeByID (uint attrId, const GKContext &context=GKContext::anyContext) const |
QDateTime | getDataValueDateTime (const GKColumn *attr, const GKContext &context=GKContext::anyContext) const |
QDateTime | getDataValueDateTimeByID (uint attrId, const GKContext &context=GKContext::anyContext) const |
GKTimeDuration | getDataValueTimeDuration (const GKColumn *attr, const GKContext &context=GKContext::anyContext) const |
GKTimeDuration | getDataValueTimeDurationByID (uint attrId, const GKContext &context=GKContext::anyContext) const |
void | removeDataValue (const GKColumn *attr) |
void | removeDataValueByID (uint attrId) |
const QString & | getDescription () const |
void | setDescription (const QString &adescription) |
const QString & | getExternalId () const |
void | setExternalId (const QString &anId) |
virtual GKObjectDelCmd * | getDelCmd () |
virtual GKObjectConnectionDelCmd * | getDelConnectionCmd (GKObject *target) |
virtual void | nonCommandObjectRemoved (GKObject *) |
virtual void | init () |
virtual void | setId (uint aid, GKModel *model) |
uint | getId () const |
QUuid | getUUID () const |
virtual void | setName (const QString &aname) |
const QString & | getName () const |
QString | getExtendedId (IdentifierForm form=eIdentifierDefault) const |
QString | getNameOrExtendedId (IdentifierForm form=eIdentifierDefault) const |
virtual const QString & | getTypeName () const |
virtual QString | getTypeExternalName () const |
const GKObject * | getMaster () const |
GKType * | getType () const |
virtual void | setType (GKType *atype) |
bool | isA (const GKType *atype) const |
bool | isA (const QString &typeName) const |
virtual void | setModel (GKModel *amodel) |
GKModel * | getModel () const |
virtual void | setLock (GKLockType atype) |
GKLockType | getLock () const |
virtual bool | canBeDeleted () const |
virtual bool | canBeModified () const |
virtual bool | canBeEdited () const |
GKObjectStatus | getStatus () const |
virtual void | setStatus (const GKObjectStatus astatus) |
void | notifyStatusChange () |
bool | isTemporary () const |
void | setTemporary (bool value) |
bool | isExternal () const |
void | setExternal (bool value) |
virtual void | preferencesChanged () |
void | removeColumn (GKColumn *column) |
void | resetColumn (GKColumn *column) |
![]() | |
GKBaseObject () | |
if (base) | |
virtual uint | getId () const =0 |
virtual const QString & | getTypeName () const =0 |
virtual QString | getTypeExternalName () const =0 |
virtual const GKObject * | getMaster () const =0 |
virtual const QString & | getName () const =0 |
virtual const QString & | getExternalId () const =0 |
virtual const QString & | getDescription () const =0 |
virtual GKModel * | getModel () const =0 |
virtual QVariant * | getDataValue (const GKColumn *attr, bool *deleteit, const GKContext &context=GKContext::anyContext) const =0 |
virtual QVariant * | getDataValueByID (uint attrId, bool *deleteit, const GKContext &context=GKContext::anyContext) const =0 |
virtual double | getDataValueInTS (const GKColumn *attr, GKTimeSerieIndex index, double *deviation=NULL) const =0 |
virtual double | getDataValueInTSByID (uint attrId, GKTimeSerieIndex index, double *deviation=NULL) const =0 |
virtual GKTimeSerie * | getDataValueTS (const GKColumn *attr) const =0 |
virtual GKTimeSerie * | getDataValueTSByID (uint attrId) const =0 |
virtual int | getDataValueInt (const GKColumn *attr, const GKContext &context=GKContext::anyContext) const =0 |
virtual int | getDataValueIntByID (uint attrId, const GKContext &context=GKContext::anyContext) const =0 |
virtual double | getDataValueDouble (const GKColumn *attr, const GKContext &context=GKContext::anyContext) const =0 |
virtual double | getDataValueDoubleByID (uint attrId, const GKContext &context=GKContext::anyContext) const =0 |
virtual QString | getDataValueString (const GKColumn *attr, const GKContext &context=GKContext::anyContext) const =0 |
virtual QString | getDataValueStringByID (uint attrId, const GKContext &context=GKContext::anyContext) const =0 |
virtual bool | getDataValueBool (const GKColumn *attr, const GKContext &context=GKContext::anyContext) const =0 |
virtual bool | getDataValueBoolByID (uint attrId, const GKContext &context=GKContext::anyContext) const =0 |
virtual GKObject * | getDataValueObject (const GKColumn *attr, const GKContext &context=GKContext::anyContext) const =0 |
virtual GKObject * | getDataValueObjectByID (uint attrId, const GKContext &context=GKContext::anyContext) const =0 |
virtual QDate | getDataValueDate (const GKColumn *attr, const GKContext &context=GKContext::anyContext) const =0 |
virtual QDate | getDataValueDateByID (uint attrId, const GKContext &context=GKContext::anyContext) const =0 |
virtual QTime | getDataValueTime (const GKColumn *attr, const GKContext &context=GKContext::anyContext) const =0 |
virtual QTime | getDataValueTimeByID (uint attrId, const GKContext &context=GKContext::anyContext) const =0 |
virtual QDateTime | getDataValueDateTime (const GKColumn *attr, const GKContext &context=GKContext::anyContext) const =0 |
virtual QDateTime | getDataValueDateTimeByID (uint attrId, const GKContext &context=GKContext::anyContext) const =0 |
virtual GKTimeDuration | getDataValueTimeDuration (const GKColumn *attr, const GKContext &context=GKContext::anyContext) const =0 |
virtual GKTimeDuration | getDataValueTimeDurationByID (uint attrId, const GKContext &context=GKContext::anyContext) const =0 |
Additional Inherited Members | |
![]() | |
ConvertToSubClassCode Py_BEGIN_ALLOW_THREADS GKBaseObject * | base = (GKBaseObject*)sipCpp |
sipType = 0 | |
This object holds all needed parameters to run a Dynamic simulation.
A dynamic experiment can be defined either as a SRC (stochastic route choice) or a DUE (dynamic user-equilibrium). If it is defined as a SRC then it has a collection of replications (GKReplication) an one or more averages (GKExperimentResult). If it is defined as a DUE then it has a collection of experiment results (GKExperimentResult). In both cases this experiment belongs to a only scenario (GKScenario).
typedef int GKExperiment::SimulatorEngine |
Network loading type:
Disable Path Calculation type:
Enumerator | |
---|---|
eNo | |
eForAllODPairs | |
eForTheBlockedODPairsInMatrix |
Types of arrivals. Refer to the Aimsun Next Micro manual section for more information on the different types. The eNone special value is returned by GKExperiment::getArrivalType when the origin object (centroid or section) has no value.
Enumerator | |
---|---|
eExponential | |
eUniform | |
eNormal | |
eConstant | |
eExternal | |
eASAP | |
eNone |
The initial state generated either by a wram-up or a save traffic state (GKDynamicTrafficSnapshot)
Enumerator | |
---|---|
eWarmup | |
eSavedState |
Flag values describing the additional objects (other than those obtained from simulation areas) to be micro-simulated in a hybrid experiment
GKExperiment::GKExperiment | ( | ) |
void GKExperiment::addReplication | ( | GKReplication * | ) |
Add a new replication to this experiment.
void GKExperiment::addRouteChoiceODParameter | ( | const GKExperimentODParameters & | params | ) |
Adds an OD route choice parameter.
void GKExperiment::addSimulationArea | ( | GKSimulationArea * | area | ) |
Adds a simulation area to this experiment.
bool GKExperiment::appliedMFC | ( | ) | const |
Returns true if the MFC acceleration model is activated.
bool GKExperiment::appliedTWOPAS | ( | ) | const |
Returns true if the TWOPAS acceleration model is activated.
GKODMatrix * GKExperiment::blockedODPairsMatrix | ( | ) | const |
Returns the blocked ODPairs matrix
void GKExperiment::clearArrivalsType | ( | ) |
Removes all the arrivals for the origin centroids.
void GKExperiment::clearRouteChoiceODParameters | ( | ) |
Removes all OD route choice parameters.
void GKExperiment::clearSimulationAreas | ( | ) |
Removes all simulation areas from this experiment.
void GKExperiment::clearVariableReactionTimes | ( | ) |
Discard the variable reaction times info.
GKExperiment::DisablePathCalculation GKExperiment::disablePathCalculation | ( | ) | const |
Returns which ODPairs won't be considered during the path calculation
const QMap< GKObject *, GKExperiment::GKArrivalType > & GKExperiment::getArrivalsType | ( | ) | const |
Returns all the arrivals for the origin centroids.
const GKArrivalType GKExperiment::getArrivalType | ( | ) | const |
Sets the arrival type.
const GKArrivalType GKExperiment::getArrivalType | ( | GKObject * | ) | const |
Returns the arrival type for an origin centroid. If no arrival has been set then the eNone arrival type will be returned.
EngineMode GKExperiment::getEngineMode | ( | ) | const |
Gets the dynamic traffic assignment's type.
float GKExperiment::getEnRouteForODRoutesPercentage | ( | GKMobileAgent * | vehicle | ) | const |
Gets the number of vehicles that are following an OD-Route and can change its paths during the simulaton. This percentage is taken into account only when the experiment is "Dynamic".
float GKExperiment::getEnRouteForPathAssignmentResultsPercentage | ( | GKMobileAgent * | vehicle | ) | const |
Gets the number of vehicles that are following a path from the Path Assignment results and can change its paths during the simulaton. This percentage is taken into account only when the experiment is "Dynamic".
float GKExperiment::getEnRouteForRouteChoicePathsPercentage | ( | GKMobileAgent * | vehicle | ) | const |
Gets the number of vehicles that are following route choice paths (paths calculated using the Route Choice model) and can change its paths during the simulaton. This percentage is taken into account only when the experiment is "Dynamic".
uint GKExperiment::getHybridMicroFlags | ( | ) | const |
Sets the flags value describing the additional objects to be micro-simulated in a hybrid experiment.
QSet< GKGeoObject * > GKExperiment::getHybridMicroObjects | ( | ) | const |
Returns the set of objects to be micro-simulated in a hybrid experiment, according to the simulation area and flags configured into the experiment.
GKInitialStateType GKExperiment::getInitialStateType | ( | ) | const |
The initial state generated either by a wram-up or a save traffic state (GKDynamicTrafficSnapshot)
int GKExperiment::getMaxPathAlternativesPerVehicle | ( | GKMobileAgent * | vehicle | ) | const |
Gets the maximum number of path alternatives the route choice will calculate for the specified vehicle.
QString GKExperiment::getNameAutomatically | ( | ) | const |
Generates the name of this object automatically based on its simulator engine and engine mode.
uint GKExperiment::getNbMesoSimThreads | ( | ) | const |
Gets the number of threads used to simulate this Meso replication. Requires an Aimsun Next Advanced License.
uint GKExperiment::getNbMicroSimThreads | ( | ) | const |
Gets the number of threads used to simulate this Micro replication. Requires an Aimsun Next Advanced License.
uint GKExperiment::getNbReplications | ( | ) | const |
Returns the number of replications on this experiment.
uint GKExperiment::getNbResults | ( | ) | const |
Returns the number of results on this experiment.
uint GKExperiment::getNbThreadsPaths | ( | ) | const |
Gets the number of threads used in the Route Choice. Requires an Aimsun Next Advanced Licence.
uint GKExperiment::getNbThreadsSim | ( | ) | const |
This function is Obsolete, please use: uint getNbMicroSimThreads().
float GKExperiment::getODRoutesPercentage | ( | GKMobileAgent * | vehicle | ) | const |
Gets the OD-Routes's percentage. This is the percentage that will be used to assign paths to vehicle vehicle.
float GKExperiment::getPathAssignmentResultsPercentage | ( | GKMobileAgent * | vehicle | ) | const |
Gets the path assignment result's percentage. This is the percentage that will be used to assign paths to vehicle vehicle.
PathCalculationAlgorithm GKExperiment::getPathCalculationAlgorithm | ( | ) | const |
Gets the assigned Path Calculation Algorithm.
const GKFolder * GKExperiment::getReplications | ( | ) | const |
Returns all the replications of this experiment.
const QVector< GKExperimentODParameters > & GKExperiment::getRouteChoiceODParameters | ( | ) | const |
Returns the route choice parameters for an Origin and Destination.
const QVector< GKSimulationArea * > & GKExperiment::getSimulationAreas | ( | ) | const |
Returns the simulation areas in this experiment.
SimulatorEngine GKExperiment::getSimulatorEngine | ( | ) | const |
Gets the type of network loading or simulator engine.
GKDynamicTrafficSnapshot * GKExperiment::getTrafficSnapshot | ( | ) | const |
A traffic snapshot to use as the initial point of a simulation.
const QMap< const GKVehicle *, QVector< GKVehicleReactionTimes > > GKExperiment::getVariableReactionTimesMeso | ( | ) | const |
Gets all the variable reaction times for the meso model.
const QMap< const GKVehicle *, QVector< GKVehicleReactionTimes > > GKExperiment::getVariableReactionTimesMicro | ( | ) | const |
Gets all the variable reaction times for the micro model.
GKTimeDuration GKExperiment::getWarmupTime | ( | ) | const |
Gets the simulation warm-up period.
int GKExperiment::initialSPTrees | ( | ) | const |
QVector< int > GKExperiment::intervalsRC | ( | ) | const |
bool GKExperiment::isPolicyActive | ( | const GKPolicy * | policy | ) | const |
Returns true if the given policy is active in this experiment or is active in the scenario of this exepriment (as traffic condition).
int GKExperiment::maxAssignmentResultsPaths | ( | ) | const |
int GKExperiment::maxODRoutesPaths | ( | ) | const |
void GKExperiment::removeReplication | ( | GKReplication * | ) |
Removes a replication from this experiment. The replication is not deleted.
void GKExperiment::removeSimulationArea | ( | GKSimulationArea * | area | ) |
Removes a simulation area from this experiment.
void GKExperiment::setAppliedMFC | ( | bool | aAppliedMFC | ) |
Sets if the MFC acceleration model is activated.
void GKExperiment::setAppliedTWOPAS | ( | bool | aAppliedTWOPAS | ) |
Sets if the TWOPAS acceleration model is activated.
void GKExperiment::setArrivalType | ( | GKArrivalType | ) |
Gets the arrival type.
void GKExperiment::setArrivalType | ( | GKObject * | , |
GKArrivalType | |||
) |
Sets the arrival type for an origin centroid.
void GKExperiment::setBlockedODPairsMatrix | ( | GKODMatrix * | matrix | ) |
Sets the blocked ODPairs matrix that will be used if "eForTheBlockedODPairsInMatrix" is selected
void GKExperiment::setDisablePathCalculation | ( | DisablePathCalculation | value | ) |
Set which ODPairs won't be considered during the path calculation
void GKExperiment::setEngineMode | ( | EngineMode | em | ) |
Sets the dynamic traffic assignment's type.
void GKExperiment::setEnRouteForODRoutesPercentage | ( | GKMobileAgent * | vehicle, |
float | percentage | ||
) |
Sets the number of vehicles that are following an OD-Route and can change its paths during the simulaton. This percentage is taken into account only when the experiment is "Dynamic".
void GKExperiment::setEnRouteForPathAssignmentResultsPercentage | ( | GKMobileAgent * | vehicle, |
float | percentage | ||
) |
Sets the number of vehicles that are following a path from the Path Assignment results and can change its paths during the simulaton. This percentage is taken into account only when the experiment is "Dynamic".
void GKExperiment::setEnRouteForRouteChoicePathsPercentage | ( | GKMobileAgent * | vehicle, |
float | percentage | ||
) |
Sets the number of vehicles that are following route choice paths (paths calculated using the Route Choice model) and can change its paths during the simulaton. This percentage is taken into account only when the experiment is "Dynamic".
void GKExperiment::setHybridMicroFlags | ( | uint | microFlags | ) |
Returns the flags value describing the additional objects to be micro-simulated in a hybrid experiment.
void GKExperiment::setInitialSPTrees | ( | int | value | ) |
void GKExperiment::setInitialStateType | ( | GKInitialStateType | atype | ) |
The initial state generated either by a wram-up or a save traffic state (GKDynamicTrafficSnapshot)
void GKExperiment::setIntervalsRC | ( | const QVector< int > & | intervals | ) |
void GKExperiment::setMaxAssignmentResultsPaths | ( | int | value | ) |
void GKExperiment::setMaxODRoutesPaths | ( | int | value | ) |
void GKExperiment::setMaxPathAlternativesPerVehicle | ( | GKMobileAgent * | vehicle, |
int | maxPathAlternatives | ||
) |
Sets the maximum number of path alternatives the route choice will calculate for the specified vehicle.
void GKExperiment::setNbMesoSimThreads | ( | uint | aThreads | ) |
Sets the number of threads used to simulate this Meso replication. Requires an Aimsun Next Advanced License.
void GKExperiment::setNbMicroSimThreads | ( | uint | aThreads | ) |
Sets the number of threads used to simulate this Micro replication. Requires an Aimsun Next Advanced License.
void GKExperiment::setNbThreadsPaths | ( | uint | aths | ) |
Sets the number of threads used in the Route Choice. Requires an Aimsun Next Advanced Licence.
void GKExperiment::setNbThreadsSim | ( | uint | aths | ) |
This function is Obsolete, please use: void setNbMicroSimThreads( uint aThreads ).
void GKExperiment::setODRoutesPercentage | ( | GKMobileAgent * | vehicle, |
float | percentage | ||
) |
Sets the OD-Routes's percentage. This is the percentage that will be used to assign paths to vehicle vehicle.
void GKExperiment::setPathAssignmentResultsPercentage | ( | GKMobileAgent * | vehicle, |
float | percentage | ||
) |
Sets the path assignment result's percentage. This is the percentage that will be used to assign paths to vehicle vehicle.
void GKExperiment::setPathCalculationAlgorithm | ( | PathCalculationAlgorithm | pca | ) |
Sets the assigned Path Calculation Algorithm.
void GKExperiment::setRouteChoiceODParameters | ( | const QVector< GKExperimentODParameters > & | params | ) |
Sets the Origin/Destination route choice models.
void GKExperiment::setSimulatorEngine | ( | SimulatorEngine | se | ) |
Sets the type of network loading or simulator engine.
void GKExperiment::setTrafficSnapshot | ( | GKDynamicTrafficSnapshot * | snap | ) |
A traffic snapshot to use as the initial point of a simulation.
void GKExperiment::setUseProfiledRC | ( | bool | value | ) |
void GKExperiment::setVariableReactionTimesMeso | ( | const GKVehicle * | , |
const QVector< GKVehicleReactionTimes > & | |||
) |
Sets the variable reaction times by vehicle type for the meso model.
void GKExperiment::setVariableReactionTimesMicro | ( | const GKVehicle * | , |
const QVector< GKVehicleReactionTimes > & | |||
) |
Sets the variable reaction times by vehicle type for the micro model.
void GKExperiment::setWarmupTime | ( | const GKTimeDuration & | ) |
Sets the simulation warm-up period.
bool GKExperiment::useProfiledRC | ( | ) | const |
bool GKExperiment::usesSimulationArea | ( | const GKSimulationArea * | area | ) | const |
Returns true is the simulation area is used in the experiment.
|
static |
Aimsun Next Micro SDK: Use External Model
|
static |
Route Choice: Alpha Factor
|
static |
Apply the Micro Free-Flow acceleration MFC model or not.
|
static |
Apply a Two-Lane Car-Following?
|
static |
Apply the Twopas model or not.
|
static |
Route Choice: Beta Factor
|
static |
Route Choice: Capacity weight
|
static |
Consider minimum headway in Car-Following or not
|
static |
Car-Following version:
|
static |
Route Choice: cycle time in seconds
|
static |
Route Choice: Dynamic?
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Hybrid macro-meso travel time First and last type.
|
static |
Route Choice: Gamma Factor
|
static |
Route Choice: Initial K-SPs
|
static |
Route Choice: Number of Intervals
|
static |
Hybrid macro-meso Cost Function unit conversion factor.
|
static |
Route Choice: Maximum Number of Paths from Path assignment result
|
static |
Maximum distance when using Two-Lane Car-Following
|
static |
Route Choice: Maximum Number of Routes
|
static |
Maximum speed difference when using Two-Lane Car-Following
|
static |
Maximum speed difference on-ramp when using Two-Lane Car-Following
|
static |
Number of threads in Meso Simulation.
|
static |
Number of threads in Micro Simulation.
|
static |
Number of threads in Route Choice.
|
static |
Number of Vehicles to consider when using Two-Lane Car-Following
|
static |
Route Choice: Link Costs Replication
|
static |
Path Calculation: Algorithm Choice.
|
static |
DUE: use instantaneous, experienced or time-dependent costs
|
static |
Route Choice: Probability
|
static |
Queue Exit Speed
|
static |
Queue Entry Speed
|
static |
Reaction Time at Stop
|
static |
Reaction Time at Traffic Light, applied to the first vehicle stopping at the traffic light, in the micro model.
|
static |
Reaction Time at Traffic Light, applied to the first vehicle stopping at the traffic light, in the meso model.
|
static |
Reaction Time for meso experiments
|
static |
Reaction Time Type (GKReactionTimeType)
|
static |
Hybrid macro-meso travel time Reentering type.
|
static |
Route Choice: Route Choice Type:
|
static |
Route Choice: Scale Factor
|
static |
Simulation Step
|
static |
Hybrid macro-meso travel time.
|
static |
Route Choice: User-Defined Cost Weight
|
static |
Route Choice: User Function
|
static |
Warm-up demand object