Class CoMoMSolver
java.lang.Object
solvers.queueingnet.QNSolver
solvers.queueingnet.CoMoMSolver
- All Implemented Interfaces:
QNSolverInterface
- Direct Known Subclasses:
CoMoMBTFSolver, CoMoMSimpleSolver
This class provides the high-level implementation of the CoMoM algorithm, it
is programmed to the interface provided by the LinearSystem class.
Sub-classes must choose the linear system they are to use.
- Author:
- Jack Bradshaw *
-
Field Summary
FieldsFields inherited from class QNSolver
G, memUsage, qnm, totalTimer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidComputes the normalising constant for the specified QNModel.voidComputes and stores the performance measures (mean throughputs and mean queue lengths for the current model.Methods inherited from class QNSolver
getNormalisingConstant, printMemUsage, printTimeStatistics, printWelcome
-
Field Details
-
system
-
basis
-
-
Constructor Details
-
CoMoMSolver
- Throws:
InternalErrorException
-
-
Method Details
-
computeNormalisingConstant
public void computeNormalisingConstant() throws InternalErrorException, OperationNotSupportedException, InconsistentLinearSystemException, BTFMatrixErrorExceptionDescription 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.OperationNotSupportedExceptionInconsistentLinearSystemExceptionBTFMatrixErrorException
-
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
-