PyANGKernel.GKForceEnrouteAssignment¶
- class GKForceEnrouteAssignment¶
Performs a path update action on vehicles.
Details
This class represents vehicle en-route path update at any section on the network.
Synopsis¶
Methods¶
def
__init__()def
getSection()
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¶
Path type to use: Shortest: shortest route to destination Discrete Choice: use the model to find the route
- class DiscreteModel¶
Available discrete models
- __init__()¶
- getCentroidConfiguration()¶
- Return type:
Returns the target centroid configuration.
Gets the destination centroid or centroid grouping of the affected car. Can be NULL, means ANY.
Gets the origin centroid or centroid grouping of the affected car. Can be NULL, means ANY.
Returns the target section.
- setCentroidConfiguration(conf)¶
- Parameters:
conf –
GKCentroidConfiguration
Sets the target centroid configuration.
Sets the destination centroid or centroid grouping of the affected car. Can be NULL, means ANY.
Sets the origin centroid or centroid grouping of the affected car. Can be NULL, means ANY.
- setReevaluateWhenTTIsUpdated(aValue)¶
- Parameters:
aValue – bool