Aimsun Next Scripting  22
Public Member Functions | List of all members
PTTreeLink Class Reference

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
 

Detailed Description

This class provides a link in a PTForest

Member Function Documentation

◆ getCost()

double PTTreeLink::getCost ( qint32  userIndex) const

Get the total cost of the link.

◆ getDestinationId()

qint32 PTTreeLink::getDestinationId ( ) const

Get the destination of the link.

◆ getFare()

double PTTreeLink::getFare ( qint32  userIndex) const

Get the fare of the link.

◆ getInVehicleTime()

double PTTreeLink::getInVehicleTime ( qint32  userIndex) const

Get the in-vehicle time of the link.

◆ getLinkType()

PTLink::LinkType PTTreeLink::getLinkType ( ) const

Get the type of link.

◆ getObjectId()

qint32 PTTreeLink::getObjectId ( ) const

Get the id of the object represented by the link.

◆ getOriginId()

qint32 PTTreeLink::getOriginId ( ) const

Get the origin of the link.

◆ getWaitingTime()

double PTTreeLink::getWaitingTime ( qint32  userIndex) const

Get the waiting time of the link.

◆ getWalkingTime()

double PTTreeLink::getWalkingTime ( qint32  userIndex) const

Get the walking time of the link.

© Aimsun SLU
Aimsun ®