A B C D E F G I L M N O P R S T U V W

A

action(Event, Object) - Method in class SimKit.SimGUI
This function is called in response to a user action like clicking on a button.
add(String) - Method in class SimKit.Arguments
Add a boolean valued key-value record to the data structure.
add(String, String) - Method in class SimKit.Arguments
Add a key-value record to the data structure.
Arguments - class SimKit.Arguments.
A data structure class that supports add and retreive operations.
Arguments() - Constructor for class SimKit.Arguments
Standard constructor - for normal usage
Arguments(String) - Constructor for class SimKit.Arguments
Construct the object with a string that contains key-value pairs, seperated by spaces.
Arguments(String[]) - Constructor for class SimKit.Arguments
Construct the object with an array of strings.
average() - Method in class Utility.WeightedTally
Report the weighted mean of the data points.
average() - Method in class Utility.Tally
Report the mean data point.

B

BatchFile - class SimKit.BatchFile.
The BatchFile class is used for running a simulation multiple times, each time with different arguments.
BatchFile(String) - Constructor for class SimKit.BatchFile
Open the batch file for read only access.
Beta - class Utility.Beta.
Beta is used to generate random variables from the Beta distribution.
Beta(int, int) - Constructor for class Utility.Beta
Beta constructor.

C

ChiSquare - class Utility.ChiSquare.
ChiSquare is used to generate random variables from the chi-squared distribution.
ChiSquare(int) - Constructor for class Utility.ChiSquare
ChiSquare constructor.
close() - Method in class SimKit.BatchFile
Close the input file
copy_and_delete() - Method in class SimKit.LP
Should be called when for performance reasons instead of creating a new Event via new operator the same received Event object is used.
count() - Method in class Utility.Tally
Report how many data points are in the tally.
currEvent() - Static method in class SimKit.Simulation
Report the current simulation event being executed.
currLP() - Static method in class SimKit.Simulation
Reports the current LP.
currTime() - Static method in class SimKit.Simulation
Report the current simulation time.

D

dbgPrint(String) - Static method in class SimKit.Simulation
Output debugging information.
dbgPrintEventList() - Static method in class SimKit.Simulation
Print out the whole FEL list, but only if the debug flag is set.
debugFlag() - Static method in class SimKit.Simulation
Report the status of the debug flag.
decEv - Static variable in class SimKit.Simulation
 
DecNumEvents() - Static method in class SimKit.Simulation
 
destinationLP() - Method in class SimKit.Event
The destination LP is set when send_and_delete is called.

E

Erlang - class Utility.Erlang.
Erlang is used to generate random variables from the Erlang distribution.
Erlang(double, double) - Constructor for class Utility.Erlang
Erlang constructor.
error(String) - Static method in class SimKit.Simulation
Report an error to the user.
Event - class SimKit.Event.
The Event class represents a simulation event (or message).
Event() - Constructor for class SimKit.Event
The Event constructor.
exists(String) - Method in class SimKit.Arguments
Search for a key in the database.
Exponential - class Utility.Exponential.
The Exponential class is used to generate random variables from an exponential distribution.
Exponential(double) - Constructor for class Utility.Exponential
The Exponential constructor initializes the exponential distribution by setting the distribution's mean.

F

fCount - Variable in class Utility.Tally
Count of values in the tally.
fDataPoints - Variable in class Utility.Tally
 
fDestLP - Variable in class SimKit.Event
The LP to which this event is destined.
FELToString() - Static method in class SimKit.Simulation
Report the event sequence in the future event list
fLPs - Static variable in class SimKit.Simulation
The list of LP's in the simulation, arbitrarily ordered.
fMax - Variable in class Utility.Tally
Maximum value in the tally.
fMin - Variable in class Utility.Tally
Minimum value in the tally.
fName - Variable in class Utility.Tally
The name of the tally.
fRecvTime - Variable in class SimKit.Event
The simulation time the event was received.
fSendTime - Variable in class SimKit.Event
The simulation time the event was sent.
fSrcLP - Variable in class SimKit.Event
The LP from which this event came.
fSum - Variable in class Utility.Tally
Sum of the values in the tally.
fSumSq - Variable in class Utility.Tally
Sum of the squares in the tally.
fWeights - Variable in class Utility.WeightedTally
 

G

Geometric - class Utility.Geometric.
Geometric is used to generate random variables from the geometric distribution.
Geometric(double) - Constructor for class Utility.Geometric
 
getMean() - Method in class Utility.Poisson
 
getMean() - Method in class Utility.Normal
 
getMean() - Method in class Utility.Erlang
 
getNextEvent() - Method in class SimKit.OrderedEventList
Returns the next Event in FEL.
getStdDev() - Method in class Utility.Normal
 
getStdDev() - Method in class Utility.Erlang
 
getVariance() - Method in class Utility.Normal
 
getVariance() - Method in class Utility.Erlang
 
goodnessOfFitTest(int, double[], double[]) - Method in class Utility.RandomNumber
Run a chi squared Goodness of Fit Test.
goodnessOfFitTest(int, double[], double[], int) - Method in class Utility.RandomNumber
Let the user specify how many parameters had to be estimated.

I

IncNumEvents() - Static method in class SimKit.Simulation
 
indexNumber() - Method in class SimKit.LP
Report the unique index number for this LP.
init() - Method in class SimKit.SimGUI
Initialize the applet, add all of it's buttons.
initialize() - Method in class SimKit.Simulation
Users of this class provide the implementation for this abstract function to initialize the simulation model.
initialize() - Method in class SimKit.LP
Initialization routine.
insertEvent(Event) - Method in class SimKit.OrderedEventList
Insert an Event in FEL
isStoringPoints() - Method in class Utility.Tally
Report whether or not this Tally object is storing the actual data points.

L

LP - class SimKit.LP.
This is the Logical Process (LP) abstract base class.
LP() - Constructor for class SimKit.LP
This constructor must be called by classes extending from LP.

M

max() - Method in class Utility.Tally
Report the maximum data point.
min() - Method in class Utility.Tally
Report the minimum data point.

N

nextArgs() - Method in class SimKit.BatchFile
Retrieve the next set of arguments from the text file.
Normal - class Utility.Normal.
Normal is used to generate random variables from the normal distribution.
Normal(double, double) - Constructor for class Utility.Normal
Normal constructor.
numEv - Static variable in class SimKit.Simulation
 

O

OrderedEventList - class SimKit.OrderedEventList.
A class used interanal to SimKit package only.
outputPoints(PrintStream, boolean) - Method in class Utility.WeightedTally
Output all the data points stored in the Tally object.
outputPoints(PrintStream, boolean) - Method in class Utility.Tally
Output all the data points stored in the Tally object.
outputSummary(PrintStream, boolean) - Method in class Utility.WeightedTally
Output the summary statistics that were collected for the WeightedTally.
outputSummary(PrintStream, boolean) - Method in class Utility.Tally
Output the summary statistics that were collected for the Tally.

P

Poisson - class Utility.Poisson.
The Poisson class is used to generate random variables from a Poisson distribution.
Poisson(double) - Constructor for class Utility.Poisson
The Poisson constructor initializes the Poisson distribution by setting the distribution's mean.
process(Event) - Method in class SimKit.LP
The process() function is the most important function for the LP class.

R

randomMixer() - Static method in class Utility.RandomNumber
 
RandomNumber - class Utility.RandomNumber.
The RandomNumber class implements a random number generator.
RandomNumber() - Constructor for class Utility.RandomNumber
 
recvTime() - Method in class SimKit.Event
The receive time is set when send_and_delete is called.
registerParameters(Arguments) - Method in class SimKit.SimGUI
This function should be called before the applet is run.
remove(String) - Method in class SimKit.Arguments
Remove a key-value record from the data structure.
reset() - Method in class Utility.WeightedTally
 
reset() - Method in class Utility.TimeSeriesTally
 
reset() - Method in class Utility.Tally
Remove all data points from the Tally.
resetRandomMixer(int) - Static method in class Utility.RandomNumber
Reset the random_mixer to a value greater than 5, default value is 5
retrieve(String) - Method in class SimKit.Arguments
Retrieve a key from the database.
retrieve(String, double) - Method in class SimKit.Arguments
Retrieve a key from the database.
retrieve(String, double, double, double) - Method in class SimKit.Arguments
Retrieve a key from the database.
retrieve(String, String) - Method in class SimKit.Arguments
Retrieve a key from the database.
run() - Method in class SimKit.Simulation
The standard entry point from class Runnable.
run() - Method in class SimKit.SimGUI
The run method for Applet, that implements the Runnable interface.
run(Arguments) - Method in class SimKit.SimGUI
Actually run the simulation from this method.

S

sample01() - Method in class Utility.RandomNumber
This function returns a uniform double in the interval [0,1).
sampleDouble() - Method in class Utility.Uniform
 
sampleDouble() - Method in class Utility.Triangular
Generate a random double from the triangular distribution.
sampleDouble() - Method in class Utility.RandomNumber
Draw a random sample.
sampleDouble() - Method in class Utility.Poisson
 
sampleDouble() - Method in class Utility.Normal
The sampleDouble function returns a random variable that is chosen from a normal distribution with parameters as set in the constructor.
sampleDouble() - Method in class Utility.Geometric
 
sampleDouble() - Method in class Utility.Exponential
Generate a random variable, a double, from the exponential distribution.
sampleDouble() - Method in class Utility.Erlang
The sampleDouble function returns a random variable that is chosen from a Erlang distribution with parameters as set in the constructor.
sampleDouble() - Method in class Utility.ChiSquare
The sampleDouble function returns a random variable that is chosen from a chi-squared distribution with degrees of freedom as set in the constructor.
sampleDouble() - Method in class Utility.Beta
The sampleDouble function returns a random variable that is chosen from a beta distribution with parameters as set in the constructor.
sampleInt() - Method in class Utility.Uniform
 
sampleInt() - Method in class Utility.Triangular
The sampleInt function should not be called for this continuous distribution.
sampleInt() - Method in class Utility.RandomNumber
Draw a random sample.
sampleInt() - Method in class Utility.Poisson
Generate a random variable, an int, from the poisson distribution.
sampleInt() - Method in class Utility.Normal
The sampleInt function should not be called for this continuous distribution.
sampleInt() - Method in class Utility.Geometric
Generate a geometrically distributed random variable.
sampleInt() - Method in class Utility.Exponential
The sampleInt function should not be called for this continuous distribution.
sampleInt() - Method in class Utility.Erlang
The sampleInt function should not be called for this continuous distribution.
sampleInt() - Method in class Utility.ChiSquare
The sampleInt function should not be called for this continuous distribution.
sampleInt() - Method in class Utility.Beta
The sampleInt function should not be called for this continuous distribution.
send_and_delete(LP, double) - Method in class SimKit.Event
Schedule a message for execution by an LP at a specific simulation time.
sendTime() - Method in class SimKit.Event
Report the time the event was sent.
seperator - Static variable in class Utility.Tally
Represents the string used for seperating consecutive numerical values.
setCurrLP(LP) - Static method in class SimKit.Simulation
Set the currentLP of the kernel
setDestLP(LP) - Method in class SimKit.Event
Set the destination LP of the event.
setEndTime(double) - Static method in class SimKit.Simulation
Tell the simulation kernel how long you want the simulation to run, runs begin at time zero and end when the next event to process has a timestamp greater than endtime.
SimGUI - class SimKit.SimGUI.
Base class that can optionally be used to create a graphical user interface for your simulation.
SimGUI() - Constructor for class SimKit.SimGUI
Create a new applet frame with title bar.
SimKit - package SimKit
 
Simulation - class SimKit.Simulation.
SimKit is a package for efficient discrete event modeling and simulation.
Simulation(Arguments) - Constructor for class SimKit.Simulation
The constructor for Simulation creates a run time kernel and accepts an instance of class Arguments.
sourceLP() - Method in class SimKit.Event
The source LP is set when send_and_delete is called.
stdDev() - Method in class Utility.WeightedTally
Report the standard deviation of the data points.
stdDev() - Method in class Utility.Tally
Report the standard deviation of the data points.
STORE_POINTS - Static variable in class Utility.Tally
 
sum() - Method in class Utility.Tally
Report the sum of the data points.
SUMMARY_ONLY - Static variable in class Utility.Tally
 
sumSq() - Method in class Utility.Tally
Report the sum of the squares of the data points.
sumWeights() - Method in class Utility.WeightedTally
 

T

Tally - class Utility.Tally.
Statistic Collection Objects
The Tally class is used for collecting simple statistics for a set of numbers.
Tally() - Constructor for class Utility.Tally
Initialize the object.
Tally(String, boolean) - Constructor for class Utility.Tally
Initialize the object, give the Tally a name.
terminate() - Method in class SimKit.Simulation
Users of this class provide the implementation for this abstract function.
terminate() - Method in class SimKit.LP
Termination routine.
TimeSeriesTally - class Utility.TimeSeriesTally.
The TimeSeriesTally class is for calculating weighted time series statistics for a bunch of points.
TimeSeriesTally() - Constructor for class Utility.TimeSeriesTally
 
toString() - Method in class SimKit.Simulation
Convert the simulation into a string.
toString() - Method in class SimKit.OrderedEventList
Returns a string with all events in the FEL.
toString() - Method in class SimKit.LP
Generate a textual description of the LP object.
toString() - Method in class SimKit.Event
Returns a string with this Event's unique ID number, source LP, sendtime receivetime and destination LP.
toString() - Method in class SimKit.Arguments
Generate a textual summary of what arguments are currently in the database.
Triangular - class Utility.Triangular.
Triangular is used to generate random variables from the triangular distribution.
Triangular(double, double, double) - Constructor for class Utility.Triangular
Triangular constructor.

U

Uniform - class Utility.Uniform.
The Uniform class is used to generate numbers uniformly distributed between the lowerBound and upperBound.
Uniform(double, double) - Constructor for class Utility.Uniform
 
Uniform(double, int) - Constructor for class Utility.Uniform
 
Uniform(int, double) - Constructor for class Utility.Uniform
 
Uniform(int, int) - Constructor for class Utility.Uniform
The Uniform constructor requires the lower and upper bounds and these may be either integers or doubles.
update(double) - Method in class Utility.WeightedTally
Add a data point to the tally.
update(double) - Method in class Utility.TimeSeriesTally
Add a data point to the tally.
update(double) - Method in class Utility.Tally
Updates the statistics with the data item x.
update(double, double) - Method in class Utility.WeightedTally
Updates the statistics with the weighted new value.
update(double, double) - Method in class Utility.TimeSeriesTally
Updates the statistics with the data item x with the weight calculated as the difference between the given time and the last given time point.
updateBatch(Tally) - Method in class Utility.WeightedTally
Update Tally with batch data.
updateBatch(Tally) - Method in class Utility.Tally
Update Tally with batch data.
Utility - package Utility
 

V

variance() - Method in class Utility.WeightedTally
Report the variance of the data points.
variance() - Method in class Utility.Tally
Report the variance of the data points.

W

WeightedTally - class Utility.WeightedTally.
The WeightedTally class is for weighted tallying of values.
WeightedTally() - Constructor for class Utility.WeightedTally
 
WeightedTally(String, boolean) - Constructor for class Utility.WeightedTally
Initialize the object, give the Tally a name.
WITH_HEADER - Static variable in class Utility.Tally
 
WO_HEADER - Static variable in class Utility.Tally
 

A B C D E F G I L M N O P R S T U V W