Package org.opentrafficsim.web.test
Class TJunctionDemo
java.lang.Object
nl.tudelft.simulation.dsol.jetty.sse.OTSWebServer
org.opentrafficsim.web.test.TJunctionDemo
- All Implemented Interfaces:
java.util.EventListener
,EventListenerInterface
public class TJunctionDemo extends OTSWebServer
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 11 dec. 2016
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
Nested Class Summary
Nested classes/interfaces inherited from class nl.tudelft.simulation.dsol.jetty.sse.OTSWebServer
OTSWebServer.XHRHandler
-
Constructor Summary
Constructors Constructor Description TJunctionDemo(java.lang.String title, OTSSimulatorInterface simulator, OTSModelInterface model)
Create a T-Junction demo. -
Method Summary
Modifier and Type Method Description static void
main(java.lang.String[] args)
Start the demo.Methods inherited from class nl.tudelft.simulation.dsol.jetty.sse.OTSWebServer
getAnimationPanel, getSimulator, getTitle, notify, setSpeedFactor, startSimulator, stopSimulator
-
Constructor Details
-
TJunctionDemo
public TJunctionDemo(java.lang.String title, OTSSimulatorInterface simulator, OTSModelInterface model) throws java.lang.ExceptionCreate a T-Junction demo.- Parameters:
title
- String; the tile for the modelsimulator
- DEVSRealTimeClock.TimeDouble; the simulatormodel
- the model- Throws:
java.lang.Exception
- on jetty error
-
-
Method Details
-
main
public static void main(java.lang.String[] args) throws java.lang.ExceptionStart the demo.- Parameters:
args
- args- Throws:
java.lang.Exception
- on error
-