PyANGKernel.ForestGraph¶
- class ForestGraph¶
Synopsis¶
Methods¶
def
__init__()def
calculateRoute()
Virtual methods¶
def
getLink()def
getLinkCost()def
getLinkOrigin()def
getNodeAllowed()def
getNodeCost()def
getNrLinks()def
getNrNodes()
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
- __init__(iForest)¶
- Parameters:
iForest –
BaseForest
- calculateRoute(iOrigin, iDestination, iUserId, iStart, iModel)¶
- Parameters:
iOrigin – int
iDestination – int
iUserId – int
iStart – float
iModel –
GKModel
- getLink(iOriginNode, iDestinationNode)¶
- Parameters:
iOriginNode – int
iDestinationNode – int
- Return type:
- getLinkCost(linkId, userId, slice)¶
- Parameters:
linkId – int
userId – int
slice – int
- Return type:
- getLinkTravelTime(linkId, userId, slice)¶
- Parameters:
linkId – int
userId – int
slice – int
- Return type:
- getNodeIncoming(nodeId)¶
- Parameters:
nodeId – int
- Return type:
.std.vectorqint32
- getNodeOutgoing(nodeId)¶
- Parameters:
nodeId – int
- Return type:
.std.vectorqint32