HBCSim
Class HBC3

java.lang.Object
  |
  +--HBCSim.HBC3

public class HBC3
extends java.lang.Object

Contains the Cs, initialisation and finalisation for a 3 phase simulation of the Harassed Booking Clerk problem introduced in Pidd (1998) Computer Simulation in MAnagement Science, John Wiley, Chichester. Contains the main() function of the java application.


Field Summary
static HBCSim.Resource clerks
          The clerks who serve the customers
 
Constructor Summary
HBC3()
          Constructor that sets up the basic parameters of the simulation.
 
Method Summary
static void main(java.lang.String[] args)
          The main function of the application.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

clerks

public static HBCSim.Resource clerks
The clerks who serve the customers
Constructor Detail

HBC3

public HBC3()
Constructor that sets up the basic parameters of the simulation. It instantiates an executive, sets up Debug.txt as a trace file, creates 2 clerks as a resource pool, instantiates the first personal customer, first phone call, and the observer. Instantiates the Bs (these are classes via the Activity interface. Reads the parameters from the data input screen, sets up the queues and random number streams, schedules the arrivals of the first personal customer and first phone call and adds the two Cs to the cList.
Method Detail

main

public static void main(java.lang.String[] args)
The main function of the application. Calls up the input data screen.