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.

Inheritance diagram of PyANGKernel.GKForceEnrouteAssignment

Synopsis

Methods

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:

GKCentroidConfiguration

Returns the target centroid configuration.

getDestinationCentroidOrGroup()
Return type:

GKPolygon

Gets the destination centroid or centroid grouping of the affected car. Can be NULL, means ANY.

getOriginCentroidOrGroup()
Return type:

GKPolygon

Gets the origin centroid or centroid grouping of the affected car. Can be NULL, means ANY.

getReevaluateWhenTTIsUpdated()
Return type:

bool

getSection()
Return type:

GKSection

Returns the target section.

getSectionInPath()
Return type:

GKSection

setCentroidConfiguration(conf)
Parameters:

confGKCentroidConfiguration

Sets the target centroid configuration.

setDestinationCentroidOrGroup(centroidOrGroup)
Parameters:

centroidOrGroupGKPolygon

Sets the destination centroid or centroid grouping of the affected car. Can be NULL, means ANY.

setOriginCentroidOrGroup(centroidOrGroup)
Parameters:

centroidOrGroupGKPolygon

Sets the origin centroid or centroid grouping of the affected car. Can be NULL, means ANY.

setReevaluateWhenTTIsUpdated(aValue)
Parameters:

aValue – bool

setSectionInPath(section)
Parameters:

sectionGKSection