All Packages Class Hierarchy This Package Previous Next Index
Class examples.prepriosys.PrePrioSysSimulation
java.lang.Object
|
+----java.util.Observable
|
+----simula.simset.simulation.Simulation
|
+----examples.prepriosys.PrePrioSysSimulation
- public class PrePrioSysSimulation
- extends Simulation
A preemptive system with priorities
-
available
- Available servers list
-
busy
- List of busy Servers
-
c
- Server number
-
i
- Queue index
-
k
- Number of queues
-
numthrough
- Customers served
-
queue
- Queues of customers
-
seed
- Seed for random generator
-
simtime
- Simulation length
-
sojourn
- Total sojourn time for customers
-
top
- Top element in the queue
-
PrePrioSysSimulation()
-
-
main(String[])
-
Start the simualtion, instantiating a new Simulation and launching the main program
seed
public int seed
- Seed for random generator
top
public int top
- Top element in the queue
i
public int i
- Queue index
simtime
public double simtime
- Simulation length
numthrough
public int numthrough[]
- Customers served
sojourn
public double sojourn[]
- Total sojourn time for customers
available
public Head available
- Available servers list
queue
public Head queue[]
- Queues of customers
k
public int k
- Number of queues
c
public int c
- Server number
busy
public Head busy[]
- List of busy Servers
PrePrioSysSimulation
public PrePrioSysSimulation()
main
public static void main(String args[])
- Start the simualtion, instantiating a new Simulation and launching the main program
- Parameters:
- args[] - Ignored
- See Also:
- Simulation, SimulationMain
All Packages Class Hierarchy This Package Previous Next Index