Class ProcessingCapacityChecker

java.lang.Object
solvers.utilities.ProcessingCapacityChecker

public class ProcessingCapacityChecker extends Object
Checks whether the JMVA model has sufficient processing capacity for the given workload, as described in the user manual.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    mixedHasSufficientProcessingCapacity(int[] stationType, double[][] visits, double[][][] servTime, double[] classData, int[] classTypes)
     
    static boolean
    mixedHasSufficientProcessingCapacity(int[] stationType, double[][] visits, double[][][] servTime, double[] classData, int[] classType, int[] servers)
    Below are methods to allow for processing capacity to be checked with varying amounts of data.
    static boolean
    mixedHasSufficientProcessingCapacity(int[] stationType, double[][] visits, double[][][] servTime, double[] classData, int[] classType, int[] servers, int[] priorities)
    A system is said to have sufficient capacity to process a given load lambda if no service center is saturated as a result of the combined loads of all the open classes.
    static boolean
    openHasSufficientProcessingCapacity(int[] stationType, double[][] visits, double[][][] servTime, double[] arrivalRates)
     
    static boolean
    openHasSufficientProcessingCapacity(int[] stationType, double[][] visits, double[][][] servTime, double[] arrivalRates, int[] servers)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ProcessingCapacityChecker

      public ProcessingCapacityChecker()
  • Method Details

    • mixedHasSufficientProcessingCapacity

      public static boolean mixedHasSufficientProcessingCapacity(int[] stationType, double[][] visits, double[][][] servTime, double[] classData, int[] classType, int[] servers, int[] priorities)
      A system is said to have sufficient capacity to process a given load lambda if no service center is saturated as a result of the combined loads of all the open classes.
      WARNING: This method should be called before solving the system.
      Parameters:
      stationType - Eg. LI, LD, Delay, PRS, HOL
      visits - [station] [class]
      servTime - [station] [class] [population]
      classData - Population for closed classes, arrival rate for open classes
      classType - Closed or Open (constants found in SolverMulti)
      servers - Number of servers at each station
      priorities - [class] Priority of each class
      Returns:
      true if sufficient capacity exists for the given workload, false otherwise
    • mixedHasSufficientProcessingCapacity

      public static boolean mixedHasSufficientProcessingCapacity(int[] stationType, double[][] visits, double[][][] servTime, double[] classData, int[] classType, int[] servers)
      Below are methods to allow for processing capacity to be checked with varying amounts of data. E.g. number of servers can be missing or priorities can be missing
    • mixedHasSufficientProcessingCapacity

      public static boolean mixedHasSufficientProcessingCapacity(int[] stationType, double[][] visits, double[][][] servTime, double[] classData, int[] classTypes)
    • openHasSufficientProcessingCapacity

      public static boolean openHasSufficientProcessingCapacity(int[] stationType, double[][] visits, double[][][] servTime, double[] arrivalRates, int[] servers)
    • openHasSufficientProcessingCapacity

      public static boolean openHasSufficientProcessingCapacity(int[] stationType, double[][] visits, double[][][] servTime, double[] arrivalRates)