Class ModelSolverCompatibilityChecker
java.lang.Object
solvers.dispatchers.ModelSolverCompatibilityChecker
Checks whether the JMVA model is compatible with the selected solution algorithm.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcheckClassPopulationsAndArrivalRates(ExactModel model, double[] classData) static voidcheckCompatibility(ExactModel model, double[] classData, SolverAlgorithm algorithmType) static voidcheckModelAlgorithmCompatability(ExactModel model, SolverAlgorithm algorithmType)
-
Constructor Details
-
ModelSolverCompatibilityChecker
public ModelSolverCompatibilityChecker()
-
-
Method Details
-
checkCompatibility
public static void checkCompatibility(ExactModel model, double[] classData, SolverAlgorithm algorithmType) throws UnsupportedModelException, InputDataException -
checkClassPopulationsAndArrivalRates
public static void checkClassPopulationsAndArrivalRates(ExactModel model, double[] classData) throws InputDataException - Throws:
InputDataException
-
checkModelAlgorithmCompatability
public static void checkModelAlgorithmCompatability(ExactModel model, SolverAlgorithm algorithmType) throws UnsupportedModelException - Throws:
UnsupportedModelException
-