Class FixedTimeController.Flank

java.lang.Object
org.opentrafficsim.trafficcontrol.FixedTimeController.Flank
All Implemented Interfaces:
Comparable<FixedTimeController.Flank>
Enclosing class:
FixedTimeController

class FixedTimeController.Flank extends Object implements Comparable<FixedTimeController.Flank>
Storage of an offset within a cycle and the new traffic light color. Used to sort the flanks. The term 'flank' refers to the 'side' of the shape of an electronic signal impulse.
  • Constructor Details

    • Flank

      Flank(double offset, TrafficLightColor newColor)
      Construct a new Flank.
      Parameters:
      offset - double; offset within the cycle time
      newColor - TrafficLightColor; color to show after this transition
  • Method Details