Serialized Form


Package eduni.simdiag

Class eduni.simdiag.Controls implements Serializable

Serialized Fields

zoomb

javax.swing.JButton zoomb

unzoomb

javax.swing.JButton unzoomb

reloadb

javax.swing.JButton reloadb

d

Diagram d

Class eduni.simdiag.Diagram implements Serializable

Serialized Fields

backingSize

java.awt.Dimension backingSize

bg

java.awt.Color bg

sb

javax.swing.JScrollBar sb

entries

Entries entries

startx

int startx

starty

int starty

Xpos

int Xpos

Opos

int Opos

movingX

boolean movingX

movingO

boolean movingO

startt

double startt

endt

double endt

keySpace

int keySpace

Class eduni.simdiag.Key implements Serializable

Serialized Fields

t

Types t

Class eduni.simdiag.TimingDiagram implements Serializable

Serialized Fields

thread

java.lang.Thread thread

diag

Diagram diag

keys

Key keys

hscroll

javax.swing.JScrollBar hscroll

lastTraceEvent

TraceEventObject lastTraceEvent

Class eduni.simdiag.TraceEventObject implements Serializable

Serialized Fields

traceline

java.lang.String traceline

cmd

int cmd


Package haifa.shopsim

Class haifa.shopsim.JobFinishedEvent implements Serializable

Serialized Fields

routeNumber

int routeNumber
The route on which the job finished.

Class haifa.shopsim.JobShopFileFormatException implements Serializable

Serialized Fields

lineNo

int lineNo

Class haifa.shopsim.MachineFinishedEvent implements Serializable

Serialized Fields

machineNumber

int machineNumber
The machine that finished the processing.

nextMachineNumber

int nextMachineNumber
Has value of -1 if the next machine is a RouteEnd.

finishedOperation

Operation finishedOperation
The operation that was just finished.

nextOperation

Operation nextOperation
Has null value if the next operation is a route end.

Class haifa.shopsim.MachineStartedEvent implements Serializable

Serialized Fields

machineNumber

int machineNumber
The number of the machine that started processing.

operation

Operation operation
The operation that the machine started working on.

Class haifa.shopsim.ShopChangeEvent implements Serializable

Serialized Fields

time

double time
The simulation time of the event.

Class haifa.shopsim.ShopFinishedEvent implements Serializable

Class haifa.shopsim.ShopStartedEvent implements Serializable

Class haifa.shopsim.ShopTimeMovedEvent implements Serializable

Class haifa.shopsim.WillingRestStartedEvent implements Serializable

Serialized Fields

machineNumber

int machineNumber
The machine that finished the processing.


Package haifa.shopsim.lab

Class haifa.shopsim.lab.RichShopStatistics implements Serializable

Serialized Fields

jbsFileName

java.lang.String jbsFileName
The job shop file name.

randomMaker

java.lang.String randomMaker
The name of the random time maker.

algorithmName

java.lang.String algorithmName
The algorithm name.

Nr

int[] Nr
The inital number of jobs on each route.

expectedTimes

double[] expectedTimes
The expected processing times for each machine. (Assuming that one job is on each route.)

Class haifa.shopsim.lab.ShopStatistics implements Serializable

Serialized Fields

serialNum

long serialNum
Gets the unique serial number (unique per JVM).

I

int I
The number of machines in the shop.

finishTimes

double[] finishTimes
The completion time of each machine (when it doesn't have material upstream.

workTimes

double[] workTimes
The times during which each machine is working.

restTimes

double[] restTimes
The times during which each machine rests.

starveTimes

double[] starveTimes
The times during which each machine has material up stream but isn't working.

willingRestTimes

double[] willingRestTimes
The time during which each machine had a job but was willing to rest.

restForGoodTimes

double[] restForGoodTimes
The time during which a machine was resting because it was finished.

flowTime

double flowTime
The flow time.

finished

boolean finished
true when the job shop is finished and this object is not to be changed any more.

numSimulationEvents

long numSimulationEvents
The number of simulation events were fired


Package haifa.shopsim.UI

Class haifa.shopsim.UI.AlgorithmSelectionAction implements Serializable

Serialized Fields

mainGUI

MainGUI mainGUI

shopAlgorithm

ShopAlgorithm shopAlgorithm
A reference to the shopAlgorithm which this class handles.

index

int index

Class haifa.shopsim.UI.BusyAnimation implements Serializable

Serialized Fields

x1

int x1

y1

int y1

x2

int x2

y2

int y2

t

java.lang.Thread t

sleep

int sleep

MIN_DELAY

int MIN_DELAY

MAX_DELAY

int MAX_DELAY

animating

boolean animating

pause

boolean pause

showing

boolean showing

random

java.util.Random random

Class haifa.shopsim.UI.CloseAction implements Serializable

Serialized Fields

mainGUI

MainGUI mainGUI

Class haifa.shopsim.UI.ExitAction implements Serializable

Serialized Fields

mainGUI

MainGUI mainGUI

Class haifa.shopsim.UI.GUIforComputerAlgorithm implements Serializable

Serialized Fields

shopAlgorithm

ShopAlgorithm shopAlgorithm

nameLabel

javax.swing.JLabel nameLabel

stepButton

javax.swing.JButton stepButton

goButton

javax.swing.JButton goButton

pauseButton

javax.swing.JButton pauseButton

commandLabel

javax.swing.JLabel commandLabel

centerPanel

javax.swing.JPanel centerPanel

buttonPanel

javax.swing.JPanel buttonPanel

animLeft

BusyAnimation animLeft

animRight

BusyAnimation animRight

go

boolean go

step

boolean step

Class haifa.shopsim.UI.KillSimulationAction implements Serializable

Serialized Fields

mainGUI

MainGUI mainGUI

Class haifa.shopsim.UI.MainGUI implements Serializable

Serialized Fields

RESET_STATE

int RESET_STATE
This is the state immidiently after opening or after closing a shop. Everything is Reset.

LOADED_STATE

int LOADED_STATE
This state implies that a shop is loaded but not running and an algorithm is still not selected.

ALG_SELECTED_STATE

int ALG_SELECTED_STATE
This state implies that an algorithm is selected and also a shop is loaded.

RUNNING_STATE

int RUNNING_STATE
This state implies that a shop is currently running.

FINISHED_STATE

int FINISHED_STATE
This state implies that a simulation run was running and is now finished. It is similar to the ALG_SELECTED_STATE in the sense that both an algoirthm and a shop data are present

state

int state
The variable that states the state in which the MainGUI is found.

rootPane

javax.swing.JRootPane rootPane
Used when working with a JFrame and setting a menu.

algPanel

javax.swing.JPanel algPanel
Location in which the GUI algorithm appears.

shopStateArea

javax.swing.JPanel shopStateArea
For shopState table.

ganttArea

javax.swing.JPanel ganttArea
For gantt chart.

animArea

javax.swing.JPanel animArea
For animation.

mainPanel

javax.swing.JPanel mainPanel

commandLabel

javax.swing.JLabel commandLabel

centerTopPanel

javax.swing.JPanel centerTopPanel

centerBottomPanel

javax.swing.JPanel centerBottomPanel

upperSplitPane

javax.swing.JSplitPane upperSplitPane
Splits between Algorithm and animation/stateTable.

centerSplitPane

javax.swing.JSplitPane centerSplitPane
Splits between the upper splitPane and the shopData,gantt.

bottomSplitPane

javax.swing.JSplitPane bottomSplitPane
Vertical split between shopdata and gantt.

menuBar

javax.swing.JMenuBar menuBar

fileMenu

javax.swing.JMenu fileMenu

simulationMenu

javax.swing.JMenu simulationMenu

algorithmMenu

javax.swing.JMenu algorithmMenu

helpMenu

javax.swing.JMenu helpMenu

rvMenu

javax.swing.JMenu rvMenu

rvGroup

javax.swing.ButtonGroup rvGroup

algGroup

javax.swing.ButtonGroup algGroup

fileMenuActions

javax.swing.Action[] fileMenuActions
Action events of the file menu. Each of these has a corresponeding inner class.

speedControlAction

SpeedControlAction speedControlAction

simulationMenuActions

javax.swing.Action[] simulationMenuActions
Action events of the simulation menu. Each of these has a corresponeding inner class.

helpMenuActions

javax.swing.Action[] helpMenuActions
Action events of the Help menu.

shopAnim

ShopAnim shopAnim
The animation.

jobShopGraphics

JobShopGraphics jobShopGraphics
The Graphics information (to be read from .jbs file). May be null if no graphics are read.

stateTable

javax.swing.JComponent stateTable
A reference to the stateTable

logWindow

LogWindow logWindow
Results from the kernel, algorithms and stat collector are printed to this window.

shopTraceMaker

ShopTraceMaker shopTraceMaker
Listens to shop events and transaltes them to trace events as seen by the gantt chart in the simJava package.

shopViewUpdater

ShopViewUpdater shopViewUpdater
Gets events from ShopSimulation and updates listeners according to speed control.

timingDiagram

TimingDiagram timingDiagram
Used to display Gantt Chart. Taken from the simJava package.

shopDataTextArea

javax.swing.JTextArea shopDataTextArea
The text area in which the shop data is displayed.

speedSlider

javax.swing.JSlider speedSlider
Slider used by speed control. The SpeedControlAction displays this slider.

threadFastShopRun

ThreadFastShopRun threadFastShopRun
A reference to the ShopSimulation object (the object that runs the simulation).

currentAlgorithm

GUIAlgorithm currentAlgorithm
A refrence to the currently selected shopAlgorithm, may be null.

shopData

ShopData shopData
A reference to the data regarding the current job shop, may be null if no shop data is set.

stat

StatisticsCollector stat
The statistics Collector.

randomTimeMaker

RandomTimeMaker randomTimeMaker
The random variable generator.

generalProblemSizeChooser

GeneralProblemSizeChooser generalProblemSizeChooser
The size chooser used to determine how many jobs are on each route.

defaultRV

javax.swing.AbstractButton defaultRV
A reference to the default random variable button.

algButtunsVector

java.util.Vector algButtunsVector

lastAsa

AlgorithmSelectionAction lastAsa

lastAe

java.awt.event.ActionEvent lastAe

patchPanel

javax.swing.JPanel patchPanel

urlFilesMap

java.util.Map urlFilesMap

Class haifa.shopsim.UI.OpenAction implements Serializable

Serialized Fields

homeDir

java.io.File homeDir

fileChooser

javax.swing.JFileChooser fileChooser

mainGUI

MainGUI mainGUI

Class haifa.shopsim.UI.RVSelectionAction implements Serializable

Serialized Fields

mainGUI

MainGUI mainGUI

Class haifa.shopsim.UI.SetNrAction implements Serializable

Serialized Fields

mainGUI

MainGUI mainGUI

jt

javax.swing.JTable jt

nr

int[] nr

Class haifa.shopsim.UI.SimpleHelpAction implements Serializable

Serialized Fields

mainGUI

MainGUI mainGUI

helpString

java.lang.String helpString

helpTitle

java.lang.String helpTitle

Class haifa.shopsim.UI.SpeedControlAction implements Serializable

Serialized Fields

mainGUI

MainGUI mainGUI

Class haifa.shopsim.UI.StartSimulationAction implements Serializable

Serialized Fields

mainGUI

MainGUI mainGUI

Class haifa.shopsim.UI.StateTable implements Serializable

Serialized Fields

shopState

ShopState shopState
A reference to the shopState object.

shopData

ShopData shopData
A reference to the shopData object.

topPanel

javax.swing.JPanel topPanel

timeLabel

javax.swing.JLabel timeLabel

busyLabel

javax.swing.JLabel busyLabel

bufferTable

javax.swing.JTable bufferTable

bottomLabel

javax.swing.JLabel bottomLabel

rowData

java.util.Vector rowData
A vector of vectors, each vector being a row in the table.

rowMap

java.util.HashMap rowMap
Maps Operations to elements (Vectors) of the rowData vector.

Class haifa.shopsim.UI.UserGUIAlgorithm implements Serializable

Serialized Fields

shopState

ShopState shopState
A reference to the ShopState object.

shopSimulation

ShopSimulation shopSimulation

shopData

ShopData shopData
A reference to the shopData object.

log

java.io.PrintWriter log
log.

commandLabel

javax.swing.JLabel commandLabel
A reference to the label on which commands to the user are to be displayed.

buttonMap

java.util.HashMap buttonMap
The keys are buttons and the values are operations.

restButton

javax.swing.JButton restButton
The "rest" button.

askAgainButton

javax.swing.JButton askAgainButton

leftPanel

javax.swing.JPanel leftPanel

routePanels

javax.swing.JPanel[] routePanels
Horizontal panels, one for each route.

stepsPanel

javax.swing.JPanel stepsPanel
The panel that holds all of the routes.

mainPanel

javax.swing.JPanel mainPanel

nextOperation

Operation nextOperation

restClicked

boolean restClicked

askAgainClicked

boolean askAgainClicked

quitFlag

boolean quitFlag

Class haifa.shopsim.UI.VacantLabel implements Serializable

Class haifa.shopsim.UI.ViewLogAction implements Serializable

Serialized Fields

mainGUI

MainGUI mainGUI


Package haifa.shopsim.UI.shopanim

Class haifa.shopsim.UI.shopanim.NoJobShopGraphicsInfoException implements Serializable

Class haifa.shopsim.UI.shopanim.ShopAnim implements Serializable

Serialized Fields

jobShopGraphics

JobShopGraphics jobShopGraphics
A reference to the the object that stores the graphics information of the job shop.

shopData

ShopData shopData
A reference to the object that stores the information of the job shop.

shopState

ShopState shopState
A reference to the shopstate object.

machines

MachineAnimIcon[][] machines
A matrix of refernces to Machine Icons. The references may either be null or lead to some icon.

routeTips

RouteAnimIcon[][] routeTips
References to route tip icons. This array of arrays is composed of NORTH,SOUTH,EAST,WEST.

routeTipsCoords

java.awt.Point[][] routeTipsCoords

machineCoords

java.awt.Point[][] machineCoords

machinesMap

java.util.HashMap machinesMap
Maps machine indexes (Integer objects) to MachineAnimIcon objects.

machinesSpotMap

java.util.HashMap machinesSpotMap

bufferIndexesMap

java.util.HashMap bufferIndexesMap
Maps each buffer to an index (Integer). The index is used by MachineAnimIcons. This means that the keys, buffers of the type (r,o) match values which are Integers 0,1,2. The meaning of the integers is the values that the machine icons use to reference the queues.

routeStartsIndexesMap

java.util.HashMap routeStartsIndexesMap
Maps route indexs (Integer) to (Integer) objects.

routeEndsIndexesMap

java.util.HashMap routeEndsIndexesMap
Maps route indexs (Integer) to (Integer) objects.

routeStartsSidesMap

java.util.HashMap routeStartsSidesMap
Maps route indexs (Integer) to (Integer) objects. where the values are EAST/WEST/NORTH/SOUTH

routeEndsSidesMap

java.util.HashMap routeEndsSidesMap
Maps route indexs (Integer) to (Integer) objects. where the values are EAST/WEST/NORTH/SOUTH

routesToView

boolean[] routesToView
An array that specifies at each moment, which routes are to be drawn.

machinesToView

boolean[] machinesToView
An array that specifies at each moment, which machines are to be drawn.

machinesCheckBoxes

javax.swing.JCheckBox[] machinesCheckBoxes

routesCheckBoxes

javax.swing.JCheckBox[] routesCheckBoxes

iconWidth

int iconWidth

iconHeight

int iconHeight

firstStreetWidth

int firstStreetWidth

firstStreetHeight

int firstStreetHeight

totalStreetWidth

int totalStreetWidth

totalStreetHeight

int totalStreetHeight

drawingPanel

javax.swing.JPanel drawingPanel

routeChoosePanel

javax.swing.JPanel routeChoosePanel
The panel on which there are two panels, one for machines and one for routes whole routes.

wholeRoutesPanel

javax.swing.JPanel wholeRoutesPanel

machinesPanel

javax.swing.JPanel machinesPanel

allNonePanel

javax.swing.JPanel allNonePanel

allButton

javax.swing.JButton allButton

noneButton

javax.swing.JButton noneButton

Class haifa.shopsim.UI.shopanim.ShopAnim.MachineCheckBox implements Serializable

Serialized Fields

this$0

ShopAnim this$0

mNum

int mNum

Class haifa.shopsim.UI.shopanim.ShopAnim.RouteCheckBox implements Serializable

Serialized Fields

this$0

ShopAnim this$0

routeNum

int routeNum