Class CircularLaneSwing

    • Constructor Detail

      • CircularLaneSwing

        public CircularLaneSwing​(String title,
                                 OTSAnimationPanel panel,
                                 CircularLaneModel model)
                          throws org.opentrafficsim.draw.core.OTSDrawingException
        Create a CircularLane Swing application.
        Parameters:
        title - String; the title of the Frame
        panel - OTSAnimationPanel; the tabbed panel to display
        model - CircularLaneModel; the model
        Throws:
        org.opentrafficsim.draw.core.OTSDrawingException - on animation error
    • Method Detail

      • main

        public static void main​(String[] args)
        Main program.
        Parameters:
        args - String[]; the command line arguments (not used)
      • demo

        public static void demo​(boolean exitOnClose)
        Start the demo.
        Parameters:
        exitOnClose - boolean; when running stand-alone: true; when running as part of a demo: false
      • addStatisticsTabs

        protected final void addStatisticsTabs​(org.opentrafficsim.core.dsol.OTSSimulatorInterface simulator)
        Add the statistics tabs.
        Parameters:
        simulator - OTSSimulatorInterface; the simulator on which sampling can be scheduled