PyMacroToolPlugin.ControlPlanGenerator¶
- class ControlPlanGenerator¶
The
ControlPlanGeneratorclassSynopsis¶
Methods¶
def
__init__()def
setAllRedTime()def
setControlPlan()def
setMinimumGap()def
setPassageTime()def
setYellowTime()
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:
_node –
GKNode_nodeVolumes – Dictionary with keys of type .GKTurning and values of type double.
sourceName – str
- Return type:
GKControlJunction
- setActuatedControl(iActuated)¶
- Parameters:
iActuated – bool
- setAllRedTime(_allRedTime)¶
- Parameters:
_allRedTime – int
- setCapacityPerLane(iCapacity)¶
- Parameters:
iCapacity – float
- setControlPhaseRecall(_recall)¶
- Parameters:
_recall –
GKControlPhaseRecall
- setControlPlan(_controlPlan)¶
- Parameters:
_controlPlan –
GKControlPlan
- 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