_TLProgram

Module Contents

Classes

TLProgram

class _TLProgram.TLProgram(id: str, progType: int, currentPhaseIndex: int, phases: list[trasmapy.control._TLPhase.TLPhase] = [], parameters={})
property programId: str

Returns the id of the program.

property typeP: int

Returns the type of the program.

property currentPhaseIndex: int

Returns the index of the current phase.

property phases: list[trasmapy.control._TLPhase.TLPhase]

Returns the list of phases.

property parameters

Returns the a dictionary of parameters.

classmethod tlProg(prog: traci._trafficlight.Logic)
__repr__()

Return repr(self).