Class SolverSingleClosedCoMoM
java.lang.Object
solvers.Solver
solvers.SolverSingleClosedCoMoM
Solves a single class closed model, using Monte Carlo Logistic algorithm.
- Author:
- Ong Wai Hong
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected double[][]static final booleanprotected double[][][]Fields inherited from class Solver
DELAY, HOL, LD, LI, name, PRS, queueLen, residenceTime, servTime, stations, throughput, totRespTime, totThroughput, totUser, type, utilization, visits -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanA system is said to have sufficient capacity to process a given loadlambdaif no service center is saturated as a result of such a load.booleanInitializes the solver with the model parameters.voidsolve()Must be implemented to create a single class model solver.Methods inherited from class Solver
getQueueLen, getQueueLen, getResTime, getResTime, getThroughput, getThroughput, getTotResTime, getTotThroughput, getTotUser, getUtilization, getUtilization, printIndices, toString
-
Field Details
-
solver
-
DEBUG
public static final boolean DEBUG- See Also:
-
customers
protected int customers -
serviceTimes
protected double[][][] serviceTimes -
custVisits
protected double[][] custVisits
-
-
Constructor Details
-
SolverSingleClosedCoMoM
- Throws:
InternalErrorException
-
-
Method Details
-
hasSufficientProcessingCapacity
public boolean hasSufficientProcessingCapacity()Description copied from class:SolverA system is said to have sufficient capacity to process a given loadlambdaif no service center is saturated as a result of such a load.
WARNING: This method should be called before solving the system.- Specified by:
hasSufficientProcessingCapacityin classSolver- Returns:
- true if sufficient capacity exists for the given workload, false otherwise
-
input
Description copied from class:SolverInitializes the solver with the model parameters. It must be called before trying to solve the model. -
solve
-