Opus5
Class Simulation

java.lang.Object
  |
  +--Opus5.Simulation

public class Simulation
extends java.lang.Object

A discrete-event simulation of an M/M/1 queue. Illustrates the use of a priority queue.

Version:
$Id: Simulation.java,v 3.4 1998/12/14 02:57:41 brpreiss Exp $
Author:
Bruno R. Preiss, P.Eng.
See Also:
PriorityQueue

Constructor Summary
Simulation()
           
 
Method Summary
 void run(double timeLimit)
          Runs the simulation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Simulation

public Simulation()
Method Detail

run

public void run(double timeLimit)
Runs the simulation.
Parameters:
timeLimit - The amount of simulation time to be simulated.