Class AbstractTrafficController

    • Constructor Detail

      • AbstractTrafficController

        public AbstractTrafficController​(String id,
                                         org.opentrafficsim.core.dsol.OTSSimulatorInterface simulator)
        Constructor for traffic controller.
        Parameters:
        id - String; id
        simulator - OTSSimulatorInterface; simulator
    • Method Detail

      • getId

        public String getId()
        Description copied from interface: TrafficController
        Retrieve the Id of the traffic light controller.
        Specified by:
        getId in interface org.opentrafficsim.base.Identifiable
        Specified by:
        getId in interface TrafficController
        Returns:
        id.