PyGKPedestrians.GKPedestrianODMatrix¶
- class GKPedestrianODMatrix¶
Pedestrian matrix.
Details
It defines the amount of pedestrians to generate and the destination percentages for pedestrian exit centroids linked to bus stops.
Synopsis¶
Methods¶
def
__init__()
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 UseRoutesMatrixType¶
- __init__()¶
- allCentroidsHaveRoute(centroidsWithouRoute)¶
- Parameters:
centroidsWithouRoute – .list of int
- Return type:
returns either if all origin centroids in matrix have any route associated or some of them or the matrix do not use routes
- getRoutesForODPair(entrance, exit)¶
- Parameters:
entrance –
GKPedestrianEntranceCentroidexit –
GKPedestrianExitCentroid
- Return type:
.list of const GKPedestrianODRoute