Class RGFSolver
java.lang.Object
solvers.queueingnet.QNSolver
solvers.queueingnet.RGFSolver
- All Implemented Interfaces:
QNSolverInterface
Recursive Gaussian Filter (RGF) solution algorithm of JMVA.
-
Field Summary
Fields inherited from class QNSolver
G, memUsage, qnm, totalTimer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected BigRationalcompute(MultiplicitiesVector m, PopulationVector p, int q, BigRational[][] load) voidComputes the normalising constant for the specified QNModel.voidComputes and stores the performance measures (mean throughputs and mean queue lengths for the current model.voidPrints a short welcome message that says which solver is used.Methods inherited from class QNSolver
getNormalisingConstant, printMemUsage, printTimeStatistics
-
Constructor Details
-
RGFSolver
- Throws:
InternalErrorException
-
-
Method Details
-
computeNormalisingConstant
Description copied from class:QNSolverComputes the normalising constant for the specified QNModel.- Specified by:
computeNormalisingConstantin interfaceQNSolverInterface- Overrides:
computeNormalisingConstantin classQNSolver- Throws:
InternalErrorException- * @throws InternalErrorException An exception is thrown if any internal error is encountered during computations.
-
compute
protected BigRational compute(MultiplicitiesVector m, PopulationVector p, int q, BigRational[][] load) throws InternalErrorException - Throws:
InternalErrorException
-
computePerformanceMeasures
Description copied from class:QNSolverComputes and stores the performance measures (mean throughputs and mean queue lengths for the current model.- Specified by:
computePerformanceMeasuresin interfaceQNSolverInterface- Overrides:
computePerformanceMeasuresin classQNSolver- Throws:
InternalErrorException- Thrown when any computation fails
-
printWelcome
public void printWelcome()Description copied from class:QNSolverPrints a short welcome message that says which solver is used.- Specified by:
printWelcomein interfaceQNSolverInterface- Overrides:
printWelcomein classQNSolver
-