|
Aimsun Next Scripting
22
|
Public Member Functions | |
| DTAPossiblePath () | |
| const DTAGenericPath * | getPath () const |
| double | getSPCurrentCost (DTAManager *dtaManager, DTAVehicleType *vehType) |
| double | getSPCurrentTravelTime (DTAManager *dtaManager, DTAVehicleType *vehType) |
| double | getSPExperimentedTravelTime (DTAManager *dtaManager, DTAVehicleType *vehType, void *originCentroid, void *section) |
| double | getSPDistance (DTAManager *dtaManager, DTAVehicleType *vehType) |
| double | getSPCommonDist (DTAManager *dtaManager, DTAVehicleType *vehType, DTAPossiblePath *otherPath) |
| double | getSPCommonCost (DTAManager *dtaManager, DTAVehicleType *vehType, DTAPossiblePath *otherPath) |
| double | getSPHistoricalCost (DTAManager *dtaManager, DTAVehicleType *vehType, int offset) |
Public Attributes | |
| const DTASPObject * | entranceSection |
| double | cost |
| DTAPossiblePath::DTAPossiblePath | ( | ) |
| const DTAGenericPath * DTAPossiblePath::getPath | ( | ) | const |
| double DTAPossiblePath::getSPCommonCost | ( | DTAManager * | dtaManager, |
| DTAVehicleType * | vehType, | ||
| DTAPossiblePath * | otherPath | ||
| ) |
Returns the cost from both paths that are using the same sections.
| double DTAPossiblePath::getSPCommonDist | ( | DTAManager * | dtaManager, |
| DTAVehicleType * | vehType, | ||
| DTAPossiblePath * | otherPath | ||
| ) |
Returns the distance from both paths that are using the same sections.
| double DTAPossiblePath::getSPCurrentCost | ( | DTAManager * | dtaManager, |
| DTAVehicleType * | vehType | ||
| ) |
Returns the cost of this path by vehicle type.
| double DTAPossiblePath::getSPCurrentTravelTime | ( | DTAManager * | dtaManager, |
| DTAVehicleType * | vehType | ||
| ) |
Returns the travel time of this path by vehicle type. This is total travel time using the instantaneous travel time.
| double DTAPossiblePath::getSPDistance | ( | DTAManager * | dtaManager, |
| DTAVehicleType * | vehType | ||
| ) |
Returns the path distance.
| double DTAPossiblePath::getSPExperimentedTravelTime | ( | DTAManager * | dtaManager, |
| DTAVehicleType * | vehType, | ||
| void * | originCentroid, | ||
| void * | section | ||
| ) |
Returns the travel time of this path by vehicle type and from section. This is the travel time using the experienced travel times.
| double DTAPossiblePath::getSPHistoricalCost | ( | DTAManager * | dtaManager, |
| DTAVehicleType * | vehType, | ||
| int | offset | ||
| ) |
Returns the cost of the path. With offset 0 it returns the same as getSPCurrentCost(). With offset -1 returns the cost with previous costs. Offset 1 returns the cost using next slice. In all cases the store link costs option has to be active.
| double DTAPossiblePath::cost |
Cost.
| const DTASPObject* DTAPossiblePath::entranceSection |
Path.
Entrance section
1.9.4