Serialized Form


Package jsim.animator

Class jsim.animator.AnimationImp.AnimationFrame extends javax.swing.JFrame implements Serializable

serialVersionUID: 4374612948306420199L

Serialized Fields

ai

AnimationImp ai

horbar

java.awt.Scrollbar horbar
Horizontal scrollbar.


verbar

java.awt.Scrollbar verbar
Vertical scrollbar.

Class jsim.animator.AnimationImp.AnimationPanel extends javax.swing.JPanel implements Serializable

serialVersionUID: 7658473847211209083L

Class jsim.animator.AnimationMenu extends java.awt.Menu implements Serializable

serialVersionUID: 4003928821349032823L

Serialized Fields

star

java.awt.MenuItem star
Start simulation control.


stop

java.awt.MenuItem stop
Stop animation control.


starA

java.awt.MenuItem starA
Start animation control.


fast

java.awt.MenuItem fast
Fast simulation control.


slow

java.awt.MenuItem slow
Slow simulation control.


stat

java.awt.MenuItem stat
Show statistics control.


show

java.awt.MenuItem show
Show simulation control.


env

AnimationImp env
Containing AnimationImp.


mod

Model mod
Containing Model.


Package jsim.jmessage

Class jsim.jmessage.CostReport extends Message implements Serializable

serialVersionUID: 6865934528700823025L

Serialized Fields

modelName

java.lang.String modelName
Model name


numOfNodes

int numOfNodes
Number of nodes


statData

double[] statData
Statistic data needed by the ReplicationAgent


statLabel

java.lang.String[] statLabel
Names of the statistic result


costStatName

java.lang.String[] costStatName
Name of cost statistics


costObsStatName

java.lang.String[] costObsStatName
Name of cost observation statistics


costStat

java.lang.Double[][] costStat
Cost statistics


costObsStat

java.lang.Double[][] costObsStat
Cost observation statistics

Class jsim.jmessage.DBConnectionInfo extends java.lang.Object implements Serializable

serialVersionUID: 5847584212343544565L

Serialized Fields

framework

java.lang.String framework
Type of client/server framework. Only needed by the Cloudscape database management system that we use here by default.


url

java.lang.String url
Database URL


username

java.lang.String username
User name


passwd

java.lang.String passwd
Password


driverClassName

java.lang.String driverClassName
Driver class name

Class jsim.jmessage.FinalReport extends Message implements Serializable

serialVersionUID: 6865934528700823025L

Serialized Fields

modelName

java.lang.String modelName
Model name


numOfNodes

int numOfNodes
Number of nodes


statData

double[] statData
Statistic data needed by the ReplicationAgent


statLabel

java.lang.String[] statLabel
Names of the statistic result


timeStatName

java.lang.String[] timeStatName
Name of time statistics


occuStatName

java.lang.String[] occuStatName
Name of occupancy statistics


costStatName

java.lang.String[] costStatName
Name of cost statistics


timeObsStatName

java.lang.String[] timeObsStatName
Name of time observation statistics


occuObsStatName

java.lang.String[] occuObsStatName
Name of the occupancy statistics


costObsStatName

java.lang.String[] costObsStatName
Name of cost observation statistics


timeStat

java.lang.Double[][] timeStat
Time statistics


occuStat

java.lang.Double[][] occuStat
Occupancy statistics


costStat

java.lang.Double[][] costStat
Cost statistics


timeObsStat

java.lang.Double[][] timeObsStat
Time observation statistics


occuObsStat

java.lang.Double[][] occuObsStat
Occupancy observation statistics


costObsStat

java.lang.Double[][] costObsStat
Cost observation statistics

Class jsim.jmessage.Inject extends Message implements Serializable

serialVersionUID: 6577665443345419283L

Serialized Fields

timeStamp

double timeStamp
Time stamp

Class jsim.jmessage.Instruct extends Message implements Serializable

serialVersionUID: 4345743228832314324L

Serialized Fields

scenarioID

java.lang.Integer scenarioID
The ID for the scenario

Class jsim.jmessage.InterimReport extends Message implements Serializable

serialVersionUID: 8584732343129393948L

Serialized Fields

statData

double[] statData
Statistical data

Class jsim.jmessage.JsimEvent extends java.util.EventObject implements Serializable

serialVersionUID: 3249586723092239495L

Serialized Fields

source

java.lang.Object source
The event source.


eventID

long eventID
The event identifier.


handback

java.lang.Object handback
The handback/message object.

Class jsim.jmessage.Message extends java.lang.Object implements Serializable

Serialized Fields

actionType

java.lang.String actionType
Type of message

Class jsim.jmessage.ModelData extends java.lang.Object implements Serializable

serialVersionUID: -8234208208924284028L

Serialization Methods

readObject

public void readObject(java.io.ObjectInputStream in)
                throws java.io.IOException,
                       java.lang.ClassNotFoundException
Meets the Java serialization requirements.

Throws:
java.io.Exception, - java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException

writeObject

public void writeObject(java.io.ObjectOutputStream out)
                 throws java.io.IOException
Meets the Java serialization requirements.

Throws:
java.io.IOException
Serialized Fields

modelName

java.lang.String modelName
The model name


props

NodeProps[] props
The input model properties


stats

NodeStats[] stats
The output statistical result of the simulation

Class jsim.jmessage.ModelProperties extends Message implements Serializable

serialVersionUID: 2334545677878654323L

Serialized Fields

modelName

java.lang.String modelName
The model name


numOfNodes

int numOfNodes
Number of nodes in the model


nodeName

java.lang.String[] nodeName
The name of each node


nodeType

int[] nodeType
The type of each node


numOfTokens

int[] numOfTokens
The number of tokens for each node


timeDist

java.lang.String[] timeDist
The time distribution of each node


alpha

java.lang.Double[] alpha
The first parameter of a two-param variate for each node


beta

java.lang.Double[] beta
The second parameter of a three-param variate for each node


gamma

java.lang.Double[] gamma
The third parameter of a four-param variate for each node


stream

java.lang.Integer[] stream
The last parameter of a variate for each node

Class jsim.jmessage.NodeProps extends java.lang.Object implements Serializable

serialVersionUID: 4837485712323354654L

Serialized Fields

nodeName

java.lang.String nodeName
The node name


nodeType

int nodeType
The node type (SOURCE, FACILITY, SINK, etc)


numOfTokens

int numOfTokens
The number of tokens associated with this node.


timeDist

java.lang.String timeDist
The name of the distribution type (variate name)


alpha

java.lang.Double alpha
The alpha parameter for the distribution


beta

java.lang.Double beta
The beta parameter for the distribution


gamma

java.lang.Double gamma
The beta parameter for the distribution


stream

java.lang.Integer stream
The stream parameter for the distribution

Class jsim.jmessage.NodeStats extends java.lang.Object implements Serializable

serialVersionUID: 6865934528700823025L

Serialized Fields

tNoSamples

java.lang.Integer tNoSamples

tMinValue

java.lang.Double tMinValue

tMaxValue

java.lang.Double tMaxValue

tMeanValue

java.lang.Double tMeanValue

tDeviation

java.lang.Double tDeviation

tInterval

java.lang.Double tInterval

tPrecision

java.lang.Double tPrecision

tObsNoSamples

java.lang.Integer tObsNoSamples

tObsMinValue

java.lang.Double tObsMinValue

tObsMaxValue

java.lang.Double tObsMaxValue

tObsMeanValue

java.lang.Double tObsMeanValue

tObsDeviation

java.lang.Double tObsDeviation

tObsInterval

java.lang.Double tObsInterval

tObsPrecision

java.lang.Double tObsPrecision

oNoSamples

java.lang.Integer oNoSamples

oMinValue

java.lang.Double oMinValue

oMaxValue

java.lang.Double oMaxValue

oMeanValue

java.lang.Double oMeanValue

oDeviation

java.lang.Double oDeviation

oInterval

java.lang.Double oInterval

oPrecision

java.lang.Double oPrecision

oObsNoSamples

java.lang.Integer oObsNoSamples

oObsMinValue

java.lang.Double oObsMinValue

oObsMaxValue

java.lang.Double oObsMaxValue

oObsMeanValue

java.lang.Double oObsMeanValue

oObsDeviation

java.lang.Double oObsDeviation

oObsInterval

java.lang.Double oObsInterval

oObsPrecision

java.lang.Double oObsPrecision

Class jsim.jmessage.Query extends Message implements Serializable

serialVersionUID: 6854703020302915825L

Serialized Fields

queryStr

java.lang.String queryStr
The SQL query string to be sent to the DBAgent.

Class jsim.jmessage.Result extends Message implements Serializable

serialVersionUID: 1392845080249194813L

Serialization Methods

readObject

public void readObject(java.io.ObjectInputStream in)
                throws java.io.IOException,
                       java.lang.ClassNotFoundException
Meets the Java serialization requirements.

Throws:
java.io.IOException, - java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException

writeObject

public void writeObject(java.io.ObjectOutputStream out)
                 throws java.io.IOException
Meets the Java serialization requirements.

Throws:
java.io.IOException
Serialized Fields

nCols

int nCols
The number of columns


nRows

int nRows
The number of rows


colLabel

java.lang.String[] colLabel
The column labels


value

java.lang.Object[][] value
The value


info

java.lang.String info
The information or message from the DBAgent

Class jsim.jmessage.Simulate extends Message implements Serializable

serialVersionUID: 675650800527491650L

Serialized Fields

agentName

java.lang.String agentName
Name of the agent that generates the control data


batchSize

java.lang.Integer batchSize
Batch size.


numOfBatches

java.lang.Integer numOfBatches
Number of batches.


relativePrecision

java.lang.Double relativePrecision
Relative precision.


confidenceLevel

java.lang.Double confidenceLevel
Confidence level.


replicationSize

java.lang.Integer replicationSize
Replication size.


numOfReplications

java.lang.Integer numOfReplications
Number of replications.


transientPeriod

java.lang.Double transientPeriod
Transient period.

Class jsim.jmessage.Store extends Message implements Serializable

serialVersionUID: -6292887518843050290L

Serialization Methods

readObject

public void readObject(java.io.ObjectInputStream in)
                throws java.io.IOException,
                       java.lang.ClassNotFoundException
Meets the Java serialization requirements.

Throws:
java.io.Exception
java.io.IOException
java.lang.ClassNotFoundException

writeObject

public void writeObject(java.io.ObjectOutputStream out)
                 throws java.io.IOException
Meets the Java serialization requirements.

Throws:
java.io.IOException
Serialized Fields

scenarioID

java.lang.Integer scenarioID
The ID of the scenario that the federate participates in


agentData

Simulate agentData
The model agent control data


modelData

ModelData modelData
The model input and output data


Package jsim.jmodel

Class jsim.jmodel.DesignAgent extends javax.swing.JApplet implements Serializable

serialVersionUID: 4958473264557689606L

Class jsim.jmodel.FileDialog extends java.awt.Dialog implements Serializable

serialVersionUID: 3223345456699009768L

Serialized Fields

fileName

java.awt.Label fileName
File name label


fileNameV

java.awt.TextField fileNameV
File name value


applyButton

java.awt.Button applyButton
Apply button


cancelButton

java.awt.Button cancelButton
Cancel button


inMenu

FileMenu inMenu
Associated file menu

Class jsim.jmodel.FileMenu extends javax.swing.JMenu implements Serializable

serialVersionUID: 1554377226778654595L

Serialized Fields

localFrame

NetFrame localFrame
Containing frame.


designCanvas

NetCanvas designCanvas
Containing frame.


doNew

javax.swing.JMenuItem doNew
Create a new model.


doOpen

javax.swing.JMenuItem doOpen
Open/load model.


doSave

javax.swing.JMenuItem doSave
Save model.


doSaveAs

javax.swing.JMenuItem doSaveAs
Save as model.


doExit

javax.swing.JMenuItem doExit
Save and exit.


doQuit

javax.swing.JMenuItem doQuit
Exit only.


fileName

java.lang.String fileName
Filename to hold saved model.


modelName

java.lang.String modelName
Name of model.

Class jsim.jmodel.FrameMenuBar extends javax.swing.JMenuBar implements Serializable

serialVersionUID: 6587219786742100592L

Serialized Fields

localCanvas

NetCanvas localCanvas
Drawing canvas


localFrame

NetFrame localFrame
Containing frame


file

FileMenu file
First menu in bar


setup

javax.swing.JMenu setup
Second menu in bar


help

HelpMenu help
Third menu in bar

Class jsim.jmodel.HelpFrame extends java.awt.Frame implements Serializable

serialVersionUID: 2742958109486094832L

Serialized Fields

display

java.awt.TextArea display
Text area to display help information


bottom

java.awt.Panel bottom
Bottom panel


fillLabelLeft

java.awt.Label fillLabelLeft
Left label


fillLabelRight

java.awt.Label fillLabelRight
Right label


dismissButton

java.awt.Button dismissButton
Dismiss button

Class jsim.jmodel.HelpMenu extends javax.swing.JMenu implements Serializable

serialVersionUID: 4079686079685958416L

Serialized Fields

explainButtons

javax.swing.JMenuItem explainButtons

explainServer

javax.swing.JMenuItem explainServer

explainFacility

javax.swing.JMenuItem explainFacility

explainSource

javax.swing.JMenuItem explainSource

explainSink

javax.swing.JMenuItem explainSink

explainTransport

javax.swing.JMenuItem explainTransport

explainMove

javax.swing.JMenuItem explainMove

explainDelete

javax.swing.JMenuItem explainDelete

explainUpdate

javax.swing.JMenuItem explainUpdate

explainGenerate

javax.swing.JMenuItem explainGenerate

Class jsim.jmodel.NetCanvas extends javax.swing.JPanel implements Serializable

serialVersionUID: 6323259977400321451L

Serialized Fields

inFrame

java.awt.Frame inFrame
Frame containing canvas.


view

java.awt.Point view
View of screen.


offscreenImg

java.awt.Image offscreenImg
Image for use in double-buffering.


offscreenG

java.awt.Graphics2D offscreenG
Graphics buffer for use in double-buffering.


actionType

int actionType
Type of action.


modelName

java.lang.String modelName
Name of model.


numNodes

int numNodes
Number of nodes.


node

Node[] node
Array of nodes.


moveNode

Node moveNode
Node being moved.


nMoveNode

int nMoveNode
Node number being moved.


from

java.awt.geom.Point2D.Float from
This node's original location.


edgePt

java.awt.geom.Point2D.Float[] edgePt
Points defining an edge.


clickCount

int clickCount
Number of mouse clicks in current action.

Class jsim.jmodel.NetFrame extends javax.swing.JFrame implements Serializable

serialVersionUID: 7112445388695435778L

Serialized Fields

designCanvas

NetCanvas designCanvas
Drawing canvas for creating model.

Class jsim.jmodel.NodeDialog extends java.awt.Dialog implements Serializable

serialVersionUID: 5175968472652209384L

Serialized Fields

nodeNameV

java.awt.TextField nodeNameV
Node name value


queueTypeV

java.awt.TextField queueTypeV
Type of queue value


numTokensV

java.awt.TextField numTokensV
Number of tokens value


distChoiceV

java.awt.Choice distChoiceV
Random variate distribution value


alphaV

java.awt.TextField alphaV
Alpha parameter value


betaV

java.awt.TextField betaV
Beta parameter value


streamV

java.awt.TextField streamV
Random number stream value


costDistChoiceV

java.awt.Choice costDistChoiceV
Random variate distribution value for cost


costAlphaV

java.awt.TextField costAlphaV
Alpha parameter value for cost


costBetaV

java.awt.TextField costBetaV
Beta parameter value for cost


costStreamV

java.awt.TextField costStreamV
Random number stream value for cost


applyButton

java.awt.Button applyButton
Apply button


cancelButton

java.awt.Button cancelButton
Cancel button


onNode

Node onNode
Node whose parameters are being updated

Class jsim.jmodel.TransportDialog extends java.awt.Dialog implements Serializable

serialVersionUID: 5175968472652209384L

Serialized Fields

distChoiceV

java.awt.Choice distChoiceV

alphaV

java.awt.TextField alphaV
Alpha parameter value


betaV

java.awt.TextField betaV
Beta parameter value


streamV

java.awt.TextField streamV
Random number stream value


outConditionV

java.awt.TextField outConditionV
Random number stream value


applyButton

java.awt.Button applyButton
Apply button


cancelButton

java.awt.Button cancelButton
Cancel button


outCondChoiceV

java.awt.Choice outCondChoiceV
OutCondType button


onQCurve

QCurve onQCurve
QCurve whose parameters are being updated


Package jsim.process

Class jsim.process.EntityException extends java.lang.RuntimeException implements Serializable

serialVersionUID: 8759483726194837463L

Class jsim.process.Model extends java.awt.Frame implements Serializable

serialVersionUID: 8574837282718746123L

Serialized Fields

mName

java.lang.String mName

horbar

java.awt.Scrollbar horbar
Horizontal scrollbar.


verbar

java.awt.Scrollbar verbar
Vertical scrollbar.


displayThread

java.lang.Thread displayThread
Thread to display animation of simulation.


use_xml

boolean use_xml
JSIM system property: use_xml


generate_xml_files

boolean generate_xml_files
JSIM system property: generate_xml_files


stopTime

double stopTime
Maximum time until sources are shut down (for safety).


startSim

boolean startSim
Start simulation flag.


stopSim

boolean stopSim
Stop simulation flag.


primaryStat

java.lang.String primaryStat
Primary statistic to observe for stopping rule.


numNodes

int numNodes
Actual number of nodes


dynNode

DynamicNode[] dynNode
Put every node in set as constructed (see DynamicNode)


liveEntity

java.util.LinkedList<E> liveEntity
Put every live entity in set


joinEntity

java.util.HashMap<K,V> joinEntity
Put nodes waiting on an AND join in map


lostJoinEntity

java.util.HashMap<K,V> lostJoinEntity
Put nodes waiting that are lost in map

Class jsim.process.ModelMenu extends java.awt.Menu implements Serializable

serialVersionUID: 4837285496859483938L

Serialized Fields

star

java.awt.MenuItem star
Start simulation control.


stop

java.awt.MenuItem stop
Stop simulation control.


fast

java.awt.MenuItem fast
Fast simulation control.


slow

java.awt.MenuItem slow
Slow simulation control.


show

java.awt.MenuItem show
Show simulation control.


stat

java.awt.MenuItem stat
Show statistics control.


env

Model env
Containing model.

Class jsim.process.StopException extends java.lang.RuntimeException implements Serializable

serialVersionUID: 2483748594850643265L


Package jsim.queue

Class jsim.queue.FullQueueException extends java.lang.RuntimeException implements Serializable

serialVersionUID: 3859748374837292234L


Package jsim.statistic

Class jsim.statistic.BatchStat extends SampleStat implements Serializable

serialVersionUID: 124573465970698857L

Serialized Fields

obs

SampleStat obs
Individual observations are also tallied


batchSize

int batchSize
Size of batch


oldBatchSize

int oldBatchSize
Old size of batch, in case batch size is double.


numberOfBatch

int numberOfBatch
Number of batch need to be collected by model manager


batchHolder

double[] batchHolder
Array to store the batch mean values collected for Model Manager.


localArray

double[] localArray
Array to store the batch mean values locally for statistical data output


cursor

int cursor
Cursor that indicates the index of next input in local Array


nBatch

int nBatch
The current batch number


count

int count
The number of observations collected in the current batch


bSum

double bSum
Sum of collected values within a batch


primary

boolean primary
Flag to show if this BatchStat is the primary statistic

Class jsim.statistic.CostStatFrame extends java.awt.Frame implements Serializable

serialVersionUID: 4093820384721547549L

Serialized Fields

use_xml

boolean use_xml
JSIM system property: use_xml


generate_xml_files

boolean generate_xml_files
JSIM system property: generate_xml_files

Class jsim.statistic.DistHistograms extends java.awt.Frame implements Serializable

serialVersionUID: 2939487162543756451L

Serialized Fields

intervalTF

java.awt.TextField intervalTF
Text field for interval


numberTF

java.awt.TextField numberTF
Text field for number


generatorType

java.awt.Choice generatorType
Choice for generating type


toGenBtn

java.awt.Button toGenBtn
Button for generating


cancelBtn

java.awt.Button cancelBtn
Button for cancel


his

Histogram his
Instance of Histogram


valDbl

double[] valDbl
Array to store the data generated by the distribution


number

int number
Size of valDbl array


interval

double interval
Interval value


genIndex

int genIndex
Integer variable for type of distribution

Class jsim.statistic.Histogram extends java.awt.Frame implements Serializable

serialVersionUID: 5432126598786565456L

Serialized Fields

value

double[] value
Array of data values used as input for producing histogram


numValues

int numValues
Number of data values


intervalWidth

double intervalWidth
Width of intervals in histogram


histo

int[] histo
Array of histogram counters (# data values within intervals)


maxHisto

int maxHisto
Maximum histogram counter value


title

java.lang.String title
Title string


titleFont

java.awt.Font titleFont
Title font


titleFontMetrics

java.awt.FontMetrics titleFontMetrics
Title font metrics


extreme

Extreme extreme
Instance of Extreme to record minimum and maximum data values


numIntervals

int numIntervals
Number of intervals

Class jsim.statistic.SampleStat extends Statistic implements Serializable

serialVersionUID: 6777463523726212309L

Serialized Fields

oldMu

double oldMu
Added by Xuewei Xiang, 11/17/98 valuable to store previous value of obs.

Class jsim.statistic.StatException extends java.lang.RuntimeException implements Serializable

serialVersionUID: 3254413243544353687L

Serialized Fields

data

double[] data
Constructs an exception to stop the simulation. FIX

Class jsim.statistic.StatFrame extends java.awt.Frame implements Serializable

serialVersionUID: 4093820384721547549L

Serialized Fields

use_xml

boolean use_xml
JSIM system property: use_xml


generate_xml_files

boolean generate_xml_files
JSIM system property: generate_xml_files

Class jsim.statistic.Statistic extends java.lang.Object implements Serializable

Serialized Fields

name

java.lang.String name
Name of the statistic being collected


primary

boolean primary
Whether this is the primary statistic for a model


nobs

double nobs
Number of observations


lastTime

double lastTime
Time of last observation


minValue

double minValue
Minimum value of sample data


maxValue

double maxValue
Maximum value of sample data


sum

double sum
Sum of sample data


sumSquares

double sumSquares
Sum of squares


sumSquBatch

double sumSquBatch
Sum of Square value between two consective observations collected for batch statistics

Class jsim.statistic.TestHisto extends java.applet.Applet implements Serializable

serialVersionUID: 3198605940302020403L

Class jsim.statistic.TimeStat extends Statistic implements Serializable

serialVersionUID: 6847321436437958473L


Package jsim.util

Class jsim.util.QCurve extends java.awt.geom.QuadCurve2D.Double implements Serializable

serialVersionUID: 4376890213965839091L

Serialized Fields

straight

boolean straight
Flag indicating whether curve is actaully a straight line.


val

jsim.util.QCurve.Coefficients val
Values of coefficients of quadratic equation.


rX1

double rX1
Revised coordinates of start point.


rY1

double rY1
Revised coordinates of start point.


rX2

double rX2
Revised coordinates of end point.


rY2

double rY2
Revised coordinates of end point.


distribution

java.lang.String distribution
Probability distribution


alpha

java.lang.String alpha
Scale parameter (e.g., mean)


beta

java.lang.String beta
Shape parameter (e.g., variance)


stream

java.lang.String stream
Random number stream


edgeIndex

int edgeIndex
Position of QCurve in outedge array


startNode

Node startNode
Node in which the QCurve is an outedge


outCondType

int outCondType
Type of output condition

Class jsim.util.Trace extends java.lang.Object implements Serializable

serialVersionUID: 5437584723472341584L