|
Aimsun Next Scripting
22
|
Public Member Functions | |
| GKGenerationAttractionScenario () | |
| void | setAverageCarOwnership (double _factor) |
| double | getAverageCarOwnership () const |
| GKTransportationMode * | getCarModeCA () const |
| void | setCarModeCA (GKTransportationMode *iMode) |
| void | setElasticityCarOwnership (double _factor) |
| double | getElasticityCarOwnership () const |
| void | setUseCA (bool _state) |
| bool | usingCA () const |
| void | setInfluenceCO (int iMode) |
| int | getInfluenceCO () |
| void | setAggregateModes (bool iAggregate) |
| bool | aggregatingModes () const |
| void | setDataGroup (GKGenerationAttractionDataSet *dataGroup) |
| GKGenerationAttractionDataSet * | getDataGroup () const |
| void | setTimePeriod (GKTimePeriod *period) |
| GKTimePeriod * | getTimePeriod () const |
| QVector< GKTransportationMode * > | getDisaggregateModes () const |
| void | setDisaggregateModes (const QVector< GKTransportationMode * > &iModes) |
| void | setPurposes (QVector< GKTripPurpose * > purposes) |
| QVector< GKTripPurpose * > | getPurposes () const |
| void | addPurpose (GKTripPurpose *purpose) |
| void | removePurpose (GKTripPurpose *purpose) |
| bool | getStoreOutput () const |
| void | setStoreOutput (bool iValue) |
Public Member Functions inherited from GKGenericScenario | |
| GKGenericScenario () | |
| void | addExperiment (GKGenericExperiment *experiment) |
| void | removeExperiment (GKGenericExperiment *experiment) |
| const GKFolder * | getExperiments () const |
| const GKDataBaseInfo & | getDB (bool returnProjectDB) const |
| void | setDB (const GKDataBaseInfo &db) |
| const QDate & | getDate () const |
| void | setDate (const QDate &aDate) |
| const GKTrafficDemand * | getDemand () const |
| void | setDemand (const GKTrafficDemand *ademand) |
| const GKMasterControlPlan * | getMasterControlPlan () const |
| void | setMasterControlPlan (const GKMasterControlPlan *amasterCP) |
| GKPublicLinePlan * | getPublicLinePlan () const |
| void | setPublicLinePlan (GKPublicLinePlan *aplan) |
| GKRealDataSet * | getRealDataSet () const |
| void | setRealDataSet (GKRealDataSet *dataSet) |
| void | setProblemNet (GKProblemNet *apn) |
| GKProblemNet * | getProblemNet () const |
| void | setValueForVariable (const QString &variable, const QString &value) |
| const QString & | getValueForVariable (const QString &variable) const |
| const QMap< QString, QString > & | getVariables () const |
| void | setVariables (const QMap< QString, QString > &newList) |
| const GKFolder * | getTrafficDemands () const |
| const QVector< const GKGeometryConfiguration * > & | getGeometryConfigurations () const |
| void | setGeometryConfigurations (const QVector< const GKGeometryConfiguration * > &value) |
| bool | usesGeometryConfiguration (const GKGeometryConfiguration *configuration) const |
| void | addGeometryConfiguration (const GKGeometryConfiguration *configuration) |
| void | removeGeometryConfiguration (const GKGeometryConfiguration *configuration) |
| void | addStrategy (GKStrategy *strategy) |
| void | removeStrategy (GKStrategy *strategy) |
| void | addTrafficCondition (GKSimulationEvent *condition) |
| void | removeTrafficCondition (GKSimulationEvent *condition) |
| void | removeAllStrategiesAndConditions () |
| const QList< GKObject * > & | getStrategiesAndConditions () const |
| bool | usesStrategyOrCondition (GKObject *strategyOrCondition) const |
| void | setInputPathAssignmentPlan (GKPathAssignmentPlan *) |
| GKPathAssignmentPlan * | getInputPathAssignmentPlan () const |
| void | setModes (QVector< GKTransportationMode * > modes) |
| QVector< GKTransportationMode * > | getModes () const |
| void | addMode (GKTransportationMode *mode) |
| void | removeMode (GKTransportationMode *mode) |
Public Member Functions inherited from GKObject | |
| 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) |
Public Member Functions inherited from GKBaseObject | |
| 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 | |
Public Types inherited from GKObject | |
| enum | IdentifierFormFlag { eIdentifierDefault , eIdentifierId , eIdentifierName , eIdentifierExternalId , eIdentifierTypeExternalName , eIdentifierDescription , eIdentifierStandard , eIdentifierStandardWithType , eIdentifierAll } |
| enum | GKLockType { eNone , eModification , eDelete , eModificationDelete } |
| enum | GKObjectStatus { eNew , eSaved , eModified , eDeleted } |
| typedef QFlags< GKObject::IdentifierFormFlag > | IdentifierForm |
Public Attributes inherited from GKBaseObject | |
| ConvertToSubClassCode Py_BEGIN_ALLOW_THREADS GKBaseObject * | base = (GKBaseObject*)sipCpp |
| sipType = 0 | |
Static Public Attributes inherited from GKGenericScenario | |
| static uint | dateAtt |
| static uint | weekdayAtt |
| static uint | seasonAtt |
| static uint | weatherAtt |
| static uint | eventAtt |
| static uint | methodologyAtt |
Static Public Attributes inherited from GKObject | |
| static uint | typeNameAtt |
| static uint | typeExternalNameAtt |
| static uint | revisedAtt |
Static Public Attributes inherited from GKBaseObject | |
| Py_END_ALLOW_THREADS static End uint | idAtt |
| static uint | nameAtt |
| static uint | externalIdAtt |
| static uint | descriptionAtt |
Requires a time period, one or more than one trip purpose and, optionally, the transportation modes.
It requires also a data group used to select what variables will be use in the calculation. The group allows the selection of Current or Future data (any data by socio-economical scenario).
| GKGenerationAttractionScenario::GKGenerationAttractionScenario | ( | ) |
| void GKGenerationAttractionScenario::addPurpose | ( | GKTripPurpose * | purpose | ) |
Adds a purpose.
| bool GKGenerationAttractionScenario::aggregatingModes | ( | ) | const |
Returns whether the algorithm should aggregate mode data
| double GKGenerationAttractionScenario::getAverageCarOwnership | ( | ) | const |
The average car ownership factor.
| GKTransportationMode * GKGenerationAttractionScenario::getCarModeCA | ( | ) | const |
Get the mode considered car for the CA/NCA split
| GKGenerationAttractionDataSet * GKGenerationAttractionScenario::getDataGroup | ( | ) | const |
The data group to consider.
| QVector< GKTransportationMode * > GKGenerationAttractionScenario::getDisaggregateModes | ( | ) | const |
get disaggregate modes belonging to aggregate mode
| double GKGenerationAttractionScenario::getElasticityCarOwnership | ( | ) | const |
The elasticity factor.
| int GKGenerationAttractionScenario::getInfluenceCO | ( | ) |
Gets the transportation mode to be influenced by car ownership
| QVector< GKTripPurpose * > GKGenerationAttractionScenario::getPurposes | ( | ) | const |
Purposes to consider.
| bool GKGenerationAttractionScenario::getStoreOutput | ( | ) | const |
Gets whether the Generation Attraction ouputs are set to be stored in the database.
| GKTimePeriod * GKGenerationAttractionScenario::getTimePeriod | ( | ) | const |
The time period to consider.
| void GKGenerationAttractionScenario::removePurpose | ( | GKTripPurpose * | purpose | ) |
Removes a purpose.
| void GKGenerationAttractionScenario::setAggregateModes | ( | bool | iAggregate | ) |
Configures the algorithm to aggregate mode data
| void GKGenerationAttractionScenario::setAverageCarOwnership | ( | double | _factor | ) |
The average car ownership factor.
| void GKGenerationAttractionScenario::setCarModeCA | ( | GKTransportationMode * | iMode | ) |
Set the mode considered car for the CA/NCA split
| void GKGenerationAttractionScenario::setDataGroup | ( | GKGenerationAttractionDataSet * | dataGroup | ) |
The data group to consider.
| void GKGenerationAttractionScenario::setDisaggregateModes | ( | const QVector< GKTransportationMode * > & | iModes | ) |
Set disaggregate modes belonging to aggregate mode
| void GKGenerationAttractionScenario::setElasticityCarOwnership | ( | double | _factor | ) |
The elasticity factor.
| void GKGenerationAttractionScenario::setInfluenceCO | ( | int | iMode | ) |
Sets the transportation mode to be influenced by car ownership
| void GKGenerationAttractionScenario::setPurposes | ( | QVector< GKTripPurpose * > | purposes | ) |
Purposes to consider.
| void GKGenerationAttractionScenario::setStoreOutput | ( | bool | iValue | ) |
Sets the Generation Attraction ouputs to be stored in the database or not.
| void GKGenerationAttractionScenario::setTimePeriod | ( | GKTimePeriod * | period | ) |
The time period to consider.
| void GKGenerationAttractionScenario::setUseCA | ( | bool | _state | ) |
Sets if Car Availability operations must be performed.
| bool GKGenerationAttractionScenario::usingCA | ( | ) | const |
return true if Car Availability operations are requested, false if not.
1.9.4