Class BinaryIdempotentUnivariateRandom


public class BinaryIdempotentUnivariateRandom
extends BoundedIdempotentUnivariateRandom
BinaryIdempotentUnivariateRandom contains the Implementation of the Objective Function dependent on Binary Idempotent Univariate Random Variable.



Author:
Lakshmi Krishnamurthy
  • Constructor Details

    • BinaryIdempotentUnivariateRandom

      public BinaryIdempotentUnivariateRandom​(double dblOffset, R1Univariate dist, double dblVariateBound, double dblPositiveProbability) throws java.lang.Exception
      BinaryIdempotentUnivariateRandom Constructor
      Parameters:
      dblOffset - The Idempotent Offset
      dist - The Underlying Distribution
      dblVariateBound - The Variate Bound
      dblPositiveProbability - Probability of reaching 1
      Throws:
      java.lang.Exception - Thrown if the Inputs are Invalid
  • Method Details

    • positiveProbability

      public double positiveProbability()
      Retrieve the Probability of reaching 1
      Returns:
      The Probability of reaching 1
    • agnosticVarianceBound

      public double agnosticVarianceBound()
      Description copied from class: BoundedIdempotentUnivariateRandom
      Retrieve the Maximal Agnostic Variance Bound Over the Variate Range
      Overrides:
      agnosticVarianceBound in class BoundedIdempotentUnivariateRandom
      Returns:
      The Maximal Agnostic Bound over the Variate Range