Aimsun Next Scripting: DTAManager Class Reference
Aimsun Next Scripting  22
Public Member Functions | List of all members
DTAManager Class Reference
Inheritance diagram for DTAManager:

Public Member Functions

 DTAManager ()
 
 ~DTAManager ()
 
const DTANetworkgetNetwork () const /NoCopy/
 
double getNextRandom ()
 
double getMaxTurnAttractiveness () const
 
double getAttractivenessWeight () const
 
double getUserDefinedCostWeight () const
 
QPair< uint, uint > getTotalPathsInDUE (QPair< double, double > &totalMemory) const
 
QPair< uint, uint > getTotalPathsInOneShot (QPair< double, double > &totalMemory) const
 
const DTADescriptiongetDescription () const /NoCopy/
 
DTAVehicleTypegetVehicleType (const DTAUserClass *userclass) const
 
DTAVehicleTypegetVehicleTypeFromUserClass (const GKUserClass *userclass) const
 
uint getCurrentIter () const
 
double getTurnCost (GKFunctionCostContext *context, DTATurning *turning, int iteration) const
 

Constructor & Destructor Documentation

◆ DTAManager()

DTAManager::DTAManager ( )

◆ ~DTAManager()

DTAManager::~DTAManager ( )

Member Function Documentation

◆ getAttractivenessWeight()

double DTAManager::getAttractivenessWeight ( ) const

Returns the attractiveness weight.

◆ getCurrentIter()

uint DTAManager::getCurrentIter ( ) const

Get current iteration in DUE.

◆ getDescription()

const DTADescription & DTAManager::getDescription ( ) const

Returns the description with all DTA configuration parameters.

◆ getMaxTurnAttractiveness()

double DTAManager::getMaxTurnAttractiveness ( ) const

Returns the maximum attractiveness of all turns.

◆ getNetwork()

const DTANetwork & DTAManager::getNetwork ( ) const

Returns the DTANetwork.

◆ getNextRandom()

double DTAManager::getNextRandom ( )

Returns a random number between 0 and 1.

◆ getTotalPathsInDUE()

QPair< uint, uint > DTAManager::getTotalPathsInDUE ( QPair< double, double > &  totalMemory) const

Number of shortest path trees currently calculated

◆ getTotalPathsInOneShot()

QPair< uint, uint > DTAManager::getTotalPathsInOneShot ( QPair< double, double > &  totalMemory) const

Number of shortest path trees and memory allocated by these shortest path trees currently calculated. First refers to total number paths while second is the number of paths in temporal cache.

◆ getTurnCost()

double DTAManager::getTurnCost ( GKFunctionCostContext context,
DTATurning turning,
int  iteration 
) const

Get turning cost for specific iteration, veh type and slice (inside context). Returns -1 if not found.

◆ getUserDefinedCostWeight()

double DTAManager::getUserDefinedCostWeight ( ) const

Returns the user defined cost weight.

◆ getVehicleType()

DTAVehicleType * DTAManager::getVehicleType ( const DTAUserClass userclass) const

Get vehicle type from user class.

◆ getVehicleTypeFromUserClass()

DTAVehicleType * DTAManager::getVehicleTypeFromUserClass ( const GKUserClass userclass) const

Get vehicle type from user class.

© Aimsun SLU
Aimsun ®