PyANGKernel.NSPTreeData¶
- class NSPTreeData¶
Synopsis¶
Methods¶
def
__init__()def
getComponents()def
getPath()def
getPercentage()def
getTrips()def
identicalPath()def
integrate()def
isType()def
__eq__()def
pathType()def
restore()def
setPercentage()def
store()
Static functions¶
def
getPercentage()
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
- class PathType¶
- PyANGKernel.NSPTreeData.components¶
- PyANGKernel.NSPTreeData.entranceConnectionPosition¶
- PyANGKernel.NSPTreeData.entrancePosition¶
- PyANGKernel.NSPTreeData.pathid¶
- __init__()¶
- __init__(apath, p, aes, aecp, pathType)
- getAssignmentFactor(key, forest)¶
- Parameters:
key –
PathKeyforest –
BaseForest
- Return type:
- getPath(forest)¶
- Parameters:
forest –
BaseForest- Return type:
- getPathConnections(iForest, iUserClassIndex[, includeTrajectorySections=false])¶
- Parameters:
iForest –
BaseForestiUserClassIndex – int
includeTrajectorySections – bool
- Return type:
.list of std.pairqint32,qint8
- static getPercentage(forest, paths, pathIndex)
- Parameters:
forest –
BaseForestpaths – .list of NSPTreeData
pathIndex – int
- Return type:
- identicalPath(_path, _forest, vehType)¶
- Parameters:
_path –
NSPTreeData_forest –
BaseForestvehType – int
- Return type:
- integrate(copy, index, numIntervals)¶
- Parameters:
copy –
NSPTreeDataindex – int
numIntervals – int
- __eq__(p)¶
- Parameters:
p –
NSPTreeData- Return type:
- restore(stream, forest)¶
- Parameters:
stream –
QDataStreamforest –
BaseForest
- setPercentage(value, key, forest)¶
- Parameters:
value – float
key –
PathKeyforest –
BaseForest
- store(stream)¶
- Parameters:
stream –
QDataStream- Return type: