Class TreeMVASolver
java.lang.Object
solvers.queueingnet.QNSolver
solvers.queueingnet.treeAlgorithms.tmva.TreeMVASolver
- All Implemented Interfaces:
QNSolverInterface
Tree MVA implementation based on Hoyme and Tucci papers from 1985.
- Author:
- Ben Homer, 2014.
-
Field Summary
Fields inherited from class QNSolver
G, memUsage, qnm, totalTimer -
Constructor Summary
ConstructorsConstructorDescriptionTreeMVASolver(QNModel qnm, int numThreads, boolean useJMTsequentialMVA) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoidComputes 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
computeNormalisingConstant, getNormalisingConstant, printMemUsage, printTimeStatistics
-
Constructor Details
-
TreeMVASolver
public TreeMVASolver(QNModel qnm, int numThreads, boolean useJMTsequentialMVA) throws InternalErrorException Constructor.- Parameters:
qnm- The model to solve.numThreads- The number of threads to use.useJMTsequentialMVA- Whether to use sequential MVA.- Throws:
InternalErrorException
-
-
Method Details
-
printWelcome
public void printWelcome()Prints a short welcome message that says which solver is used.- Specified by:
printWelcomein interfaceQNSolverInterface- Overrides:
printWelcomein classQNSolver
-
computePerformanceMeasures
Computes 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
-