PyANGKernel.GKParkAndRideChange¶
- class GKParkAndRideChange¶
A traffic management action to change the destination
Details
Changes the destination of a vehicle to a new centroid. Valid only when using OD matrices.
Synopsis¶
Methods¶
def
__init__()def
getScaleFactor()def
setScaleFactor()
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
- __init__()¶
- addNewParkAndRideCentroid(centroid, percentage)¶
- Parameters:
centroid –
GKCentroidpercentage – float
- containsNewParkAndRideCentroid(centroid)¶
- Parameters:
centroid –
GKCentroid- Return type:
- getCentroidConfiguration()¶
- Return type:
The centroid configuration
Gets the destination centroid or centroid grouping of the affected car. Can be NULL, means ANY.
- getNewDestination()¶
- Return type:
- getNewParkAndRideCentroidPercentage(centroid)¶
- Parameters:
centroid –
GKCentroid- Return type:
- getNewParkAndRideCentroids()¶
- Return type:
Dictionary with keys of type .const GKCentroid and values of type float.
Gets the origin centroid or centroid grouping of the affected car. Can be NULL, means ANY.
Gets the scale factor for the Logit and C-Logits functions.
- joinNewParkAndRideCentroids(masterCentroid, otherCentroid)¶
- Parameters:
masterCentroid –
GKCentroidotherCentroid –
GKCentroid
- removeNewParkAndRideCentroid(centroid)¶
- Parameters:
centroid –
GKCentroid
- revertJoinNewParkAndRideCentroids(masterCentroid, otherCentroid, otherCentroidPercentage)¶
- Parameters:
masterCentroid –
GKCentroidotherCentroid –
GKCentroidotherCentroidPercentage – float
- setCentroidConfiguration(config)¶
- Parameters:
config –
GKCentroidConfiguration
The centroid configuration
Sets the destination centroid or centroid grouping of the affected car. Can be NULL, means ANY.
- setNewDestination(centroid)¶
- Parameters:
centroid –
GKCentroid
- setNewParkAndRideCentroids(newParkAndRideCentroids)¶
- Parameters:
newParkAndRideCentroids – Dictionary with keys of type .const GKCentroid and values of type float.
Sets the origin centroid or centroid grouping of the affected car. Can be NULL, means ANY.
- setScaleFactor(scale)¶
- Parameters:
scale – float
Sets the scale factor for the Logit and C-Logits functions.