A C D E G H I L M N P R S W

A

AbstractEvent - Class in <Unnamed>
Abstract class for simulation events.
AbstractEvent(int, int) - Constructor for class AbstractEvent
Constructor, only accessible to subclasses.
ARRIVAL_PRIORITY - Static variable in interface Event
Priority level for arrivals is 0, the lowest priority.
ArrivalEvent - Class in <Unnamed>
Class for customer arrival events.
ArrivalEvent(int) - Constructor for class ArrivalEvent
Create a customer arrival event.

C

clearTimestamp() - Method in class Customer
Remove any timestamp.
collect(double) - Method in class Statistic
Adds a value to the statistic collection
collect(double, int) - Method in class WeightedStatistic
Adds a value to the statistic collection
compareTo(Event) - Method in class AbstractEvent
Compares this event to the given event.
count() - Method in class Statistic
Retrieves the count of how many values collected so far
current() - Method in class Statistic
Retrieves the most recent value collected
currentValue - Variable in class Statistic
 
Customer - Class in <Unnamed>
Class for simulation customers.
Customer() - Constructor for class Customer
Create a new customer.

D

DEPARTURE_PRIORITY - Static variable in interface Event
Priority level for departures is 3, the highest priority.
DepartureEvent - Class in <Unnamed>
Class for customer departure events.
DepartureEvent(int) - Constructor for class DepartureEvent
Create a customer departure event.

E

enter(Customer) - Method in class WaitingLine
Place customer into the line.
Event - Interface in <Unnamed>
Interface for simulation events.

G

getCustomer() - Method in class Server
Obtain reference to Customer currently using this server.
getID() - Method in class Customer
Retrieve customer's ID
getLineLengthStat() - Method in class WaitingLine
Retrieve WeightedStatistic for line length
getName() - Method in class Server
Obtain name given to this server when it was constructed.
getName() - Method in class WaitingLine
Retrieve name given to this waiting line
getPriority() - Method in class AbstractEvent
Retrieves the event's priority.
getPriority() - Method in interface Event
Retrieves the event's priority.
getServiceTimeStat() - Method in class Server
Obtain reference to server's service time statistic.
getTime() - Method in class AbstractEvent
Retrieves the event's scheduled time.
getTime() - Method in interface Event
Retrieves the event's scheduled time.
getTimestamp() - Method in class Customer
Retrieve the current timestamp.
getUtilizationStat() - Method in class Server
Obtain reference to server utilization statistic.
getWaitTimeStat() - Method in class WaitingLine
Retrieve Statistic for waiting time

H

highest() - Method in class Statistic
Retrieves the highest value collected so far
highestValue - Variable in class Statistic
 

I

isBusy() - Method in class Server
Determine whether or not server is busy with customer.
isEmpty() - Method in class WaitingLine
Reports whether any customers are waiting in line

L

leave() - Method in class WaitingLine
Removes a customer from the front of the line
length() - Method in class WaitingLine
Determine how many customers are waiting in line
lowest() - Method in class Statistic
Retrieves the lowest value collected so far
lowestValue - Variable in class Statistic
 

M

main(String[]) - Static method in class RandomExponential
 
main(String[]) - Static method in class RandomNormal
 
mean() - Method in class Statistic
Retrieves the mean (average) of the values collected so far

N

name() - Method in class Statistic
Retrieves the name given to the Statistic object
nextDouble() - Method in class RandomExponential
Take a sample from the distribution.
nextDouble(double, double) - Method in class RandomExponential
Take a sample from the distribution.
nextDouble() - Method in class RandomNormal
Take a sample from the distribution.
nextDouble(double, double) - Method in class RandomNormal
Take a sample from the distribution.
nextInt() - Method in class RandomExponential
Take a sample from the distribution.
nextInt(int, int) - Method in class RandomExponential
Take a sample from the distribution.
nextInt() - Method in class RandomNormal
Take a sample from the distribution.
nextInt(int, int) - Method in class RandomNormal
Take a sample from the distribution.
NO_TIMESTAMP - Static variable in class Customer
 
numSamples - Variable in class Statistic
 

P

process() - Method in class ArrivalEvent
Process an arrival event.
process() - Method in class DepartureEvent
Process a departure event.
process() - Method in interface Event
Process this event.
process() - Method in class SimulationEndEvent
Process a simulation end event.
process() - Method in class SimulationReportEvent
Process a simulation report event.

R

RandomExponential - Class in <Unnamed>
Class for sampling randomly from the Exponential distribution with a specified mean.
RandomExponential(double) - Constructor for class RandomExponential
Create RNG with no seed, samples from exponential distribution with given mean.
RandomExponential(int, double) - Constructor for class RandomExponential
Create RNG with specified seed, samples from exponential distribution with given mean.
RandomNormal - Class in <Unnamed>
Class for sampling randomly from the Normal (Gaussian) distribution with a specified mean and standard deviation.
RandomNormal() - Constructor for class RandomNormal
Create RNG with all default values: no seed, no limits, standard normal distribution.
RandomNormal(int) - Constructor for class RandomNormal
Create RNG with specified seed for standard normal distribution.
RandomNormal(double, double) - Constructor for class RandomNormal
Create RNG with no seed, samples from normal distribution with given mean and standard deviation.
RandomNormal(int, double, double) - Constructor for class RandomNormal
Create RNG with specified seed, samples from normal distribution with given mean and standard deviation.
release() - Method in class Server
Server is ordered to release its current customer.
request(Customer) - Method in class Server
Customer requests to use the server.

S

Server - Class in <Unnamed>
Class for simulation server resources.
Server(String) - Constructor for class Server
Creates new Server that is idle.
setPriority(int) - Method in class AbstractEvent
Sets the event's priority.
setTime(int) - Method in class AbstractEvent
Set the event's scheduled time.
setTimestamp(int) - Method in class Customer
Record timestamp for any relevent event.
SIMULATIONEND_PRIORITY - Static variable in interface Event
Priority level for the simulation end event is 1, between report and arrival.
SimulationEndEvent - Class in <Unnamed>
Class for simulation termination events.
SimulationEndEvent(int) - Constructor for class SimulationEndEvent
Create a simulation end event.
SIMULATIONREPORT_PRIORITY - Static variable in interface Event
Priority level for the simulation report event is 2, between departure and end.
SimulationReportEvent - Class in <Unnamed>
Class for simulation report events.
SimulationReportEvent(int) - Constructor for class SimulationReportEvent
Create a simulation report event.
standardDeviation() - Method in class Statistic
Retrieves the standard deviation of the values collected so far
Statistic - Class in <Unnamed>
Abstract data type to collect values and provide certain statistical properties of the collection.
Statistic(String) - Constructor for class Statistic
Constructor
statisticName - Variable in class Statistic
 
sum() - Method in class Statistic
Retrieves the sum of the values collected so far
sumOfValues - Variable in class Statistic
 
sumsqOfValues - Variable in class Statistic
 

W

WaitingLine - Class in <Unnamed>
Class for simulation FIFO waiting line (queue).
WaitingLine(String) - Constructor for class WaitingLine
Creates new WaitingLine that is empty.
WeightedStatistic - Class in <Unnamed>
Abstract data type to collect values and provide certain statistical properties of the collection.
WeightedStatistic(String) - Constructor for class WeightedStatistic
Constructor.

A C D E G H I L M N P R S W