A C D E G H M N O P Q R S T U

A

action(Event, Object) - Method in class HBCSim.HBCForm
 
Activity - interface SimObs.Activity.
A way of implementing activity execution without method pointers.
add(int) - Method in class SimObs.Resource
Adds extra resource units to this resource pool.
addC(Activity) - Static method in class SimExec.Executive
Adds a new C to the end of the CList
addNewEntity(GEntity) - Static method in class SimExec.Executive
Called in user program when a new entity is to be added.
addToTail(Object) - Method in class SimObs.Queue
Puts the object on the tail of the queue.
avail - Variable in class SimObs.GEntity
If true, the entity is currently not committed to a B

C

callOver - Static variable in class HBCSim.PhoneEnq
The next service event
clerks - Static variable in class HBCSim.HBC3
The clerks who serve the customers
closeTraceFile() - Method in class SimObs.Trace
Safely closes the tracefile if it has ever been used during this simulation run.
commit(int) - Method in class SimObs.Resource
Commits thisAmount from the freeAmount available in this resource pool.
commit(long, Activity) - Method in class SimObs.GEntity
Updates the time cell, availability and next B of the entity.
cPhase() - Static method in class SimExec.Executive
Causes Cs to be attempted until none succeed.

D

destroyEntity(GEntity) - Static method in class SimExec.Executive
Called in user program when an entity is to be destroyed.
doNextB() - Method in class SimObs.GEntity
Calls the method representing the next B.
doThisNow() - Method in interface SimObs.Activity
 

E

entNum - Variable in class SimObs.GEntity
Unique counter ID for this entity
Executive - class SimExec.Executive.
Executive class to control a 3 phase simulation in which entity records are held in a Vector (details) and from which a temporary Vector (dueList) is created at each time beat to contain those entities with events due at the current event time.
Executive() - Constructor for class SimExec.Executive
Simple constructor, sets trace and traceEverOn fields to false so that no debug.txt file is created unless it is required.

G

GEntity - class SimObs.GEntity.
General entity class for three phase simulation.
GEntity(String) - Constructor for class SimObs.GEntity
Simple constructor.
getAmount() - Method in class SimObs.Resource
Returns with the total amount in this resource pool.
getAvail() - Method in class SimObs.GEntity
Returns with a boolean state showing whether the entity is currently committed to a B.
getClock() - Static method in class SimExec.Executive
Returns with the current value of the simulation time.
getCurrEnt() - Static method in class SimExec.Executive
Returns with the current entity - that is, the entity whose B is about to be processed or is being processed currently.
getEntNum() - Method in class SimObs.GEntity
Returns with the number of the entity.
getFreeAmount() - Method in class SimObs.Resource
Returns with the no of units currently unused in this resource pool.
getIAT() - Static method in class HBCSim.PhoneEnq
Returns with the mean inter arrival time.
getIAT() - Static method in class HBCSim.PersCust
Returns with the mean inter arrival time.
getInterval() - Static method in class HBCSim.Observer
Returns with the current observation interval.
getInterval() - Method in class HBCSim.HBCForm
 
getName() - Method in class SimObs.GEntity
Returns with the name of the entity.
getNumAdded() - Method in class SimObs.Queue
Returns with the number added to the queue so far.
getNumRemoved() - Method in class SimObs.Queue
Returns with the number removed from the queue so far.
getObsInt() - Method in class HBCSim.HBCForm
 
getPersA() - Method in class HBCSim.HBCForm
 
getPersS() - Method in class HBCSim.HBCForm
 
getPhoneA() - Method in class HBCSim.HBCForm
 
getPhoneS() - Method in class HBCSim.HBCForm
 
getRunDuration() - Static method in class SimExec.Executive
Returns with the intended duration of the simulation
getServiceTime() - Static method in class HBCSim.PhoneEnq
Computes and returns a random service time taken from a (negative) exponential distribution.
getServiceTime() - Static method in class HBCSim.PersCust
Computes and returns a random service time taken from a (negative) exponential distribution.
getSimDur() - Method in class HBCSim.HBCForm
 
getST() - Static method in class HBCSim.PhoneEnq
Returns with the mean service time.
getST() - Static method in class HBCSim.PersCust
Returns with the mean service time.
getTCell() - Method in class SimObs.GEntity
Returns with the current value of the time cell of the entity.
getTrace() - Method in class SimObs.Trace
Returns boolean state of trace data field
getTrace() - Static method in class SimExec.Executive
Returns with the boolean value of trace.
getTraceEverOn() - Method in class SimObs.Trace
Returns boolean state of traceEverOn.
getTraceEverOn() - Static method in class SimExec.Executive
Returns with the boolean value of traceEverOn.
getUtil() - Method in class SimObs.GEntity
Returns with the current utilisation of the entity.

H

HBC3 - class HBCSim.HBC3.
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.
HBC3() - Constructor for class HBCSim.HBC3
Constructor that sets up the basic parameters of the simulation.
HBCForm - class HBCSim.HBCForm.
 
HBCForm(String) - Constructor for class HBCSim.HBCForm
 
HBCSim - package HBCSim
 

M

main(String[]) - Static method in class HBCSim.HBC3
The main function of the application.
makeAvail(int) - Method in class SimObs.Resource
Release thisAmount of resource, thus increasing freeAmount by thisAmount.

N

name - Variable in class SimObs.GEntity
The name of the entity
NegExp(double) - Method in class SimObs.Sample
Returns with an integer sample from a (negative) exponential distribution with a double precision mean.
negExp(float) - Method in class SimObs.Sample
Returns with an integer sample from a (negative) exponential distribution with a floating point mean.
NegExp(int) - Method in class SimObs.Sample
Returns with an integer sample from a (negative) exponential distribution with an integer mean.
nextArrival - Static variable in class HBCSim.PersCust
The next arrival event
nextB - Variable in class SimObs.GEntity
The B in which this entity will engage when clock reaches the time cell
nextCall - Static variable in class HBCSim.PhoneEnq
The next arrival event
nextObservation - Static variable in class HBCSim.Observer
The next observation

O

Observer - class HBCSim.Observer.
Class to represent an observer noting quote lenghts at regular intervals

P

PersCust - class HBCSim.PersCust.
Class to represent customers who arrive in person at the theatre booking office in the harassed booking clerk problem.
PhoneEnq - class HBCSim.PhoneEnq.
Class to represent customers who phone in to the theatre booking office in the harassed booking clerk problem.
prevTime - Variable in class SimObs.GEntity
The previous time cell of the entity
print(String[]) - Method in class SimObs.Trace
Writes next to tracefile if trace is true
println(String[]) - Method in class SimObs.Trace
Writes a line of text to tracefile if trace is true
processEvent(Event) - Method in class HBCSim.HBCForm
 

Q

qIn - Static variable in class HBCSim.PhoneEnq
Personal customers waiting for sevice
qIn - Static variable in class HBCSim.PersCust
Personal customers waiting for sevice
qOut - Static variable in class HBCSim.PhoneEnq
Personal customers who have been served
qOut - Static variable in class HBCSim.PersCust
Personal customers who have been served
Queue - class SimObs.Queue.
Simple class that extends Vector so as to model queues.
Queue() - Constructor for class SimObs.Queue
Constructor, just sets the two data fields to zero.

R

release() - Method in class SimObs.GEntity
Releases an entity by putting avail to false and updating tCell.
removeFrame() - Method in class HBCSim.HBCForm
 
Resource - class SimObs.Resource.
Used to represent simulation objects that need not be represented as individual entities since they are identical and can be taken and returned by objects that are represented as entities.
Resource() - Constructor for class SimObs.Resource
Alternative constructor for an empty resource pool.
Resource(String, int) - Constructor for class SimObs.Resource
Simple constructor that give the resource a name and sets up the initial amount in the pool.

S

Sample - class SimObs.Sample.
Used to create streamable random numbers and associated routines to sample from probability distributions.
Sample(long) - Constructor for class SimObs.Sample
Constructor, passes the seed to the Random super-class.
schedule(GEntity, Activity, long) - Static method in class SimExec.Executive
Used when an entity needs to be committed to a B at some future time.
seedRND(long, long) - Static method in class HBCSim.PhoneEnq
Seeds both random number generators used by Sample for personal customers
seedRND(long, long) - Static method in class HBCSim.PersCust
Seeds both random number generators used by Sample for personal customers
serviceOver - Static variable in class HBCSim.PersCust
The next service event
setAboutState(boolean) - Method in class HBCSim.HBCForm
 
setAmount(int) - Method in class SimObs.Resource
Sets the amount in this resource.
setCStarted() - Static method in class SimExec.Executive
Sets CStarted as true to indicate that a C has been executed during the current C phase.
setFreeAmount(int) - Method in class SimObs.Resource
Sets the freeAmount in this resource.
setHelpState(boolean) - Method in class HBCSim.HBCForm
 
setInterval(int) - Static method in class HBCSim.Observer
Sets in the observation interval
setRunDuration(long) - Static method in class SimExec.Executive
Allows the user to set the planned duration of the simulation.
setTimes(int, int) - Static method in class HBCSim.PhoneEnq
Sets the mean inter-arrival and service times.
setTimes(int, int) - Static method in class HBCSim.PersCust
Sets the mean inter-arrival and service times.
setTrace(boolean) - Method in class SimObs.Trace
Sets trace to true to allow writing to tracefile
setTrace(boolean) - Static method in class SimExec.Executive
Sets the current value of trace to the indicated boolean state.
setUpQs() - Static method in class HBCSim.PhoneEnq
Instantiates queues pre and post service.
setUpQs() - Static method in class HBCSim.PersCust
Instantiates queues pre and post service.
show() - Method in class SimObs.GEntity
Writes information about the entity to the tracefile.
show() - Method in class SimObs.Queue
Writes the queue contents to tracefile.
showSimPars() - Method in class HBCSim.HBCForm
 
SimExec - package SimExec
 
SimObs - package SimObs
 
simulate() - Static method in class SimExec.Executive
Executes a complete 3 phase cycle

T

takeFromHead() - Method in class SimObs.Queue
Returns with the object currently at the head of the queue.
takeFromTail() - Method in class SimObs.Queue
Returns with the object currently at the tail of the queue.
tCell - Variable in class SimObs.GEntity
The time cell (time of next state change) of the entity
thisSimulation - Variable in class HBCSim.HBCForm
 
Trace - class SimObs.Trace.
Class to allow a running simulation program to write run-time debugging information to a specified output device.
Trace(String) - Constructor for class SimObs.Trace
Constructor that links the output to the device, naming a file.
traceFile - Static variable in class SimObs.Trace
Defines the output device

U

uniform(double, double) - Method in class SimObs.Sample
Returns with a sample from a uniform distribution.
uniform(float, float) - Method in class SimObs.Sample
Returns with a sample from a uniform distribution.
uniform(int, int) - Method in class SimObs.Sample
Returns with a sample from a uniform distribution.
util - Variable in class SimObs.GEntity
Total time for which the entity has been committed thus far

A C D E G H M N O P Q R S T U