All Packages Class Hierarchy This Package Previous Next Index
Class examples.machine.MachineSimulation
java.lang.Object
|
+----java.util.Observable
|
+----simula.simset.simulation.Simulation
|
+----examples.machine.MachineSimulation
- public class MachineSimulation
- extends Simulation
The machine interference model
-
available
- Available repairmen list
-
breaks
- Breaks counter
-
brk
- Failure ratio
-
broken
- Broken machines list
-
downtime
- Total inactivity time
-
i
- Machine counter
-
m
- Number of machines
-
r
- Number of rapairmen
-
rep
- Repairman speed
-
seed
- Seed for random generators
-
simtime
- Simulation length
-
MachineSimulation()
-
-
main(String[])
-
Start the simulation, instantiating a new Simulation and launching the main program
brk
public double brk
- Failure ratio
rep
public double rep
- Repairman speed
downtime
public double downtime
- Total inactivity time
simtime
public double simtime
- Simulation length
m
public int m
- Number of machines
r
public int r
- Number of rapairmen
breaks
public int breaks
- Breaks counter
seed
public int seed
- Seed for random generators
i
public int i
- Machine counter
broken
public Head broken
- Broken machines list
available
public Head available
- Available repairmen list
MachineSimulation
public MachineSimulation()
main
public static void main(String args[])
- Start the simulation, 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