PyMacroPTPlugin.PTForest¶
- class PTForest¶
The
PTForestclassSynopsis¶
Methods¶
def
__init__()def
acceptVisitor()def
addAlphas()def
getBusStops()def
getInterval()def
getLines()def
getLink()def
getUserId()def
getUserPos()def
getUsers()def
getWaitingTime()def
postRestore()def
setInterval()def
sortTrips()def
store()def
writeFile()
Static functions¶
def
readFile()
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
- PyMacroPTPlugin.PTForest.PTForest__Version¶
- PyMacroPTPlugin.PTForest.PTForest__MinVersion¶
- __init__()¶
- acceptVisitor(visitor)¶
- Parameters:
visitor –
ForestVisitor
- addAlphas(iAlphas)¶
- Parameters:
iAlphas – .std.vectordouble
- getCentroidConfigurations(iModel)¶
- Parameters:
iModel –
GKModel- Return type:
.list of GKCentroidConfiguration
- getCostComponents()¶
- Return type:
.std.vectorstd.pairqint32,QString
- getDestinationCentroids()¶
- Return type:
.list of qint32
- getInterval()¶
- Return type:
.std.pairQDateTime,QDateTime
- getLines()¶
- Return type:
.list of qint32
- getLink(iLinkPos)¶
- Parameters:
iLinkPos – int
- Return type:
- getOriginCentroids()¶
- Return type:
.list of qint32
- getUsers()¶
- Return type:
.list of qint32
- getWaitingTime(userIndex, iHyperLinkId)¶
- Parameters:
userIndex – int
iHyperLinkId – int
- Return type:
- getWaitingTimeCostComponent(userIndex, iHyperLinkId, componentIndex)¶
- Parameters:
userIndex – int
iHyperLinkId – int
componentIndex – int
- Return type:
- initWaitingTimeCostComponents(numOfHyperLinks)¶
- Parameters:
numOfHyperLinks – int
- postRestore()¶
- setCostComponents(components)¶
- Parameters:
components – .std.vectorGKFunctionComponent
- setInterval(iInterval)¶
- Parameters:
iInterval – .std.pairQDateTime,QDateTime
- sortTrips()¶
- store(stream)¶
- Parameters:
stream –
QDataStream