Class ProcessingCapacityChecker
java.lang.Object
solvers.utilities.ProcessingCapacityChecker
Checks whether the JMVA model has sufficient processing capacity for the given workload, as described in the user manual.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanmixedHasSufficientProcessingCapacity(int[] stationType, double[][] visits, double[][][] servTime, double[] classData, int[] classTypes) static booleanmixedHasSufficientProcessingCapacity(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 booleanmixedHasSufficientProcessingCapacity(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 loadlambdaif no service center is saturated as a result of the combined loads of all the open classes.static booleanopenHasSufficientProcessingCapacity(int[] stationType, double[][] visits, double[][][] servTime, double[] arrivalRates) static booleanopenHasSufficientProcessingCapacity(int[] stationType, double[][] visits, double[][][] servTime, double[] arrivalRates, int[] servers)
-
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 loadlambdaif 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, HOLvisits- [station] [class]servTime- [station] [class] [population]classData- Population for closed classes, arrival rate for open classesclassType- Closed or Open (constants found in SolverMulti)servers- Number of servers at each stationpriorities- [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)
-