1
2
3
4
5
6
7
8
9
10
11
12
13
14 package nl.tudelft.simulation.supplychain.reference;
15
16 import javax.vecmath.Point3d;
17
18 import nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface;
19 import nl.tudelft.simulation.supplychain.banking.Bank;
20 import nl.tudelft.simulation.supplychain.roles.Role;
21
22 /***
23 * <br>
24 * Copyright (c) 2003-2005 Delft University of Technology, Jaffalaan 5, 2628 BX
25 * Delft, the Netherlands. All rights reserved.
26 *
27 * See for project information <a href="http://www.simulation.tudelft.nl/">
28 * www.simulation.tudelft.nl </a>.
29 *
30 * The source code and binary code of this software is proprietary information
31 * of Delft University of Technology.
32 *
33 * @author <a href="http://www.tbm.tudelft.nl/webstaf/peterja/index.htm">Peter
34 * Jacobs </a>, <a
35 * href="http://www.tbm.tudelft.nl/webstaf/alexandv/index.htm">Alexander
36 * Verbraeck </a>
37 * @version $$Revision: 1.4 $$ $$Date: 2005/05/03 18:53:29 $$
38 */
39 public class DistributionCenter extends Retailer
40 {
41 /*** the serial version uid */
42 private static final long serialVersionUID = 12L;
43
44 /***
45 * @param name the name of the Distribution Center
46 * @param simulator the simulator to use
47 * @param position the position on the map
48 * @param roles the initial roles (if any)
49 * @param bank the bank
50 */
51 public DistributionCenter(final String name,
52 final DEVSSimulatorInterface simulator, final Point3d position,
53 final Role[] roles, final Bank bank)
54 {
55 this(name, simulator, position, roles, bank, 0.0);
56 }
57
58 /***
59 * @param name the name of the Distribution Center
60 * @param simulator the simulator to use
61 * @param position the position on the map
62 * @param roles the initial roles (if any)
63 * @param bank the bank
64 * @param initialBankAccount the initial bank balance
65 */
66 public DistributionCenter(final String name,
67 final DEVSSimulatorInterface simulator, final Point3d position,
68 final Role[] roles, final Bank bank, final double initialBankAccount)
69 {
70 super(name, simulator, position, roles, bank, initialBankAccount);
71 }
72 }