Aimsun Next Scripting  22
Public Member Functions | Public Attributes | List of all members
DTAPossiblePath Class Reference

Public Member Functions

 DTAPossiblePath ()
 
const DTAGenericPathgetPath () 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
 

Constructor & Destructor Documentation

◆ DTAPossiblePath()

DTAPossiblePath::DTAPossiblePath ( )

Member Function Documentation

◆ getPath()

const DTAGenericPath * DTAPossiblePath::getPath ( ) const

◆ getSPCommonCost()

double DTAPossiblePath::getSPCommonCost ( DTAManager dtaManager,
DTAVehicleType vehType,
DTAPossiblePath otherPath 
)

Returns the cost from both paths that are using the same sections.

◆ getSPCommonDist()

double DTAPossiblePath::getSPCommonDist ( DTAManager dtaManager,
DTAVehicleType vehType,
DTAPossiblePath otherPath 
)

Returns the distance from both paths that are using the same sections.

◆ getSPCurrentCost()

double DTAPossiblePath::getSPCurrentCost ( DTAManager dtaManager,
DTAVehicleType vehType 
)

Returns the cost of this path by vehicle type.

◆ getSPCurrentTravelTime()

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.

◆ getSPDistance()

double DTAPossiblePath::getSPDistance ( DTAManager dtaManager,
DTAVehicleType vehType 
)

Returns the path distance.

◆ getSPExperimentedTravelTime()

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.

◆ getSPHistoricalCost()

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.

Member Data Documentation

◆ cost

double DTAPossiblePath::cost

Cost.

◆ entranceSection

const DTASPObject* DTAPossiblePath::entranceSection

Path.

Entrance section

© Aimsun SLU
Aimsun ®