Class MarkovResultApproximation


  • public class MarkovResultApproximation
    extends Object
    This class represents an approximated Markov transformation result value.
    • Constructor Detail

      • MarkovResultApproximation

        public MarkovResultApproximation​(double lowerBound,
                                         double upperBound)
        Initializes a new Markov result value approximation.
        Parameters:
        lowerBound - the lower bound of the approximation
        upperBound - the upper bound of the approximation
    • Method Detail

      • getAccuracy

        public int getAccuracy()
        Retrieves the accuracy (i.e., number of exact decimal values) of the approximation.
        Returns:
        the accuracy of the approximation
      • getAdjustedLowerBound

        public double getAdjustedLowerBound()
        Retrieves the lower approximation bound after adjustment.
        Returns:
        the lower approximation bound
      • getAdjustedUpperBound

        public double getAdjustedUpperBound()
        Retrieves the upper approximation bound after adjustment.
        Returns:
        the upper approximation bound
      • getLowerBound

        public double getLowerBound()
        Retrieves the lower approximation bound.
        Returns:
        the lower approximation bound
      • getUpperBound

        public double getUpperBound()
        Retrieves the upper approximation bound.
        Returns:
        the upper approximation bound
      • hasRequiredAccuracy

        public boolean hasRequiredAccuracy​(int requiredAccuracy)
        Checks if the approximation fulfills a required accuracy (i.e., number of exact decimal places).
        Parameters:
        requiredAccuracy - the required accuracy
        Returns:
        true if the required accuracy is fulfilled