A B C D E F G H I J K L M N O P Q R S T U V W X Y

A

accumulatedJobs - Variable in class haifa.shopsim.kernel.RouteEnd
 
actionPerformed(ActionEvent) - Method in class haifa.shopsim.UI.GUIforComputerAlgorithm.GoL
 
actionPerformed(ActionEvent) - Method in class haifa.shopsim.UI.GUIforComputerAlgorithm.StopL
 
actionPerformed(ActionEvent) - Method in class haifa.shopsim.UI.GUIforComputerAlgorithm.StepL
 
actionPerformed(ActionEvent) - Method in class haifa.shopsim.UI.GUIAlgorithm.OperationButtonL
 
actionPerformed(ActionEvent) - Method in class haifa.shopsim.UI.MainGUI.OpenAction
 
actionPerformed(ActionEvent) - Method in class haifa.shopsim.UI.MainGUI.ExitAction
 
actionPerformed(ActionEvent) - Method in class haifa.shopsim.UI.MainGUI.ViewLogAction
 
actionPerformed(ActionEvent) - Method in class haifa.shopsim.UI.MainGUI.AlgorithmSelectionAction
Does what is specified at the class explanation above.
actions() - Method in class haifa.shopsim.kernel.ShopRun
This method is the main corotine of the simulation (it exists for as long as the simulation exists).
actions() - Method in class haifa.shopsim.kernel.RouteEnd
 
actions() - Method in class haifa.shopsim.kernel.Machine
The actions that a machine performs are the following: If all buffers are empty, call the doSchedule method which will handle things with the shop algorithm and determine which buffer to draw from next.
addShopChangeListener(ShopChangeListener) - Method in interface haifa.shopsim.ShopState
Register a listener to the state.
addShopChangeListener(ShopChangeListener) - Method in class haifa.shopsim.ShopStateImpl
Register a listener to the state.
addShopChangeListener(ShopChangeListener) - Method in class haifa.shopsim.kernel.ShopRun
 
algorithmMenu - Variable in class haifa.shopsim.UI.MainGUI
 
allocateAlgorithm() - Method in class haifa.shopsim.UI.MainGUI.AlgorithmSelectionAction
This method is to be overriden by implementations such that it allocates the desired algorithm and returns a reference.
animArea - Variable in class haifa.shopsim.UI.MainGUI
 
animating - Variable in class haifa.shopsim.UI.BusyAnimation
 
animLeft - Variable in class haifa.shopsim.UI.GUIforComputerAlgorithm
 
animRight - Variable in class haifa.shopsim.UI.GUIforComputerAlgorithm
 
awakenRestingMachines() - Method in class haifa.shopsim.kernel.ShopRun
 

B

bindInput(Operation, JobHolder) - Method in class haifa.shopsim.kernel.Machine
Convinience class that helps setup network of routes.
bindOutput(Operation, JobHolder) - Method in class haifa.shopsim.kernel.Machine
Convencie class that helps setup network of routes.
bindRoute(Machine[], RouteEnd) - Method in class haifa.shopsim.kernel.RouteStart
This method interconnects (by references) the route starting at this route start and going thourgh all the machines to the routeEnd
bottomLabel - Variable in class haifa.shopsim.UI.StateTable
 
bufferTable - Variable in class haifa.shopsim.UI.StateTable
 
BusyAnimation - class haifa.shopsim.UI.BusyAnimation.
 
BusyAnimation() - Constructor for class haifa.shopsim.UI.BusyAnimation
 
busyLabel - Variable in class haifa.shopsim.UI.StateTable
 
buttonMap - Variable in class haifa.shopsim.UI.GUIAlgorithm
 
buttonPanel - Variable in class haifa.shopsim.UI.GUIforComputerAlgorithm
 

C

centerPanel - Variable in class haifa.shopsim.UI.GUIforComputerAlgorithm
 
centerPanel - Variable in class haifa.shopsim.UI.MainGUI
 
classes - Variable in class haifa.shopsim.kernel.Machine
Maps the classes(buffers) in a shop.
code - Variable in class haifa.shopsim.ShopCommand
The type of command, schedule, quit, etc...
CODE_QUIT - Static variable in class haifa.shopsim.ShopCommand
when code has this value it means that the command is to quit the work of the job shop.
CODE_REST - Static variable in class haifa.shopsim.ShopCommand
 
CODE_SCHEDULE - Static variable in class haifa.shopsim.ShopCommand
when code has this value it means that this is a scheduling command.
commandLabel - Variable in class haifa.shopsim.UI.GUIforComputerAlgorithm
 
commandLabel - Variable in class haifa.shopsim.UI.GUIAlgorithm
 
commandLabel - Variable in class haifa.shopsim.UI.MainGUI
 
count - Static variable in class haifa.shopsim.kernel.ShopRun
Use to ensure that at most one instance of this class exists at any time.
currentAlgorithm - Variable in class haifa.shopsim.UI.MainGUI
A refrence to the currently selected shopAlgorithm, may be null.
CyclicAlgorithm - class haifa.shopsim.algorithms.CyclicAlgorithm.
 
CyclicAlgorithm(ShopData, ShopState) - Constructor for class haifa.shopsim.algorithms.CyclicAlgorithm
 

D

dataFiles - Variable in class haifa.shopsim.UI.MainGUI
Stores names of urls specified by html to applet of data files.
delay - Variable in class haifa.shopsim.UI.BusyAnimation
 
destory() - Method in class haifa.shopsim.UI.MainGUI
 
doAction() - Method in interface haifa.shopsim.PostRunAction
 
doAction() - Method in class haifa.shopsim.UI.MainGUI.PostGUIRunAction
 

E

equals(Object) - Method in class haifa.shopsim.Operation
 
exitApplet() - Method in class haifa.shopsim.UI.MainGUI
Kills the applet and goes to HOME_PAGE with the browser.
exitApplication() - Static method in class haifa.shopsim.UI.MainGUI
Called to exit.
EXPLANATION - Static variable in class haifa.shopsim.algorithms.SimpleRandomAlgorithm
 
EXPLANATION - Static variable in class haifa.shopsim.algorithms.CyclicAlgorithm
 
explanationArea - Variable in class haifa.shopsim.UI.GUIforComputerAlgorithm
 
explanationString() - Method in interface haifa.shopsim.ShopAlgorithm
Returns a string telling a little bit about what the algorithm does.
explanationString() - Method in class haifa.shopsim.UI.GUIforComputerAlgorithm
 
explanationString() - Method in class haifa.shopsim.UI.GUIAlgorithm
 
explanationString() - Method in class haifa.shopsim.algorithms.SimpleRandomAlgorithm
 
explanationString() - Method in class haifa.shopsim.algorithms.CyclicAlgorithm
 

F

fileMenu - Variable in class haifa.shopsim.UI.MainGUI
 
fileMenuActions - Variable in class haifa.shopsim.UI.MainGUI
Action events of the file menu.
finishedJobs - Variable in class haifa.shopsim.ShopStateImpl
an array specifing how many finshed jobs per route.
finishedOperation - Variable in class haifa.shopsim.MachineFinishedEvent
 
finishedQueue - Variable in class haifa.shopsim.kernel.RouteEnd
A queue of the finished jobs.
firstMachine - Variable in class haifa.shopsim.kernel.RouteStart
 

G

ganttArea - Variable in class haifa.shopsim.UI.MainGUI
 
GeneralShopDataArray - class haifa.shopsim.GeneralShopDataArray.
An implementation of a general shopData using arrays.
GeneralShopDataArray(Reader) - Constructor for class haifa.shopsim.GeneralShopDataArray
Read according to file format as specified in example shop.dat
getAlgorithmName() - Method in interface haifa.shopsim.ShopAlgorithm
Returns a name of the algorithm.
getAlgorithmName() - Method in class haifa.shopsim.UI.GUIforComputerAlgorithm
 
getAlgorithmName() - Method in class haifa.shopsim.UI.GUIAlgorithm
 
getAlgorithmName() - Method in class haifa.shopsim.algorithms.SimpleRandomAlgorithm
 
getAlgorithmName() - Method in class haifa.shopsim.algorithms.CyclicAlgorithm
 
getBusyMachines() - Method in interface haifa.shopsim.ShopState
Returns a collection of all of the busy machines at the current time.
getBusyMachines() - Method in class haifa.shopsim.ShopStateImpl
Returns a collection of all of the busy machines at the current time.
getCi(int) - Method in interface haifa.shopsim.ShopData
Returns a List of all operations in machine i.
getCi(int) - Method in class haifa.shopsim.GeneralShopDataArray
Returns a List of all operation in machine i.
getFinishedOperation() - Method in class haifa.shopsim.MachineFinishedEvent
 
getI() - Method in interface haifa.shopsim.ShopData
Returns number of machines.
getI() - Method in class haifa.shopsim.GeneralShopDataArray
Returns number of machines.
getJob(Job) - Method in class haifa.shopsim.kernel.RouteStart
 
getJob(Job) - Method in interface haifa.shopsim.kernel.JobHolder
When another SimualationEntity passes the job onto this entity, it should use this method by calling it on the reciveing object.
getJob(Job) - Method in class haifa.shopsim.kernel.RouteEnd
 
getJob(Job) - Method in class haifa.shopsim.kernel.Machine
Get a job and put in the appropriate JobClass.
getJobID() - Method in class haifa.shopsim.MachineStartedEvent
 
getJobID() - Method in class haifa.shopsim.JobFinishedEvent
 
getJobsOfRoute(int) - Method in interface haifa.shopsim.ShopData
Returns all of of route r.
getJobsOfRoute(int) - Method in class haifa.shopsim.GeneralShopDataArray
 
getJobsOfType(int) - Method in interface haifa.shopsim.ShopData
Returns all of the jobs of type t.
getJobsOfType(int) - Method in class haifa.shopsim.GeneralShopDataArray
Returns all of the jobs of type t.
getK() - Method in interface haifa.shopsim.ShopData
Returns the total number of steps/classes/buffers (sum of Kr)
getK() - Method in class haifa.shopsim.GeneralShopDataArray
Returns the total number of steps/classes/buffers (sum of Kr)
getKr(int) - Method in interface haifa.shopsim.ShopData
Returns number of steps in route r
getKr(int) - Method in class haifa.shopsim.GeneralShopDataArray
 
getMachine(Operation) - Method in interface haifa.shopsim.ShopData
Returns the machine that performs the following operation.
getMachine(Operation) - Method in class haifa.shopsim.GeneralShopDataArray
 
getMachineNumber() - Method in class haifa.shopsim.MachineFinishedEvent
 
getMachineNumber() - Method in class haifa.shopsim.MachineStartedEvent
 
getN() - Method in interface haifa.shopsim.ShopData
Returns number of jobs.
getN() - Method in class haifa.shopsim.GeneralShopDataArray
Returns total number of jobs
getNextMachineNumber() - Method in class haifa.shopsim.MachineFinishedEvent
 
getNextOperation() - Method in class haifa.shopsim.MachineFinishedEvent
 
getNr(int) - Method in interface haifa.shopsim.ShopData
Returns number of jobs in route r
getNr(int) - Method in class haifa.shopsim.GeneralShopDataArray
 
getNt(int) - Method in interface haifa.shopsim.ShopData
Returns the number of jobs of type t
getNt(int) - Method in class haifa.shopsim.GeneralShopDataArray
Returns the number of jobs of type t
getNumFinishedJobs(int) - Method in interface haifa.shopsim.ShopState
Returns the number of finsihed jobs on a particular route.
getNumFinishedJobs(int) - Method in class haifa.shopsim.ShopStateImpl
Returns the number of finsihed jobs on a particular route.
getQMap() - Method in interface haifa.shopsim.ShopState
 
getQMap() - Method in class haifa.shopsim.ShopStateImpl
 
getQMap() - Method in class haifa.shopsim.ShopStartedEvent
 
getQMap() - Method in class haifa.shopsim.kernel.ShopRun
 
getQMap() - Method in class haifa.shopsim.kernel.Machine
Returns a map of the Q lengths for each of the operations that the job has.
getR() - Method in interface haifa.shopsim.ShopData
Returns number of routes.
getR() - Method in class haifa.shopsim.GeneralShopDataArray
Returns number of routes.
getRoute() - Method in class haifa.shopsim.Operation
 
getRoute(int) - Method in interface haifa.shopsim.ShopData
Returns a List of all operations in route r
getRoute(int) - Method in class haifa.shopsim.GeneralShopDataArray
Returns a List of all ShopData.Operation instances in route r
getRouteNumber() - Method in class haifa.shopsim.JobFinishedEvent
 
getRouteOfType(int) - Method in interface haifa.shopsim.ShopData
Returns the route of type t.
getRouteOfType(int) - Method in class haifa.shopsim.GeneralShopDataArray
Returns the route of type t.
getSchedulableOperations() - Method in interface haifa.shopsim.ShopState
Returns a collection of the schedulable operations.
getSchedulableOperations() - Method in class haifa.shopsim.ShopStateImpl
Returns a collection of the schedulable operations.
getSizeCi(int) - Method in interface haifa.shopsim.ShopData
Returns the number of operations in machine i.
getSizeCi(int) - Method in class haifa.shopsim.GeneralShopDataArray
Returns the number of operations in machine i.
getStep() - Method in class haifa.shopsim.Operation
 
getT() - Method in interface haifa.shopsim.ShopData
Returns the number of types of jobs.
getT() - Method in class haifa.shopsim.GeneralShopDataArray
Returns number of job types.
getTime() - Method in class haifa.shopsim.ShopChangeEvent
 
getTime() - Method in interface haifa.shopsim.ShopState
Returns the time as registered with the state.
getTime() - Method in class haifa.shopsim.ShopStateImpl
Returns the time as registered with the state.
getTotalFinishedJobs() - Method in interface haifa.shopsim.ShopState
Returns the total number of finished jobs.
getTotalFinishedJobs() - Method in class haifa.shopsim.ShopStateImpl
Returns the total number of finished jobs.
getTr(int) - Method in interface haifa.shopsim.ShopData
Returns the number of types of jobs that are on route r.
getTr(int) - Method in class haifa.shopsim.GeneralShopDataArray
Returns the number of types of jobs that are on route r.
getTypesOfRoute(int) - Method in interface haifa.shopsim.ShopData
Returns an array of type number of jobs that are on route r.
getTypesOfRoute(int) - Method in class haifa.shopsim.GeneralShopDataArray
Returns an array of type numbers of jobs that are on route r.
getXto(int, int) - Method in interface haifa.shopsim.ShopData
Returns the processing time of job of type t, on step o of it's route.
getXto(int, int) - Method in class haifa.shopsim.GeneralShopDataArray
Returns the processing time of job of type t, on step o of it's route.
go - Variable in class haifa.shopsim.UI.GUIforComputerAlgorithm
 
goButton - Variable in class haifa.shopsim.UI.GUIforComputerAlgorithm
 
GUIAlgorithm - class haifa.shopsim.UI.GUIAlgorithm.
The GUIAlgorithm is actually not an algorithm, but a user control through which the user may be asked to control the shops at discrete simulation epochs
GUIAlgorithm.OperationButtonL - class haifa.shopsim.UI.GUIAlgorithm.OperationButtonL.
 
GUIAlgorithm.OperationButtonL(GUIAlgorithm) - Constructor for class haifa.shopsim.UI.GUIAlgorithm.OperationButtonL
 
GUIAlgorithm(ShopData, ShopState, JLabel) - Constructor for class haifa.shopsim.UI.GUIAlgorithm
 
GUIforComputerAlgorithm - class haifa.shopsim.UI.GUIforComputerAlgorithm.
The GUIAlgorithm is actually not an algorithm, but a user control through which the user may be asked to control the shops at discrete simulation epochs
GUIforComputerAlgorithm.GoL - class haifa.shopsim.UI.GUIforComputerAlgorithm.GoL.
 
GUIforComputerAlgorithm.GoL(GUIforComputerAlgorithm) - Constructor for class haifa.shopsim.UI.GUIforComputerAlgorithm.GoL
 
GUIforComputerAlgorithm.StepL - class haifa.shopsim.UI.GUIforComputerAlgorithm.StepL.
 
GUIforComputerAlgorithm.StepL(GUIforComputerAlgorithm) - Constructor for class haifa.shopsim.UI.GUIforComputerAlgorithm.StepL
 
GUIforComputerAlgorithm.StopL - class haifa.shopsim.UI.GUIforComputerAlgorithm.StopL.
 
GUIforComputerAlgorithm.StopL(GUIforComputerAlgorithm) - Constructor for class haifa.shopsim.UI.GUIforComputerAlgorithm.StopL
 
GUIforComputerAlgorithm(ShopAlgorithm, ShopData, ShopState, JComponent, JLabel, JLabel) - Constructor for class haifa.shopsim.UI.GUIforComputerAlgorithm
 

H

haifa.shopsim - package haifa.shopsim
This package contains the base classes and interfaces that are used by the shopsim fraemwork.
haifa.shopsim.algorithms - package haifa.shopsim.algorithms
This package is the base for other packages that will implement certain algorithms.
haifa.shopsim.kernel - package haifa.shopsim.kernel
This package contains classes that make up the kernel (the simulation engine).
haifa.shopsim.UI - package haifa.shopsim.UI
This package classes that are used by User Interface applications of this framework.
hashCode() - Method in class haifa.shopsim.Operation
 
HOME_PAGE - Variable in class haifa.shopsim.UI.MainGUI
If the user chooses exit during an applet, it is brought to this page.

I

I - Variable in class haifa.shopsim.GeneralShopDataArray
Number of machines
init() - Method in class haifa.shopsim.UI.MainGUI
Reads parameters, sets up, etc...
inProcess - Variable in class haifa.shopsim.kernel.Machine.JobClass
 
input - Variable in class haifa.shopsim.kernel.Machine.JobClass
Reference to Object from which jobs are drawn.
inQueue - Variable in class haifa.shopsim.kernel.Machine.JobClass
The queue for incoming jobs.
isApplication - Static variable in class haifa.shopsim.UI.MainGUI
False if applet true if application
isDeterministic() - Method in interface haifa.shopsim.ShopAlgorithm
Returns true if the algorithm is determinsitic.
isDeterministic() - Method in class haifa.shopsim.UI.GUIforComputerAlgorithm
Returns false since the user's actions are not specified in the algorithm.
isDeterministic() - Method in class haifa.shopsim.UI.GUIAlgorithm
Returns false since the user's actions are not specified in the algorithm.
isDeterministic() - Method in class haifa.shopsim.algorithms.SimpleRandomAlgorithm
Returns false since the user's actions are not specified in the algorithm.
isDeterministic() - Method in class haifa.shopsim.algorithms.CyclicAlgorithm
Returns false since the user's actions are not specified in the algorithm.
isEmpty() - Method in class haifa.shopsim.kernel.Machine
Returns true if all buffers for machine are empty.
isIdenticalJobs() - Method in interface haifa.shopsim.ShopData
Ask if the shop has identical jobs.
isIdenticalJobs() - Method in class haifa.shopsim.GeneralShopDataArray
Ask if the shop has identical jobs.
isMostGeneralJobShop() - Method in interface haifa.shopsim.ShopData
Ask if the shop is most general, not proportional, not similar.
isMostGeneralJobShop() - Method in class haifa.shopsim.GeneralShopDataArray
Ask if the shop is most general, not necessarily proportional nor similar. reply is true.
isProcessing() - Method in class haifa.shopsim.kernel.Machine
Returns true if the Machine is currently processing a job.
isProportinalJobs() - Method in interface haifa.shopsim.ShopData
Ask if the shop has proportional jobs. i.e N1,...,Nr are proportional to some N (there exists p1,...,pr such that Ni=piN).
isProportinalJobs() - Method in class haifa.shopsim.GeneralShopDataArray
Ask if the shop has proportional jobs.
isQuit() - Method in class haifa.shopsim.ShopCommand
Ask if the command is a quit command.
isRest() - Method in class haifa.shopsim.ShopCommand
 
isRunning - Variable in class haifa.shopsim.ShopStateImpl
Indicates that the shop is running.
isSingleRoute() - Method in interface haifa.shopsim.ShopData
Ask is shop is a jobshop with a single route same as getR()==1
isSingleRoute() - Method in class haifa.shopsim.GeneralShopDataArray
Ask is shop is a jobshop with a single route same as getR()==1

J

job - Variable in class haifa.shopsim.ShopCommand
The job that should be performed on this machine.
Job - class haifa.shopsim.kernel.Job.
The Job is actually a token that travels thourgh the system.
Job(ShopData, int) - Constructor for class haifa.shopsim.kernel.Job
Allocate a new job.
jobCount - Static variable in class haifa.shopsim.kernel.Job
This variable counts how many job objects have been allocated.
JobFinishedEvent - class haifa.shopsim.JobFinishedEvent.
Signifies that a job finished it's processing in the job shop.
JobFinishedEvent(Object, double, String, int) - Constructor for class haifa.shopsim.JobFinishedEvent
 
JobHolder - interface haifa.shopsim.kernel.JobHolder.
A JobHolder is a SimulationEntity that 'physically' holds jobs during its operation.
jobID - Variable in class haifa.shopsim.MachineFinishedEvent
 
jobID - Variable in class haifa.shopsim.MachineStartedEvent
 
jobID - Variable in class haifa.shopsim.JobFinishedEvent
 
jobQueue - Variable in class haifa.shopsim.kernel.RouteStart
 
jobRoutes - Variable in class haifa.shopsim.GeneralShopDataArray
The length of this array is numJobTypes.
jobs - Variable in class haifa.shopsim.kernel.ShopRun
An array of all of the jobs in the shop.
JobShopFileFormatException - exception haifa.shopsim.JobShopFileFormatException.
Thrown when the input file does not seem to match the specification.
JobShopFileFormatException() - Constructor for class haifa.shopsim.JobShopFileFormatException
 

K

k - Variable in class haifa.shopsim.Operation
 

L

log - Variable in class haifa.shopsim.UI.GUIforComputerAlgorithm
 
log - Variable in class haifa.shopsim.UI.GUIAlgorithm
 
log - Variable in class haifa.shopsim.algorithms.SimpleRandomAlgorithm
 
log - Variable in class haifa.shopsim.algorithms.CyclicAlgorithm
 
log - Variable in class haifa.shopsim.kernel.ShopRun
For misc output information.
logPrint(String) - Method in class haifa.shopsim.kernel.ShopRun
Writes message to log, including time
lowPriority - Variable in class haifa.shopsim.kernel.ShopRun
 

M

machine - Variable in class haifa.shopsim.ShopCommand
The machine that should do this command.
Machine - class haifa.shopsim.kernel.Machine.
This class is an enity in the simulation.
Machine.JobClass - class haifa.shopsim.kernel.Machine.JobClass.
This inner class represents a buffer in a machine.
Machine.JobClass(Machine) - Constructor for class haifa.shopsim.kernel.Machine.JobClass
 
Machine(ShopData, int, ShopRun) - Constructor for class haifa.shopsim.kernel.Machine
Constructor sets up all of the buffers (JobClass objects).
MachineFinishedEvent - class haifa.shopsim.MachineFinishedEvent.
Signifies that a machine finished processing a job.
MachineFinishedEvent(Object, double, int, int, String, Operation, Operation) - Constructor for class haifa.shopsim.MachineFinishedEvent
 
machineNumber - Variable in class haifa.shopsim.MachineFinishedEvent
 
machineNumber - Variable in class haifa.shopsim.MachineStartedEvent
 
machineNumber - Variable in class haifa.shopsim.kernel.Machine
The machine number of the machine as specified by the shopData.
machines - Variable in class haifa.shopsim.kernel.ShopRun
An array of all of the machines in the shop.
MachineStartedEvent - class haifa.shopsim.MachineStartedEvent.
 
MachineStartedEvent(Object, double, int, Operation, String) - Constructor for class haifa.shopsim.MachineStartedEvent
 
machinesWithSameTime(int) - Method in class haifa.shopsim.kernel.ShopRun
Returns a vector of Integers of all of the machines that have the same time as the machine numbered mN.
main(String[]) - Static method in class haifa.shopsim.GeneralShopDataArray
For testing
main(String[]) - Static method in class haifa.shopsim.UI.MainGUI
Needs to get single argument with .
MainGUI - class haifa.shopsim.UI.MainGUI.
This class is one of the several usuable products of the JobShopSimualtion Project.
MainGUI.AlgorithmSelectionAction - class haifa.shopsim.UI.MainGUI.AlgorithmSelectionAction.
This class implements an action that occurs when a new algorithm is selected.
MainGUI.AlgorithmSelectionAction(MainGUI, String) - Constructor for class haifa.shopsim.UI.MainGUI.AlgorithmSelectionAction
The constructor uses an algorithm name.
MainGUI.ExitAction - class haifa.shopsim.UI.MainGUI.ExitAction.
This action calls the exitApplication() method in the case of an application.
MainGUI.ExitAction(MainGUI) - Constructor for class haifa.shopsim.UI.MainGUI.ExitAction
 
MainGUI.OpenAction - class haifa.shopsim.UI.MainGUI.OpenAction.
Handles the Open Action of the File menu.
MainGUI.OpenAction(MainGUI) - Constructor for class haifa.shopsim.UI.MainGUI.OpenAction
 
MainGUI.PostGUIRunAction - class haifa.shopsim.UI.MainGUI.PostGUIRunAction.
This class is a functor that holds the method that is done after a run.
MainGUI.PostGUIRunAction(MainGUI) - Constructor for class haifa.shopsim.UI.MainGUI.PostGUIRunAction
 
MainGUI.ViewLogAction - class haifa.shopsim.UI.MainGUI.ViewLogAction.
Use for displaying a pop-up window showing the algorithm's log.
MainGUI.ViewLogAction(MainGUI) - Constructor for class haifa.shopsim.UI.MainGUI.ViewLogAction
 
MainGUI() - Constructor for class haifa.shopsim.UI.MainGUI
 
mainPanel - Variable in class haifa.shopsim.UI.MainGUI
 
MAX_COUNT - Variable in class haifa.shopsim.UI.BusyAnimation
 
MAX_DELAY - Variable in class haifa.shopsim.UI.BusyAnimation
 
MAX_SIM_TIME - Variable in class haifa.shopsim.kernel.ShopRun
A simualation may not run past this time.
menuBar - Variable in class haifa.shopsim.UI.MainGUI
 
MIN_DELAY - Variable in class haifa.shopsim.UI.BusyAnimation
 

N

nameLabel - Variable in class haifa.shopsim.UI.GUIforComputerAlgorithm
 
nextLine() - Method in class haifa.shopsim.UI.BusyAnimation
 
nextMachineNumber - Variable in class haifa.shopsim.MachineFinishedEvent
Has value of -1 if the next machine is a RouteEnd.
nextOperation - Variable in class haifa.shopsim.MachineFinishedEvent
Has null value if the next operation is a route end.
nextOperation - Variable in class haifa.shopsim.UI.GUIAlgorithm
 
notifyListeners(ShopChangeEvent) - Method in class haifa.shopsim.kernel.ShopRun
 
numJobs - Variable in class haifa.shopsim.GeneralShopDataArray
The length of this array is numJobTypes, each element determines how many jobs are from each type.
numJobTypes - Variable in class haifa.shopsim.GeneralShopDataArray
The different number of jobs types in the job shop
numSimulations - Variable in class haifa.shopsim.UI.MainGUI
Counts how many times the user started a simulation.

O

op - Variable in class haifa.shopsim.ShopCommand
 
operation - Variable in class haifa.shopsim.MachineStartedEvent
 
Operation - class haifa.shopsim.Operation.
This little class holds and identifies an operation in a job shop (route, op).
Operation(int, int) - Constructor for class haifa.shopsim.Operation
 
operationMap - Variable in class haifa.shopsim.ShopStartedEvent
 
output - Variable in class haifa.shopsim.kernel.Machine.JobClass
Refrence to Object into which jobs are put when finished

P

paint(Graphics) - Method in class haifa.shopsim.UI.BusyAnimation
 
passJobs() - Method in class haifa.shopsim.kernel.RouteStart
 
pause - Variable in class haifa.shopsim.UI.BusyAnimation
 
postRunAction - Variable in class haifa.shopsim.kernel.ShopRun
 
PostRunAction - interface haifa.shopsim.PostRunAction.
 
previous - Variable in class haifa.shopsim.kernel.RouteEnd
 
processing - Variable in class haifa.shopsim.kernel.Machine
Determines whether the machine is currently processing a job or is idle.

Q

QMap - Variable in class haifa.shopsim.ShopStateImpl
A Map mapping Operation objects to sizes of queues.
quitCalled() - Method in interface haifa.shopsim.ShopAlgorithm
Returns true when the algorithm decided that it is time to quit.
quitCalled() - Method in class haifa.shopsim.UI.GUIforComputerAlgorithm
Passes on to hosted shop algorithm
quitCalled() - Method in class haifa.shopsim.UI.GUIAlgorithm
Returns true when the algorithm decided that it is time to quit.
quitCalled() - Method in class haifa.shopsim.algorithms.SimpleRandomAlgorithm
Returns true when the algorithm decided that it is time to quit.
quitCalled() - Method in class haifa.shopsim.algorithms.CyclicAlgorithm
Returns true when the algorithm decided that it is time to quit.
quitCalled() - Method in class haifa.shopsim.kernel.ShopRun
Returns true if quit has been called on the algorithm.
quitFlag - Variable in class haifa.shopsim.UI.GUIAlgorithm
 
quitFlag - Variable in class haifa.shopsim.algorithms.SimpleRandomAlgorithm
 
quitFlag - Variable in class haifa.shopsim.algorithms.CyclicAlgorithm
 

R

r - Variable in class haifa.shopsim.Operation
 
random - Variable in class haifa.shopsim.UI.BusyAnimation
 
repaint() - Method in class haifa.shopsim.UI.StateTable
Uses info in shopState
reset() - Method in class haifa.shopsim.kernel.ShopRun
 
restButton - Variable in class haifa.shopsim.UI.GUIAlgorithm
 
restClicked - Variable in class haifa.shopsim.UI.GUIAlgorithm
 
restingMachines - Variable in class haifa.shopsim.kernel.ShopRun
 
restTime - Variable in class haifa.shopsim.kernel.Machine
 
rootPane - Variable in class haifa.shopsim.UI.MainGUI
Used when working with a JFrame and setting a menu.
RouteEnd - class haifa.shopsim.kernel.RouteEnd.
This class is the output pile of a route.
RouteEnd(ShopData, ShopRun, int) - Constructor for class haifa.shopsim.kernel.RouteEnd
 
routeEnds - Variable in class haifa.shopsim.kernel.ShopRun
An array of all of the route ends.
routeNumber - Variable in class haifa.shopsim.JobFinishedEvent
 
routeNumber - Variable in class haifa.shopsim.kernel.RouteStart
 
routeNumber - Variable in class haifa.shopsim.kernel.RouteEnd
 
routePanels - Variable in class haifa.shopsim.UI.GUIAlgorithm
 
routes - Variable in class haifa.shopsim.GeneralShopDataArray
Array of routes, each route being an array of operations
RouteStart - class haifa.shopsim.kernel.RouteStart.
This Simulation Entity is the pile of jobs at the start of the route.
RouteStart(ShopData, int) - Constructor for class haifa.shopsim.kernel.RouteStart
 
routeStarts - Variable in class haifa.shopsim.kernel.ShopRun
An array of all of the route starts.
rowData - Variable in class haifa.shopsim.UI.StateTable
 
run - Variable in class haifa.shopsim.kernel.ShopRun
The Thread that this class runs on.
run() - Method in class haifa.shopsim.UI.BusyAnimation
 
run() - Method in class haifa.shopsim.kernel.ShopRun
The running thread of the simulation activates the main class.

S

setCommandLabel(String) - Method in class haifa.shopsim.UI.MainGUI
Changes the command label
setEnabledDisabled(int) - Method in class haifa.shopsim.UI.GUIAlgorithm
 
setLog(PrintWriter) - Method in interface haifa.shopsim.ShopAlgorithm
The algorithm writes decision information to the log.
setLog(PrintWriter) - Method in class haifa.shopsim.UI.GUIforComputerAlgorithm
Passes on to hosted shop algorithm
setLog(PrintWriter) - Method in class haifa.shopsim.UI.GUIAlgorithm
 
setLog(PrintWriter) - Method in class haifa.shopsim.algorithms.SimpleRandomAlgorithm
 
setLog(PrintWriter) - Method in class haifa.shopsim.algorithms.CyclicAlgorithm
 
setShopData(ShopData) - Method in interface haifa.shopsim.ShopAlgorithm
Set the algorithm's shopData object, this is a reference for the general topology of the job shop and for processing times.
setShopData(ShopData) - Method in class haifa.shopsim.UI.GUIforComputerAlgorithm
Passes on to hosted shop algorithm
setShopData(ShopData) - Method in class haifa.shopsim.UI.GUIAlgorithm
 
setShopData(ShopData) - Method in class haifa.shopsim.algorithms.SimpleRandomAlgorithm
 
setShopData(ShopData) - Method in class haifa.shopsim.algorithms.CyclicAlgorithm
 
setShopState(ShopState) - Method in class haifa.shopsim.UI.StateTable
Updates shopState refrence and refreshes display.
setShopStateObject(ShopState) - Method in interface haifa.shopsim.ShopAlgorithm
Set the algorithm's ShopState object.
setShopStateObject(ShopState) - Method in class haifa.shopsim.UI.GUIforComputerAlgorithm
Passes on to hosted shop algorithm
setShopStateObject(ShopState) - Method in class haifa.shopsim.UI.GUIAlgorithm
 
setShopStateObject(ShopState) - Method in class haifa.shopsim.algorithms.SimpleRandomAlgorithm
 
setShopStateObject(ShopState) - Method in class haifa.shopsim.algorithms.CyclicAlgorithm
 
setUp(String, JRootPane) - Method in class haifa.shopsim.UI.MainGUI
Sets up everything.
shopAlgorithm - Variable in class haifa.shopsim.UI.GUIforComputerAlgorithm
 
shopAlgorithm - Variable in class haifa.shopsim.UI.MainGUI.AlgorithmSelectionAction
A reference to the shopAlgorithm which this class handles.
shopAlgorithm - Variable in class haifa.shopsim.kernel.ShopRun
A refrence to the algorithm that is asked what to do at each time epoch.
ShopAlgorithm - interface haifa.shopsim.ShopAlgorithm.
A ShopAlgorithm (GFA,CFA,manual etc...) has associations to a ShopState object (An object representing the current state of the shop), a ShopData object (the shop topology and jobs processing times), and a log into which it writes infomration regarding it's processing. It is recommended that the constructors will not be heavy.
shopChanged(ShopChangeEvent) - Method in interface haifa.shopsim.ShopState
 
shopChanged(ShopChangeEvent) - Method in interface haifa.shopsim.ShopChangeListener
 
shopChanged(ShopChangeEvent) - Method in class haifa.shopsim.ShopStateImpl
 
shopChanged(ShopChangeEvent) - Method in class haifa.shopsim.UI.StateTable
Responds to an event.
ShopChangeEvent - class haifa.shopsim.ShopChangeEvent.
 
ShopChangeEvent(Object, double) - Constructor for class haifa.shopsim.ShopChangeEvent
 
ShopChangeListener - interface haifa.shopsim.ShopChangeListener.
Classes which implement this interface are sensitve to changes in the job shop.
shopChangeListeners - Variable in class haifa.shopsim.ShopStateImpl
A list of all listeners to this state, that is all classes that should be notified when the state changes.
shopChangeListeners - Variable in class haifa.shopsim.kernel.ShopRun
 
ShopCommand - class haifa.shopsim.ShopCommand.
This is a command generated by a scheduling algorithm to a job shop.
ShopCommand(String, int) - Constructor for class haifa.shopsim.ShopCommand
 
ShopCommand(String, Operation, int) - Constructor for class haifa.shopsim.ShopCommand
 
ShopCommand(String, String, int) - Constructor for class haifa.shopsim.ShopCommand
Constructs a shop command.
shopData - Variable in class haifa.shopsim.ShopStateImpl
A reference to the shop data object.
shopData - Variable in class haifa.shopsim.UI.GUIforComputerAlgorithm
 
shopData - Variable in class haifa.shopsim.UI.GUIAlgorithm
 
shopData - Variable in class haifa.shopsim.UI.MainGUI
A reference to the data regarding the current job shop.
shopData - Variable in class haifa.shopsim.UI.StateTable
 
shopData - Variable in class haifa.shopsim.algorithms.SimpleRandomAlgorithm
 
shopData - Variable in class haifa.shopsim.algorithms.CyclicAlgorithm
 
shopData - Variable in class haifa.shopsim.kernel.RouteStart
 
shopData - Variable in class haifa.shopsim.kernel.ShopRun
A reference to the shopData.
shopData - Variable in class haifa.shopsim.kernel.RouteEnd
 
shopData - Variable in class haifa.shopsim.kernel.Job
A refrence to the data about the jobShop.
shopData - Variable in class haifa.shopsim.kernel.Machine
A reference to the data.
ShopData - interface haifa.shopsim.ShopData.
This is an interface for the datastrucute class that contains the data revlevant to a specific jobshop problem.
shopDataArea - Variable in class haifa.shopsim.UI.MainGUI
 
ShopFinishedEvent - class haifa.shopsim.ShopFinishedEvent.
 
ShopFinishedEvent(Object, double) - Constructor for class haifa.shopsim.ShopFinishedEvent
 
shopRun - Variable in class haifa.shopsim.UI.MainGUI
A reference to the shopRun object (the object that runs the simulation).
shopRun - Variable in class haifa.shopsim.kernel.RouteEnd
 
shopRun - Variable in class haifa.shopsim.kernel.Machine
A reference to the ShopRun object, the main process.
ShopRun - class haifa.shopsim.kernel.ShopRun.
This class is the Process in the simulation that starts it all (the main process).
ShopRun(ShopAlgorithm, ShopData, ShopState, PostRunAction, PrintWriter, boolean) - Constructor for class haifa.shopsim.kernel.ShopRun
Sets up the shop.
ShopStartedEvent - class haifa.shopsim.ShopStartedEvent.
 
ShopStartedEvent(Object, double, Map) - Constructor for class haifa.shopsim.ShopStartedEvent
 
shopState - Variable in class haifa.shopsim.UI.GUIforComputerAlgorithm
 
shopState - Variable in class haifa.shopsim.UI.GUIAlgorithm
 
shopState - Variable in class haifa.shopsim.UI.MainGUI
A refrence to the shopState.
shopState - Variable in class haifa.shopsim.UI.StateTable
 
shopState - Variable in class haifa.shopsim.algorithms.SimpleRandomAlgorithm
 
shopState - Variable in class haifa.shopsim.algorithms.CyclicAlgorithm
 
shopState - Variable in class haifa.shopsim.kernel.ShopRun
A reference to the ShopState object.
ShopState - interface haifa.shopsim.ShopState.
 
ShopStateImpl - class haifa.shopsim.ShopStateImpl.
This class represents the state of the jobshop at a given time instance as it is seen by an Algorithm.
ShopStateImpl(ShopData) - Constructor for class haifa.shopsim.ShopStateImpl
Cot'r builds state according to ShopData.
SimpleRandomAlgorithm - class haifa.shopsim.algorithms.SimpleRandomAlgorithm.
 
SimpleRandomAlgorithm(ShopData, ShopState) - Constructor for class haifa.shopsim.algorithms.SimpleRandomAlgorithm
 
SimulationEntity - interface haifa.shopsim.kernel.SimulationEntity.
A class or interface implementing/extending this interface implies that it is a simulation entity, thus it is a working object within the simulation.
start() - Method in class haifa.shopsim.UI.MainGUI
 
start() - Method in class haifa.shopsim.UI.BusyAnimation
 
start() - Method in class haifa.shopsim.kernel.ShopRun
 
stateTable - Variable in class haifa.shopsim.UI.MainGUI
A reference to the stateTable
StateTable - class haifa.shopsim.UI.StateTable.
This class displays the state of the algorithm.
StateTable(ShopData, ShopState) - Constructor for class haifa.shopsim.UI.StateTable
 
StaticGetAlgorithmName() - Static method in class haifa.shopsim.UI.GUIAlgorithm
 
StaticGetAlgorithmName() - Static method in class haifa.shopsim.algorithms.SimpleRandomAlgorithm
 
StaticGetAlgorithmName() - Static method in class haifa.shopsim.algorithms.CyclicAlgorithm
 
step - Variable in class haifa.shopsim.UI.GUIforComputerAlgorithm
 
step - Variable in class haifa.shopsim.kernel.Job
Determines the most recent step of processing that the job has experienced so far.
STEP - Variable in class haifa.shopsim.UI.BusyAnimation
 
step() - Method in class haifa.shopsim.UI.BusyAnimation
 
stepButton - Variable in class haifa.shopsim.UI.GUIforComputerAlgorithm
 
stepDurations - Variable in class haifa.shopsim.GeneralShopDataArray
This is a ragged array of job durations per each step.
stepsPanel - Variable in class haifa.shopsim.UI.GUIAlgorithm
 
stop() - Method in class haifa.shopsim.UI.MainGUI
 
stop() - Method in class haifa.shopsim.UI.BusyAnimation
 
stopButton - Variable in class haifa.shopsim.UI.GUIforComputerAlgorithm
 

T

t - Variable in class haifa.shopsim.UI.BusyAnimation
 
time - Variable in class haifa.shopsim.ShopChangeEvent
 
time - Variable in class haifa.shopsim.ShopStateImpl
The current simulation time.
timeLabel - Variable in class haifa.shopsim.UI.StateTable
 
topPanel - Variable in class haifa.shopsim.UI.MainGUI
 
topPanel - Variable in class haifa.shopsim.UI.StateTable
 
toString() - Method in class haifa.shopsim.ShopChangeEvent
 
toString() - Method in class haifa.shopsim.ShopStateImpl
Returns string representing the ShopState
toString() - Method in class haifa.shopsim.ShopCommand
 
toString() - Method in class haifa.shopsim.MachineFinishedEvent
 
toString() - Method in class haifa.shopsim.MachineStartedEvent
 
toString() - Method in class haifa.shopsim.GeneralShopDataArray
Returns all info regarding jobshop in a displayable string
toString() - Method in class haifa.shopsim.JobFinishedEvent
 
toString() - Method in class haifa.shopsim.ShopStartedEvent
 
toString() - Method in class haifa.shopsim.Operation
 
toString() - Method in class haifa.shopsim.UI.GUIforComputerAlgorithm
 
toString() - Method in class haifa.shopsim.UI.GUIAlgorithm
 
toString() - Method in class haifa.shopsim.algorithms.SimpleRandomAlgorithm
 
toString() - Method in class haifa.shopsim.algorithms.CyclicAlgorithm
 
toString() - Method in class haifa.shopsim.kernel.Job
 
toString() - Method in class haifa.shopsim.kernel.Machine
Returns the machineNumber in a string.
type - Variable in class haifa.shopsim.kernel.Job
The type of the job

U

unfinishedJobs - Variable in class haifa.shopsim.kernel.ShopRun
 
update(Map) - Method in class haifa.shopsim.ShopStateImpl
Takes operation objects from opMap and updates relevant ones
upgradeCounter - Variable in class haifa.shopsim.UI.BusyAnimation
 

V

visualShopStateObject - Variable in class haifa.shopsim.UI.GUIforComputerAlgorithm
 

W

whatNow(int) - Method in interface haifa.shopsim.ShopAlgorithm
Returns a ShopCommand class which has the directions on the next immidiate action to do for the specific machine. This method looks at the shop state objects and decides.
whatNow(int) - Method in class haifa.shopsim.UI.GUIforComputerAlgorithm
Passes on to hosted shop algorithm
whatNow(int) - Method in class haifa.shopsim.UI.GUIAlgorithm
Very simply reads a command from console and returns a ShopCommmand object.
whatNow(int) - Method in class haifa.shopsim.algorithms.SimpleRandomAlgorithm
Very simply reads a command from console and returns a ShopCommmand object.
whatNow(int) - Method in class haifa.shopsim.algorithms.CyclicAlgorithm
Very simply reads a command from console and returns a ShopCommmand object.
whatNow(int) - Method in class haifa.shopsim.kernel.ShopRun
Used by the Machine objects in the simulation.
workingMachines - Variable in class haifa.shopsim.ShopStateImpl
An array specifiing which of the machines is currently busy.

X

x1 - Variable in class haifa.shopsim.UI.BusyAnimation
 
x2 - Variable in class haifa.shopsim.UI.BusyAnimation
 

Y

y1 - Variable in class haifa.shopsim.UI.BusyAnimation
 
y2 - Variable in class haifa.shopsim.UI.BusyAnimation
 

A B C D E F G H I J K L M N O P Q R S T U V W X Y