PyMacroToolPlugin.ControlPlanGenerator

class ControlPlanGenerator

The ControlPlanGenerator class

Inheritance diagram of PyMacroToolPlugin.ControlPlanGenerator

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__()
generateControlJunction(_node, _nodeVolumes, sourceName)
Parameters:
  • _nodeGKNode

  • _nodeVolumes – Dictionary with keys of type .GKTurning and values of type double.

  • sourceName – str

Return type:

GKControlJunction

isActuatedControl()
Return type:

bool

setActuatedControl(iActuated)
Parameters:

iActuated – bool

setAllRedTime(_allRedTime)
Parameters:

_allRedTime – int

setCapacityPerLane(iCapacity)
Parameters:

iCapacity – float

setControlPhaseRecall(_recall)
Parameters:

_recallGKControlPhaseRecall

setControlPlan(_controlPlan)
Parameters:

_controlPlanGKControlPlan

setExcludeNonConflictNodes(_excludeNonConflictNodes)
Parameters:

_excludeNonConflictNodes – bool

setMaxCycleTime(_maxCycleTime)
Parameters:

_maxCycleTime – int

setMinCycleTime(_minCycleTime)
Parameters:

_minCycleTime – int

setMinGreenTime(_minGreenTime)
Parameters:

_minGreenTime – int

setMinimumGap(_minimumGap)
Parameters:

_minimumGap – float

setPassageTime(_passageTime)
Parameters:

_passageTime – float

setRedTimePercentage(_redTimePercentage)
Parameters:

_redTimePercentage – int

setTimeBeforeReduce(_timeBeforeReduce)
Parameters:

_timeBeforeReduce – float

setTimeToReduce(_timeToReduce)
Parameters:

_timeToReduce – float

setUseGapReduction(_useGapReduction)
Parameters:

_useGapReduction – bool

setYellowTime(_yellowTime)
Parameters:

_yellowTime – int