Aimsun Next Scripting  24.0
Public Member Functions | List of all members
ForestGraph Class Reference

Public Member Functions

 ForestGraph (const BaseForest &iForest)
 
qint32 getLink (qint32 iOriginNode, qint32 iDestinationNode) const
 
double getLinkCost (qint32 linkId, qint32 userId, qint32 slice) const
 
qint32 getLinkDestination (qint32 linkId) const
 
qint32 getLinkOrigin (qint32 linkId) const
 
double getNodeCost (qint32 iUserId, qint32 nodeId) const
 
bool getNodeAllowed (qint32 iUserId, qint32 nodeId) const
 
qint32 getNodeObjectId (qint32 iNodeId) const
 
qint32 getNodeObjectIdAimsun (qint32 iNodeId) const
 
qint32 getNrLinks () const
 
qint32 getNrNodes () const
 
void calculateRoute (qint32 iOrigin, qint32 iDestination, qint32 iUserId, double iStart, GKModel *iModel) const
 

Constructor & Destructor Documentation

◆ ForestGraph()

ForestGraph::ForestGraph ( const BaseForest &  iForest)

Member Function Documentation

◆ calculateRoute()

void ForestGraph::calculateRoute ( qint32  iOrigin,
qint32  iDestination,
qint32  iUserId,
double  iStart,
GKModel iModel 
) const

◆ getLink()

qint32 ForestGraph::getLink ( qint32  iOriginNode,
qint32  iDestinationNode 
) const

◆ getLinkCost()

double ForestGraph::getLinkCost ( qint32  linkId,
qint32  userId,
qint32  slice 
) const

◆ getLinkDestination()

qint32 ForestGraph::getLinkDestination ( qint32  linkId) const

◆ getLinkOrigin()

qint32 ForestGraph::getLinkOrigin ( qint32  linkId) const

◆ getNodeAllowed()

bool ForestGraph::getNodeAllowed ( qint32  iUserId,
qint32  nodeId 
) const

◆ getNodeCost()

double ForestGraph::getNodeCost ( qint32  iUserId,
qint32  nodeId 
) const

◆ getNodeObjectId()

qint32 ForestGraph::getNodeObjectId ( qint32  iNodeId) const

◆ getNodeObjectIdAimsun()

qint32 ForestGraph::getNodeObjectIdAimsun ( qint32  iNodeId) const

◆ getNrLinks()

qint32 ForestGraph::getNrLinks ( ) const

◆ getNrNodes()

qint32 ForestGraph::getNrNodes ( ) const

© Aimsun SLU
Aimsun ®