nl.tudelft.simulation.examples.dsol.timesharedcomputer
Class Computer

java.lang.Object
  extended by nl.tudelft.simulation.examples.dsol.timesharedcomputer.Computer
All Implemented Interfaces:
Serializable, ModelInterface

public class Computer
extends Object
implements ModelInterface

The Computer example as published in Simulation Modeling and Analysis by A.M. Law & W.D. Kelton section 1.4 and 2.4.
(c) copyright 2003 Delft University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
License of use: General Public License (GPL) , no warranty

Version:
1.1 02.04.2003
Author:
Peter Jacobs
See Also:
Serialized Form

Nested Class Summary
 class Computer.ExitCounter
          A counter which stops after a predifined number of jobs
 
Field Summary
static long NUMBER_OF_JOBS
          the number of jobs
static long NUMBER_OF_TERMINALS
          the number of terminals
 
Constructor Summary
Computer()
          constructs a new Computer
 
Method Summary
 void constructModel(SimulatorInterface simulator)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NUMBER_OF_JOBS

public static final long NUMBER_OF_JOBS
the number of jobs

See Also:
Constant Field Values

NUMBER_OF_TERMINALS

public static final long NUMBER_OF_TERMINALS
the number of terminals

See Also:
Constant Field Values
Constructor Detail

Computer

public Computer()
constructs a new Computer

Method Detail

constructModel

public void constructModel(SimulatorInterface simulator)
                    throws RemoteException
Specified by:
constructModel in interface ModelInterface
Throws:
RemoteException
See Also:
#constructModel(SimulatorInterface)


Copyright © 2002-2010 Delft University of Technology, the Netherlands. All Rights Reserved.