Aimsun Next Scripting
24.0
|
Public Types | |
enum | PathType { eNone , eRC , eAPA , eOD , eTRAJECTORY , ePoint2Point } |
Public Member Functions | |
NSPTreeData () | |
bool | operator== (const NSPTreeData &p) const |
const NSPPath * | getPath (const BaseForest *forest) const |
QVector< QPair< qint32, qint8 > > | getPathConnections (const BaseForest *iForest, qint32 iUserClassIndex, bool includeTrajectorySections=false) const |
bool | identicalPath (const NSPTreeData *_path, const BaseForest *_forest, int vehType) const |
float | getTrips () const |
float | getAssignmentFactor (const PathKey &key, const BaseForest *forest) const |
float | getPercentage () const |
PathType | pathType () const |
QVector< float > | getComponents () const |
Public Attributes | |
uint | entranceConnectionPosition |
uint | entrancePosition |
quint32 | pathid |
This class provides data for a path
NSPTreeData::NSPTreeData | ( | ) |
default constructor
float NSPTreeData::getAssignmentFactor | ( | const PathKey & | key, |
const BaseForest * | forest | ||
) | const |
Get real assignment factor
QVector< float > NSPTreeData::getComponents | ( | ) | const |
Get vector of components
const NSPPath * NSPTreeData::getPath | ( | const BaseForest * | forest | ) | const |
QVector< QPair< qint32, qint8 > > NSPTreeData::getPathConnections | ( | const BaseForest * | iForest, |
qint32 | iUserClassIndex, | ||
bool | includeTrajectorySections = false |
||
) | const |
float NSPTreeData::getPercentage | ( | ) | const |
Get theoretical assignment percentage. This percentage is only available in dynamic simulations. It is a value from 0 to 100.
float NSPTreeData::getTrips | ( | ) | const |
get real trips
bool NSPTreeData::identicalPath | ( | const NSPTreeData * | _path, |
const BaseForest * | _forest, | ||
int | vehType | ||
) | const |
test if the sections of the two paths are identical
bool NSPTreeData::operator== | ( | const NSPTreeData & | p | ) | const |
compare if two paths data are the same
PathType NSPTreeData::pathType | ( | ) | const |
Get path type
uint NSPTreeData::entranceConnectionPosition |
Entrance connection
uint NSPTreeData::entrancePosition |
entrance section
quint32 NSPTreeData::pathid |
path id