Class QNSolver

java.lang.Object
solvers.queueingnet.QNSolver
All Implemented Interfaces:
QNSolverInterface
Direct Known Subclasses:
CoMoMSolver, MoMSolver, MonteCarloLogisticSolver, MonteCarloSolver, RecursiveSolver, RGFSolver, TreeConvolutionSolver, TreeMVASolver

public class QNSolver extends Object implements QNSolverInterface
Class which defines several methods every QNSolver object must support. It provides generic implementation of common operations, such as initialisation, evaluation and returning the results.
Author:
Michail Makaronidis, 2010
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected BigRational
    The normalising constant is stored here after it has been computed.
    protected String
    Contains a human-readable string representation of the QNSolver's memory usage.
    protected QNModel
    The QNModel object that we are working on.
    The Timer object responsible for keeping the total time needed by this QNSolver to evaluate the network.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates and initialises a QNSolver object.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Computes the normalising constant for the specified QNModel.
    void
    Computes and stores the performance measures (mean throughputs and mean queue lengths for the current model.
    Returns a string representing the normalising constant.
    void
    Prints the highest actual memory usage during the network's evaluation.
    void
    Prints the time needed for the solver object to evaluate the network.
    void
    Prints a short welcome message that says which solver is used.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait