Class FixedTimeController.SignalGroup

java.lang.Object
org.opentrafficsim.trafficcontrol.FixedTimeController.SignalGroup
All Implemented Interfaces:
Identifiable
Enclosing class:
FixedTimeController

public static class FixedTimeController.SignalGroup
extends java.lang.Object
implements Identifiable
Fixed time signal group.

Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.

Version:
$Revision$, $LastChangedDate$, by $Author$, initial version 21 feb. 2019
Author:
Alexander Verbraeck, Peter Knoppers, Wouter Schakel
  • Constructor Details

    • SignalGroup

      public SignalGroup​(java.lang.String id, java.util.Set<java.lang.String> trafficLightIds, Duration offset, Duration green, Duration yellow)
      Constructor without pre-green duration.
      Parameters:
      id - String; id
      trafficLightIds - Set<String>; traffic light ids
      offset - Duration; offset from start of cycle
      green - Duration; green duration
      yellow - Duration; yellow duration
    • SignalGroup

      public SignalGroup​(java.lang.String id, java.util.Set<java.lang.String> trafficLightIds, Duration offset, Duration preGreen, Duration green, Duration yellow)
      Constructor with pre-green duration.
      Parameters:
      id - String; id
      trafficLightIds - Set<String>; traffic light ids
      offset - Duration; offset from start of cycle
      preGreen - Duration; pre-green duration
      green - Duration; green duration
      yellow - Duration; yellow duration
  • Method Details