Class SolverMultiOpen
java.lang.Object
solvers.SolverMulti
solvers.multiSolverAlgorithms.SolverMultiOpen
Solves a multiclass open model with the classical queueing network
algorithms, as described in the JMVA chapter of the JMT user manual
(load dependent stations are not allowed in open models).
- Author:
- Federico Granata, Stefano Omini, Bertoli Marco
-
Field Summary
Fields inherited from class SolverMulti
classes, CLOSED_CLASS, clsNumJobs, clsRespTime, clsThroughput, DELAY, HOL, LD, LI, name, OPEN_CLASS, priorities, PRS, pw, queueLen, residenceTime, scQueueLen, scResidTime, scThroughput, scUtilization, servers, servTime, stations, sysNumJobs, sysResponseTime, sysThroughput, throughput, type, utilization, visits -
Constructor Summary
ConstructorsConstructorDescriptionSolverMultiOpen(int classes, int stations, double[] lambda) Creates a SolverMultiOpenSolverMultiOpen(int classes, int stations, double[] lambda, int[] servers) Creates a SolverMultiOpen with multiple server support -
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 the combined loads of all the classes.voidsolve()Solves the model, using an appropriate technique (LI or LD model).Methods inherited from class SolverMulti
getAggrQueueLen, getAggrQueueLen, getAggrResTime, getAggrResTime, getAggrThroughput, getAggrThroughput, getAggrUtilization, getAggrUtilization, getClsResTime, getClsResTime, getClsThroughput, getClsThroughput, getQueueLen, getQueueLen, getResTime, getResTime, getThroughput, getThroughput, getTotResTime, getTotThroughput, getUtilization, getUtilization, getVisits, input, input, printIndices, setServTime, toString
-
Constructor Details
-
SolverMultiOpen
public SolverMultiOpen(int classes, int stations, double[] lambda) Creates a SolverMultiOpen- Parameters:
classes- number of classesstations- number of stationslambda- array of arrival rates
-
SolverMultiOpen
public SolverMultiOpen(int classes, int stations, double[] lambda, int[] servers) Creates a SolverMultiOpen with multiple server support- Parameters:
classes- number of classesstations- number of stationslambda- array of arrival rates
-
-
Method Details
-
solve
public void solve()Solves the model, using an appropriate technique (LI or LD model).- Specified by:
solvein classSolverMulti
-
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 the combined loads of all the classes.
WARNING: This method should be called before solving the system.- Specified by:
hasSufficientProcessingCapacityin classSolverMulti- Returns:
- true if sufficient capacity exists for the given workload, false otherwise
-