Aimsun Next Scripting
22
|
Public Member Functions | |
DTAManager () | |
~DTAManager () | |
const DTANetwork & | getNetwork () 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 DTADescription & | getDescription () const /NoCopy/ |
DTAVehicleType * | getVehicleType (const DTAUserClass *userclass) const |
DTAVehicleType * | getVehicleTypeFromUserClass (const GKUserClass *userclass) const |
uint | getCurrentIter () const |
double | getTurnCost (GKFunctionCostContext *context, DTATurning *turning, int iteration) const |
DTAManager::DTAManager | ( | ) |
DTAManager::~DTAManager | ( | ) |
double DTAManager::getAttractivenessWeight | ( | ) | const |
Returns the attractiveness weight.
uint DTAManager::getCurrentIter | ( | ) | const |
Get current iteration in DUE.
const DTADescription & DTAManager::getDescription | ( | ) | const |
Returns the description with all DTA configuration parameters.
double DTAManager::getMaxTurnAttractiveness | ( | ) | const |
Returns the maximum attractiveness of all turns.
const DTANetwork & DTAManager::getNetwork | ( | ) | const |
Returns the DTANetwork.
double DTAManager::getNextRandom | ( | ) |
Returns a random number between 0 and 1.
QPair< uint, uint > DTAManager::getTotalPathsInDUE | ( | QPair< double, double > & | totalMemory | ) | const |
Number of shortest path trees currently calculated
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.
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.
double DTAManager::getUserDefinedCostWeight | ( | ) | const |
Returns the user defined cost weight.
DTAVehicleType * DTAManager::getVehicleType | ( | const DTAUserClass * | userclass | ) | const |
Get vehicle type from user class.
DTAVehicleType * DTAManager::getVehicleTypeFromUserClass | ( | const GKUserClass * | userclass | ) | const |
Get vehicle type from user class.