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.

Inheritance diagram of PyANGKernel.GKParkAndRideChange

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

__init__()
addNewParkAndRideCentroid(centroid, percentage)
Parameters:
containsNewParkAndRideCentroid(centroid)
Parameters:

centroidGKCentroid

Return type:

bool

getCentroidConfiguration()
Return type:

GKCentroidConfiguration

The centroid configuration

getDestinationCentroidOrGroup()
Return type:

GKPolygon

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

getNewDestination()
Return type:

GKCentroid

getNewParkAndRideCentroidPercentage(centroid)
Parameters:

centroidGKCentroid

Return type:

float

getNewParkAndRideCentroids()
Return type:

Dictionary with keys of type .const GKCentroid and values of type float.

getOriginCentroidOrGroup()
Return type:

GKPolygon

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

getScaleFactor()
Return type:

float

Gets the scale factor for the Logit and C-Logits functions.

joinNewParkAndRideCentroids(masterCentroid, otherCentroid)
Parameters:
removeNewParkAndRideCentroid(centroid)
Parameters:

centroidGKCentroid

revertJoinNewParkAndRideCentroids(masterCentroid, otherCentroid, otherCentroidPercentage)
Parameters:
setCentroidConfiguration(config)
Parameters:

configGKCentroidConfiguration

The centroid configuration

setDestinationCentroidOrGroup(centroidOrGroup)
Parameters:

centroidOrGroupGKPolygon

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

setNewDestination(centroid)
Parameters:

centroidGKCentroid

setNewParkAndRideCentroids(newParkAndRideCentroids)
Parameters:

newParkAndRideCentroids – Dictionary with keys of type .const GKCentroid and values of type float.

setOriginCentroidOrGroup(centroidOrGroup)
Parameters:

centroidOrGroupGKPolygon

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.