Class PSSolver
java.lang.Object
jmt.jmch.animation.solver.AnimationSolver
jmt.jmch.animation.solver.PSSolver
Solver for PS animations
- Author:
- Lorenzo Torri Date: 13-may-2025 Time: 20.13
-
Field Summary
Fields inherited from class AnimationSolver
animation, completedJobs, generatedJobs, globalArrivalTime, nQueues, T -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinit()Init variables, but it's also a way to reset all of them when the stop button is presseddoublejobEntrance(double randomArrival) voidMethods inherited from class AnimationSolver
getMeasures, updateMeasures
-
Constructor Details
-
PSSolver
-
-
Method Details
-
init
public void init()Description copied from class:AnimationSolverInit variables, but it's also a way to reset all of them when the stop button is pressed- Overrides:
initin classAnimationSolver
-
jobEntrance
public double jobEntrance(double randomArrival) - Specified by:
jobEntrancein classAnimationSolver
-
jobExit
- Specified by:
jobExitin classAnimationSolver
-