Aimsun Next Scripting
22
|
Public Member Functions | |
qint32 | getObjectId () const |
PTLink::LinkType | getLinkType () const |
qint32 | getOriginId () const |
qint32 | getDestinationId () const |
double | getWaitingTime (qint32 userIndex) const |
double | getInVehicleTime (qint32 userIndex) const |
double | getFare (qint32 userIndex) const |
double | getCost (qint32 userIndex) const |
double | getWalkingTime (qint32 userIndex) const |
This class provides a link in a PTForest
double PTTreeLink::getCost | ( | qint32 | userIndex | ) | const |
Get the total cost of the link.
qint32 PTTreeLink::getDestinationId | ( | ) | const |
Get the destination of the link.
double PTTreeLink::getFare | ( | qint32 | userIndex | ) | const |
Get the fare of the link.
double PTTreeLink::getInVehicleTime | ( | qint32 | userIndex | ) | const |
Get the in-vehicle time of the link.
PTLink::LinkType PTTreeLink::getLinkType | ( | ) | const |
Get the type of link.
qint32 PTTreeLink::getObjectId | ( | ) | const |
Get the id of the object represented by the link.
qint32 PTTreeLink::getOriginId | ( | ) | const |
Get the origin of the link.
double PTTreeLink::getWaitingTime | ( | qint32 | userIndex | ) | const |
Get the waiting time of the link.
double PTTreeLink::getWalkingTime | ( | qint32 | userIndex | ) | const |
Get the walking time of the link.