Class SolverSingleClosedExact
java.lang.Object
solvers.Solver
solvers.singleSolverAlgorithms.SolverSingleClosedExact
- Direct Known Subclasses:
SolverSingleClosedExactDyn
Solves a single class closed model using the normalisation constant
algorithm, one of the exact solution techniques available in JMVA for closed
product form queueing networks. A preordering algorithm is applied to obtain
a numerically stable network before the solution.
- Author:
- Federico Granata
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected double[]computes the auxiliary function of the systemprotected intnumber of customers or jobs in the systemprotected double[]normalisation constantFields inherited from class Solver
DELAY, HOL, LD, LI, name, PRS, queueLen, residenceTime, servTime, stations, throughput, totRespTime, totThroughput, totUser, type, utilization, visits -
Constructor Summary
ConstructorsConstructorDescriptionSolverSingleClosedExact(int customers, int stations) Creates a new SolverSingleClosedExact -
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.voidindices()Calculates the indices of interest for the system.
For a description of the algorithm see:
S.C.voidsolve()Solves the system through the normalisation constant algorithm.Methods inherited from class Solver
getQueueLen, getQueueLen, getResTime, getResTime, getThroughput, getThroughput, getTotResTime, getTotThroughput, getTotUser, getUtilization, getUtilization, input, printIndices, toString
-
Field Details
-
customers
protected int customersnumber of customers or jobs in the system -
G
protected double[] Gnormalisation constant -
auxFun
protected double[] auxFuncomputes the auxiliary function of the system
-
-
Constructor Details
-
SolverSingleClosedExact
public SolverSingleClosedExact(int customers, int stations) Creates a new SolverSingleClosedExact- Parameters:
customers- number of customersstations- number of service centers
-
-
Method Details
-
indices
public void indices()Calculates the indices of interest for the system.
For a description of the algorithm see:
S.C. Bruell, G. Balbo,
"Computational Algorithms for closed Queueing Networks",
1980, Elsevier North Holland -
hasSufficientProcessingCapacity
public boolean hasSufficientProcessingCapacity()A 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
-
solve
-