Class SolverSingleOpen

java.lang.Object
solvers.Solver
solvers.singleSolverAlgorithms.SolverSingleOpen

public class SolverSingleOpen extends Solver
Solves a single class open model.
To read about the formulas used to solve the system, see:
E.D. Lazowska, J. Zahorjan, G.S. Graham, K. Sevcik
Quantitative System Performance,
Prentice Hall, 1984
NOT USED
Author:
Federico Granata, Stefano Omini
  • Field Details

    • lambda

      protected double lambda
      arrival rate
  • Constructor Details

    • SolverSingleOpen

      public SolverSingleOpen(double lambda, int stations)
      Constructor
      Parameters:
      lambda - the arrival rate
      stations - the number of stations
  • Method Details

    • solve

      public void solve()
      Solves the system, after checking that the system contains no LD station (only LI and DELAY stations are allowed).
      * "input(...)" method must have been called before solving the model!!
      Specified by:
      solve in class Solver
    • solveLI

      public void solveLI()
      Solves the system with only LI and DELAY stations.
    • hasSufficientProcessingCapacity

      public boolean hasSufficientProcessingCapacity()
      A system is said to have sufficient capacity to process a given load lambda if no service center is saturated as a result of such a load.
      WARNING: This method should be called before solving the system.
      Specified by:
      hasSufficientProcessingCapacity in class Solver
      Returns:
      true if sufficient capacity exists for the given workload, false otherwise