Aimsun Next Scripting
24.0
|
Public Member Functions | |
DTASection () | |
uint | getId () const |
dta::DTABehaviourModelType | getBehaviourModel () const |
uint | getTotalNumberLanes () const |
const GKRoadType * | getRoadType () const |
bool | getIsEntrance () const |
bool | getIsExit () const |
bool | allowsVehicleType (DTAVehicleType *vehType) const |
bool | hasReservedLanes () const |
bool | hasReservedLanes (DTAVehicleType *vehType) const |
int | getNbFullLanes () const |
uint | getNumberTurns () const |
bool | allCentralLanesReserved () const |
double | getSpeed () const |
double | getSpeed_ms () const |
double | getCapacity () const |
double | getUserDefinedCost () const |
double | getUserDefinedCost2 () const |
double | getUserDefinedCost3 () const |
double | getAdditionalVolume () const |
double | length2D () const |
double | length3D () const |
double | length3DKm () const |
double | getMaxSpeed () const |
double | getMaxSpeedInKmH () const |
double | getSlope () const |
double | getStaFlow (const DTAManager *dtaManager) const |
double | getStaDensity (const DTAManager *dtaManager) const |
double | getStaSpeed (const DTAManager *dtaManager) const |
double | getStaTravelT (const DTAManager *dtaManager) const |
double | getStaDelayT (const DTAManager *dtaManager) const |
double | getStaStopT (const DTAManager *dtaManager) const |
double | getStaNbStopVeh (const DTAManager *dtaManager) const |
double | getStaQueueLMean (const DTAManager *dtaManager) const |
double | getStaQueueLMax (const DTAManager *dtaManager) const |
double | getPastCost (const DTAManager *dtaManager, int index) const |
double | getStaFlowVT (const DTAManager *dtaManager, DTAVehicleType *vehType) const |
double | getStaDensityVT (const DTAManager *dtaManager, DTAVehicleType *vehType) const |
double | getStaSpeedVT (const DTAManager *dtaManager, DTAVehicleType *vehType) const |
double | getStaTravelTVT (const DTAManager *dtaManager, DTAVehicleType *vehType) const |
double | getStaDelayTVT (const DTAManager *dtaManager, DTAVehicleType *vehType) const |
double | getStaStopTVT (const DTAManager *dtaManager, DTAVehicleType *vehType) const |
double | getStaNbStopVehVT (const DTAManager *dtaManager, DTAVehicleType *vehType) const |
double | getStaQueueLMeanVT (const DTAManager *dtaManager, DTAVehicleType *vehType) const |
double | getStaQueueLMaxVT (const DTAManager *dtaManager, DTAVehicleType *vehType) const |
double | getStaFlowVT (const DTAManager *dtaManager, const DTAUserClass *gkUserClass) const |
double | getStaDensityVT (const DTAManager *dtaManager, const DTAUserClass *gkUserClass) const |
double | getStaSpeedVT (const DTAManager *dtaManager, const DTAUserClass *gkUserClass) const |
double | getStaTravelTVT (const DTAManager *dtaManager, const DTAUserClass *gkUserClass) const |
double | getStaDelayTVT (const DTAManager *dtaManager, const DTAUserClass *gkUserClass) const |
double | getStaStopTVT (const DTAManager *dtaManager, const DTAUserClass *gkUserClass) const |
double | getStaNbStopVehVT (const DTAManager *dtaManager, const DTAUserClass *gkUserClass) const |
double | getStaQueueLMeanVT (const DTAManager *dtaManager, const DTAUserClass *gkUserClass) const |
double | getStaQueueLMaxVT (const DTAManager *dtaManager, const DTAUserClass *gkUserClass) const |
double | getFreeFlowTravelTime (const DTAManager *dtaManager, DTAVehicleType *vehType) const |
double | getPastCostVT (const DTAManager *dtaManager, const DTAVehicleType *vehType, int index) const |
![]() | |
GKSimulatedObject () | |
GKSimulatedObject (const GKObject *master, GKModelConnection *connection=NULL) | |
virtual QString | getTypeExternalName () const |
void | setMaster (GKObject *master) |
const GKObject * | getMaster () const |
virtual quint32 | getId () const |
virtual const QString & | getName () const |
virtual const QString & | getExternalId () const |
virtual const QString & | getDescription () const |
virtual GKModel * | getModel () const |
virtual GKType * | getType () const |
virtual bool | isA (const GKType *atype) const |
virtual bool | isA (const QString &typeName) const |
virtual QVariant * | getDataValue (const GKColumn *attr, bool *deleteit, const GKContext &context=GKContext::anyContext) const |
virtual QVariant * | getDataValueByID (uint attrId, bool *deleteit, const GKContext &context=GKContext::anyContext) const |
virtual double | getDataValueInTS (const GKColumn *attr, unsigned int index, double *deviation=nullptr) const |
virtual double | getDataValueInTSByID (uint attrId, unsigned int index, double *deviation=nullptr) const |
virtual GKTimeSerie * | getDataValueTS (const GKColumn *attr) const |
virtual GKTimeSerie * | getDataValueTSByID (uint attrId) const |
virtual int | getDataValueInt (const GKColumn *attr, const GKContext &context=GKContext::anyContext) const |
virtual int | getDataValueIntByID (uint attrId, const GKContext &context=GKContext::anyContext) const |
virtual double | getDataValueDouble (const GKColumn *attr, const GKContext &context=GKContext::anyContext) const |
virtual double | getDataValueDoubleByID (uint attrId, const GKContext &context=GKContext::anyContext) const |
virtual QString | getDataValueString (const GKColumn *attr, const GKContext &context=GKContext::anyContext) const |
virtual QString | getDataValueStringByID (uint attrId, const GKContext &context=GKContext::anyContext) const |
virtual bool | getDataValueBool (const GKColumn *attr, const GKContext &context=GKContext::anyContext) const |
virtual bool | getDataValueBoolByID (uint attrId, const GKContext &context=GKContext::anyContext) const |
virtual GKObject * | getDataValueObject (const GKColumn *attr, const GKContext &context=GKContext::anyContext) const |
virtual GKObject * | getDataValueObjectByID (uint attrId, const GKContext &context=GKContext::anyContext) const |
virtual QDate | getDataValueDate (const GKColumn *attr, const GKContext &context=GKContext::anyContext) const |
virtual QDate | getDataValueDateByID (uint attrId, const GKContext &context=GKContext::anyContext) const |
virtual QTime | getDataValueTime (const GKColumn *attr, const GKContext &context=GKContext::anyContext) const |
virtual 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 |
virtual GKTimeDuration | getDataValueTimeDuration (const GKColumn *attr, const GKContext &context=GKContext::anyContext) const |
virtual GKTimeDuration | getDataValueTimeDurationByID (uint attrId, const GKContext &context=GKContext::anyContext) const |
![]() | |
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, unsigned int index, double *deviation=NULL) const =0 |
virtual double | getDataValueInTSByID (uint attrId, unsigned int index, double *deviation=nullptr) 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 | |
![]() | |
Py_END_ALLOW_THREADS static End uint | idAtt |
static uint | nameAtt |
static uint | externalIdAtt |
static uint | descriptionAtt |
DTASection::DTASection | ( | ) |
bool DTASection::allCentralLanesReserved | ( | ) | const |
Returns true if all central lanes are reserved.
bool DTASection::allowsVehicleType | ( | DTAVehicleType * | vehType | ) | const |
Returns true if vehicle vehType can go through this section.
double DTASection::getAdditionalVolume | ( | ) | const |
Returns the section additional volume.
dta::DTABehaviourModelType DTASection::getBehaviourModel | ( | ) | const |
double DTASection::getCapacity | ( | ) | const |
Returns the section capacity, in PCUs/h.
double DTASection::getFreeFlowTravelTime | ( | const DTAManager * | dtaManager, |
DTAVehicleType * | vehType | ||
) | const |
Returns the free flow travel time considering the vehicle type.
|
virtual |
Returns the Aimsun kernel id of this section.
Reimplemented from GKSimulatedObject.
bool DTASection::getIsEntrance | ( | ) | const |
Returns true if the section is connected to an entrance centroid
bool DTASection::getIsExit | ( | ) | const |
Returns true if the section is connected to an exit centroid
double DTASection::getMaxSpeed | ( | ) | const |
Returns the section speed in the network units, either Km/h or miles/h
double DTASection::getMaxSpeedInKmH | ( | ) | const |
Returns the section speed in Km/h
int DTASection::getNbFullLanes | ( | ) | const |
Returns the number of full or central lanes.
uint DTASection::getNumberTurns | ( | ) | const |
Returns the number of turns.
double DTASection::getPastCost | ( | const DTAManager * | dtaManager, |
int | index | ||
) | const |
Returns the past cost that has been read from the replication that has been set for the past costs. The index parameter defines the shift from the current interval. So index = 0 means that the returned path cost will be from the same interval. index = 1 means the next interval and index = -1 the previous interval.
double DTASection::getPastCostVT | ( | const DTAManager * | dtaManager, |
const DTAVehicleType * | vehType, | ||
int | index | ||
) | const |
Returns the past cost that has been read from the replication that has been set for the past costs. The index parameter defines the shift from the current interval. So index = 0 means that the returned path cost will be from the same interval. index = 1 means the next interval and index = -1 the previous interval.
const GKRoadType * DTASection::getRoadType | ( | ) | const |
Returns the road type of the section.
double DTASection::getSlope | ( | ) | const |
Returns the section slope.
double DTASection::getSpeed | ( | ) | const |
Returns the speed in either m/s (micro/meso) or km/h (macro)
double DTASection::getSpeed_ms | ( | ) | const |
Returns the speed in m/s.
double DTASection::getStaDelayT | ( | const DTAManager * | dtaManager | ) | const |
Returns the mean delay time for the last route choice interval/s of all exit links.
double DTASection::getStaDelayTVT | ( | const DTAManager * | dtaManager, |
const DTAUserClass * | gkUserClass | ||
) | const |
Returns the mean delay time for the last route choice interval/s considering the user class of all exit links.
double DTASection::getStaDelayTVT | ( | const DTAManager * | dtaManager, |
DTAVehicleType * | vehType | ||
) | const |
Returns the mean delay time for the last route choice interval/s considering the vehicle type vehType of all exit links.
double DTASection::getStaDensity | ( | const DTAManager * | dtaManager | ) | const |
Returns the density for the last route choice interval/s.
double DTASection::getStaDensityVT | ( | const DTAManager * | dtaManager, |
const DTAUserClass * | gkUserClass | ||
) | const |
Returns the density for the last route choice interval/s considering the user class.
double DTASection::getStaDensityVT | ( | const DTAManager * | dtaManager, |
DTAVehicleType * | vehType | ||
) | const |
Returns the density for the last route choice interval/s considering the vehicle type vehType.
double DTASection::getStaFlow | ( | const DTAManager * | dtaManager | ) | const |
Returns the flow for the last route choice interval/s.
double DTASection::getStaFlowVT | ( | const DTAManager * | dtaManager, |
const DTAUserClass * | gkUserClass | ||
) | const |
Returns the flow for the last route choice interval/s considering the user class.
double DTASection::getStaFlowVT | ( | const DTAManager * | dtaManager, |
DTAVehicleType * | vehType | ||
) | const |
Returns the flow for the last route choice interval/s considering the vehicle type vehType.
double DTASection::getStaNbStopVeh | ( | const DTAManager * | dtaManager | ) | const |
Returns the number of stops for the last route choice interval/s.
double DTASection::getStaNbStopVehVT | ( | const DTAManager * | dtaManager, |
const DTAUserClass * | gkUserClass | ||
) | const |
Returns the number of stops for the last route choice interval/s considering the user class.
double DTASection::getStaNbStopVehVT | ( | const DTAManager * | dtaManager, |
DTAVehicleType * | vehType | ||
) | const |
Returns the number of stops for the last route choice interval/s considering the vehicle type vehType.
double DTASection::getStaQueueLMax | ( | const DTAManager * | dtaManager | ) | const |
Returns the max queue length for the last route choice interval/s. Only available when using the micro simulation engine.
double DTASection::getStaQueueLMaxVT | ( | const DTAManager * | dtaManager, |
const DTAUserClass * | gkUserClass | ||
) | const |
Returns the max queue length for the last route choice interval/s. Only available when using the micro simulation engine and considering the user class.
double DTASection::getStaQueueLMaxVT | ( | const DTAManager * | dtaManager, |
DTAVehicleType * | vehType | ||
) | const |
Returns the max queue length for the last route choice interval/s. Only available when using the micro simulation engine and considering the vehicle type vehType.
double DTASection::getStaQueueLMean | ( | const DTAManager * | dtaManager | ) | const |
Returns the mean queue length for the last route choice interval/s. Only available when using the micro simulation engine.
double DTASection::getStaQueueLMeanVT | ( | const DTAManager * | dtaManager, |
const DTAUserClass * | gkUserClass | ||
) | const |
Returns the mean queue length for the last route choice interval/s. Only available when using the micro simulation engine and considering the user class.
double DTASection::getStaQueueLMeanVT | ( | const DTAManager * | dtaManager, |
DTAVehicleType * | vehType | ||
) | const |
Returns the mean queue length for the last route choice interval/s. Only available when using the micro simulation engine and considering the vehicle type vehType.
double DTASection::getStaSpeed | ( | const DTAManager * | dtaManager | ) | const |
Returns the mean speed for the last route choice interval/s of all exit links.
double DTASection::getStaSpeedVT | ( | const DTAManager * | dtaManager, |
const DTAUserClass * | gkUserClass | ||
) | const |
Returns the mean speed for the last route choice interval/s considering the user class of all exit links.
double DTASection::getStaSpeedVT | ( | const DTAManager * | dtaManager, |
DTAVehicleType * | vehType | ||
) | const |
Returns the mean speed for the last route choice interval/s considering the vehicle type vehType of all exit links.
double DTASection::getStaStopT | ( | const DTAManager * | dtaManager | ) | const |
Returns the stop time for the last route choice interval/s.
double DTASection::getStaStopTVT | ( | const DTAManager * | dtaManager, |
const DTAUserClass * | gkUserClass | ||
) | const |
Returns the stop time for the last route choice interval/s considering the user class.
double DTASection::getStaStopTVT | ( | const DTAManager * | dtaManager, |
DTAVehicleType * | vehType | ||
) | const |
Returns the stop time for the last route choice interval/s considering the vehicle type vehType.
double DTASection::getStaTravelT | ( | const DTAManager * | dtaManager | ) | const |
Returns the mean travel time for the last route choice interval/s of all exit links.
double DTASection::getStaTravelTVT | ( | const DTAManager * | dtaManager, |
const DTAUserClass * | gkUserClass | ||
) | const |
Returns the mean travel time for the last route choice interval/s considering the user class of all exit links.
double DTASection::getStaTravelTVT | ( | const DTAManager * | dtaManager, |
DTAVehicleType * | vehType | ||
) | const |
Returns the mean travel time for the last route choice interval/s considering the vehicle type vehType of all exit links.
uint DTASection::getTotalNumberLanes | ( | ) | const |
Returns the total number of lanes of this section.
double DTASection::getUserDefinedCost | ( | ) | const |
Returns the section user defined cost.
double DTASection::getUserDefinedCost2 | ( | ) | const |
Returns the section user defined cost 2.
double DTASection::getUserDefinedCost3 | ( | ) | const |
Returns the section user defined cost 3.
bool DTASection::hasReservedLanes | ( | ) | const |
Returns if this sections has reserved lanes.
bool DTASection::hasReservedLanes | ( | DTAVehicleType * | vehType | ) | const |
Returns if this sections has reserved lanes by a specific vehicle type.
double DTASection::length2D | ( | ) | const |
Returns the section length in meters.
double DTASection::length3D | ( | ) | const |
Returns the section length in meters.
double DTASection::length3DKm | ( | ) | const |
Returns the section length in km.