Class SolverSingleClosedExact

java.lang.Object
solvers.Solver
solvers.singleSolverAlgorithms.SolverSingleClosedExact
Direct Known Subclasses:
SolverSingleClosedExactDyn

public class SolverSingleClosedExact extends Solver
Solves a single class closed model using the normalisation constant algorithm, one of the exact solution techniques available in JMVA for closed product form queueing networks. A preordering algorithm is applied to obtain a numerically stable network before the solution.
Author:
Federico Granata
  • Field Details

    • customers

      protected int customers
      number of customers or jobs in the system
    • G

      protected double[] G
      normalisation constant
    • auxFun

      protected double[] auxFun
      computes the auxiliary function of the system
  • Constructor Details

    • SolverSingleClosedExact

      public SolverSingleClosedExact(int customers, int stations)
      Creates a new SolverSingleClosedExact
      Parameters:
      customers - number of customers
      stations - number of service centers
  • Method Details

    • indices

      public void indices()
      Calculates the indices of interest for the system.
      For a description of the algorithm see:
      S.C. Bruell, G. Balbo,
      "Computational Algorithms for closed Queueing Networks",
      1980, Elsevier North Holland
    • 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
    • solve

      public void solve()
      Solves the system through the normalisation constant algorithm. For a description of the algorithm see: S.C. Bruell, G. Balbo,
      "Computational Algorithms for closed Queueing Networks",
      1980, Elsevier North Holland
      Specified by:
      solve in class Solver