PyANGKernel.NSPTreeData

class NSPTreeData

Synopsis

Methods

Static functions

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)
Parameters:
  • apathNSPPath

  • p – .std.vectorfloat

  • aes – int

  • aecp – int

  • pathTypePathType

getAssignmentFactor(key, forest)
Parameters:
Return type:

float

getAverageVOTMomentum()
Return type:

float

getComponents()
Return type:

.list of float

getPath(forest)
Parameters:

forestBaseForest

Return type:

NSPPath

getPathConnections(iForest, iUserClassIndex[, includeTrajectorySections=false])
Parameters:
  • iForestBaseForest

  • iUserClassIndex – int

  • includeTrajectorySections – bool

Return type:

.list of std.pairqint32,qint8

getPercentage()
Return type:

float

static getPercentage(forest, paths, pathIndex)
Parameters:
  • forestBaseForest

  • paths – .list of NSPTreeData

  • pathIndex – int

Return type:

float

getTrips()
Return type:

float

identicalPath(_path, _forest, vehType)
Parameters:
Return type:

bool

integrate(copy, index, numIntervals)
Parameters:
  • copyNSPTreeData

  • index – int

  • numIntervals – int

isType(filterPaths)
Parameters:

filterPaths – .std.vectorNSPTreeData.PathType

Return type:

bool

__eq__(p)
Parameters:

pNSPTreeData

Return type:

bool

pathType()
Return type:

PathType

restore(stream, forest)
Parameters:
setPercentage(value, key, forest)
Parameters:
store(stream)
Parameters:

streamQDataStream

Return type:

bool