PyANGKernel.GKControlDelayMetering

class GKControlDelayMetering

Control plan information for a delay ramp meter

Details

Settings used in a control plan for a delay ramp meter. A delay ramp meter is used to model vehicles stopping due to some control facility, such as a toll or customs barrier. The delay time experienced by each vehicle that will go through the ramp meter is set using a normal distribution with a mean and a deviation. Default values can be overriden for the desired vehicle types.

Inheritance diagram of PyANGKernel.GKControlDelayMetering

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__()
clearDelayTimes()

Clears the delay times

getDelayTimes()
Return type:

Dictionary with keys of type .GKVehicle and values of type std.pairfloat.

Gets the mean delay time and standard deviation for the vehTypes defined different than the default (vehType == nullptr).

getDeviation([vehType=None])
Parameters:

vehTypeGKVehicle

Return type:

float

Gets the standard deviation defined for the specified vehicle type.

getMean([vehType=None])
Parameters:

vehTypeGKVehicle

Return type:

float

Gets the mean delay time for the specified vehtype.

setDelayTimes(mean, deviation[, vehType=None])
Parameters:
  • mean – float

  • deviation – float

  • vehTypeGKVehicle

Sets the mean delay time and standard deviation for the specified vehtype.