Aimsun Next Scripting
22
|
Public Types | |
enum | DTABehaviourModelType { eMicro , eMeso } |
Public Member Functions | |
DTASection () | |
uint | getId () const |
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 (DTAManager *dtaManager) const |
double | getStaDensity (DTAManager *dtaManager) const |
double | getStaSpeed (DTAManager *dtaManager) const |
double | getStaTravelT (DTAManager *dtaManager) const |
double | getStaDelayT (DTAManager *dtaManager) const |
double | getStaStopT (DTAManager *dtaManager) const |
double | getStaNbStopVeh (DTAManager *dtaManager) const |
double | getStaQueueLMean (DTAManager *dtaManager) const |
double | getStaQueueLMax (DTAManager *dtaManager) const |
double | getPastCost (DTAManager *dtaManager, int index) const |
double | getStaFlowVT (DTAManager *dtaManager, DTAVehicleType *vehType) const |
double | getStaDensityVT (DTAManager *dtaManager, DTAVehicleType *vehType) const |
double | getStaSpeedVT (DTAManager *dtaManager, DTAVehicleType *vehType) const |
double | getStaTravelTVT (DTAManager *dtaManager, DTAVehicleType *vehType) const |
double | getStaDelayTVT (DTAManager *dtaManager, DTAVehicleType *vehType) const |
double | getStaStopTVT (DTAManager *dtaManager, DTAVehicleType *vehType) const |
double | getStaNbStopVehVT (DTAManager *dtaManager, DTAVehicleType *vehType) const |
double | getStaQueueLMeanVT (DTAManager *dtaManager, DTAVehicleType *vehType) const |
double | getStaQueueLMaxVT (DTAManager *dtaManager, DTAVehicleType *vehType) const |
double | getStaFlowVT (DTAManager *dtaManager, const DTAUserClass *gkUserClass) const |
double | getStaDensityVT (DTAManager *dtaManager, const DTAUserClass *gkUserClass) const |
double | getStaSpeedVT (DTAManager *dtaManager, const DTAUserClass *gkUserClass) const |
double | getStaTravelTVT (DTAManager *dtaManager, const DTAUserClass *gkUserClass) const |
double | getStaDelayTVT (DTAManager *dtaManager, const DTAUserClass *gkUserClass) const |
double | getStaStopTVT (DTAManager *dtaManager, const DTAUserClass *gkUserClass) const |
double | getStaNbStopVehVT (DTAManager *dtaManager, const DTAUserClass *gkUserClass) const |
double | getStaQueueLMeanVT (DTAManager *dtaManager, const DTAUserClass *gkUserClass) const |
double | getStaQueueLMaxVT (DTAManager *dtaManager, const DTAUserClass *gkUserClass) const |
double | getFreeFlowTravelTime (DTAManager *dtaManager, DTAVehicleType *vehType) const |
double | getPastCostVT (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, GKTimeSerieIndex index, double *deviation=NULL) const |
virtual double | getDataValueInTSByID (uint attrId, GKTimeSerieIndex index, double *deviation=NULL) 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, 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 | |
![]() | |
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.
DTABehaviourModelType DTASection::getBehaviourModel | ( | ) | const |
double DTASection::getCapacity | ( | ) | const |
Returns the section capacity.
double DTASection::getFreeFlowTravelTime | ( | 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 | ( | 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 | ( | 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 | ( | DTAManager * | dtaManager | ) | const |
Returns the mean delay time for the last route choice interval/s of all exit links.
double DTASection::getStaDelayTVT | ( | 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 | ( | 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 | ( | DTAManager * | dtaManager | ) | const |
Returns the density for the last route choice interval/s.
double DTASection::getStaDensityVT | ( | DTAManager * | dtaManager, |
const DTAUserClass * | gkUserClass | ||
) | const |
Returns the density for the last route choice interval/s considering the user class.
double DTASection::getStaDensityVT | ( | DTAManager * | dtaManager, |
DTAVehicleType * | vehType | ||
) | const |
Returns the density for the last route choice interval/s considering the vehicle type vehType.
double DTASection::getStaFlow | ( | DTAManager * | dtaManager | ) | const |
Returns the flow for the last route choice interval/s.
double DTASection::getStaFlowVT | ( | DTAManager * | dtaManager, |
const DTAUserClass * | gkUserClass | ||
) | const |
Returns the flow for the last route choice interval/s considering the user class.
double DTASection::getStaFlowVT | ( | DTAManager * | dtaManager, |
DTAVehicleType * | vehType | ||
) | const |
Returns the flow for the last route choice interval/s considering the vehicle type vehType.
double DTASection::getStaNbStopVeh | ( | DTAManager * | dtaManager | ) | const |
Returns the number of stops for the last route choice interval/s.
double DTASection::getStaNbStopVehVT | ( | 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 | ( | 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 | ( | 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 | ( | 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 | ( | 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 | ( | 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 | ( | 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 | ( | 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 | ( | DTAManager * | dtaManager | ) | const |
Returns the mean speed for the last route choice interval/s of all exit links.
double DTASection::getStaSpeedVT | ( | 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 | ( | 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 | ( | DTAManager * | dtaManager | ) | const |
Returns the stop time for the last route choice interval/s.
double DTASection::getStaStopTVT | ( | DTAManager * | dtaManager, |
const DTAUserClass * | gkUserClass | ||
) | const |
Returns the stop time for the last route choice interval/s considering the user class.
double DTASection::getStaStopTVT | ( | DTAManager * | dtaManager, |
DTAVehicleType * | vehType | ||
) | const |
Returns the stop time for the last route choice interval/s considering the vehicle type vehType.
double DTASection::getStaTravelT | ( | DTAManager * | dtaManager | ) | const |
Returns the mean travel time for the last route choice interval/s of all exit links.
double DTASection::getStaTravelTVT | ( | 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 | ( | 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.