1
2
3
4
5
6
7
8
9
10 package nl.tudelft.simulation.dsol.tutorial.section25;
11
12 import nl.tudelft.simulation.dsol.ModelInterface;
13 import nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface;
14 import nl.tudelft.simulation.dsol.simulators.SimulatorInterface;
15
16 /***
17 * The Model class as presented in section 2.5 in the DSOL tutorial.
18 * <p>
19 * (c) copyright 2003-2004 <a href="http://www.simulation.tudelft.nl"> Delft
20 * University of Technology </a>, the Netherlands. <br>
21 * See for project information <a href="http://www.simulation.tudelft.nl">
22 * www.simulation.tudelft.nl </a> <br>
23 * License of use: <a href="http://www.gnu.org/copyleft/gpl.html">General Public
24 * License (GPL) </a>, no warranty <br>
25 *
26 * @version 1.1 Sep 6, 2004 <br>
27 * @author <a href="http://www.tbm.tudelft.nl/webstaf/peterja">Peter Jacobs </a>
28 */
29 public class Model implements ModelInterface
30 {
31 /***
32 * constructs a new Model
33 */
34 public Model()
35 {
36 super();
37 }
38
39 /***
40 * @see nl.tudelft.simulation.dsol.ModelInterface
41 * #constructModel(nl.tudelft.simulation.dsol.simulators.SimulatorInterface)
42 */
43 public void constructModel(final SimulatorInterface simulator)
44 {
45 DEVSSimulatorInterface devsSimulator = (DEVSSimulatorInterface) simulator;
46 new Customer(devsSimulator);
47 }
48 }