Class IterativeClosedMultiToSingleSolverWrapper
java.lang.Object
solvers.Solver
solvers.dispatchers.wrappers.ClosedMultiToSingleSolverWrapper
solvers.dispatchers.wrappers.IterativeClosedMultiToSingleSolverWrapper
Wrapper class for single-class queueing models
Uses multi-class algorithm to solve the single-class models
- Author:
- by Ben Pahnke
-
Field Summary
FieldsFields inherited from class ClosedMultiToSingleSolverWrapper
algorithm, customers, custVisits, DEBUG, serviceTimes, solverFields inherited from class Solver
DELAY, HOL, LD, LI, name, PRS, queueLen, residenceTime, servTime, stations, throughput, totRespTime, totThroughput, totUser, type, utilization, visits -
Constructor Summary
ConstructorsConstructorDescriptionIterativeClosedMultiToSingleSolverWrapper(SolverAlgorithm alg, ExactModel model, double tol) -
Method Summary
Methods inherited from class ClosedMultiToSingleSolverWrapper
hasSufficientProcessingCapacity, input, solveMethods inherited from class Solver
getQueueLen, getQueueLen, getResTime, getResTime, getThroughput, getThroughput, getTotResTime, getTotThroughput, getTotUser, getUtilization, getUtilization, printIndices, toString
-
Field Details
-
tolerance
protected double tolerance
-
-
Constructor Details
-
IterativeClosedMultiToSingleSolverWrapper
public IterativeClosedMultiToSingleSolverWrapper(SolverAlgorithm alg, ExactModel model, double tol) throws SolverException, InternalErrorException
-
-
Method Details
-
setMaxIterations
public void setMaxIterations(int maxIterations) -
getIterations
public int getIterations()
-