Aimsun Next Scripting
24.0
|
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 * | getVehicleTypeFromUserClass (const GKUserClass *userclass) const |
uint | getCurrentIter () const |
double | getTurnCost (GKFunctionCostContext *context, DTATurning *turning, int iteration) const |
double | getTurnTravelTime (GKFunctionCostContext *context, DTATurning *turning, int iteration) const |
bool | isDUEContinue () const |
DTAManager::DTAManager | ( | ) |
DTAManager::~DTAManager | ( | ) |
double DTAManager::getAttractivenessWeight | ( | ) | const |
Returns the attractiveness weight.
uint DTAManager::getCurrentIter | ( | ) | const |
Get curret interation 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 temporary cache.
double DTAManager::getTurnCost | ( | GKFunctionCostContext * | context, |
DTATurning * | turning, | ||
int | iteration | ||
) | const |
Get turn cost for specific iteration, veh type and slice (inside context). Returns -1 if not found.
double DTAManager::getTurnTravelTime | ( | GKFunctionCostContext * | context, |
DTATurning * | turning, | ||
int | iteration | ||
) | const |
Get turn travel time 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::getVehicleTypeFromUserClass | ( | const GKUserClass * | userclass | ) | const |
Get vehicle type from user class.
bool DTAManager::isDUEContinue | ( | ) | const |
Return true if the DUE is continuing a previous DUE result.