com.twitter.algebird

Approximate

case class Approximate[N](min: N, estimate: N, max: N, probWithinBounds: Double, numeric: Numeric[N]) extends Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Approximate
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Approximate(min: N, estimate: N, max: N, probWithinBounds: Double)(implicit numeric: Numeric[N])

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def *(right: Approximate[N]): Approximate[N]

    This is not distributive, because: a*(b+c) has two probability multiplications while (a*b + a*b) has three Some kind of general formula solver could possibly make this distributive, but in the mean time, it's only a group

  5. def +(right: Approximate[N]): Approximate[N]

  6. def -(right: Approximate[N]): Approximate[N]

  7. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  8. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def boundsContain(v: N): Boolean

  11. def canEqual(arg0: Any): Boolean

    Definition Classes
    Approximate → Equals
  12. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  13. def contains(v: N): ApproximateBoolean

  14. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Definition Classes
    Approximate → Equals → AnyRef → Any
  16. val estimate: N

  17. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  18. final def getClass(): java.lang.Class[_]

    Definition Classes
    AnyRef → Any
  19. def hashCode(): Int

    Definition Classes
    Approximate → AnyRef → Any
  20. def isExact: Boolean

  21. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  22. def isOne: Boolean

  23. def isZero: Boolean

  24. val max: N

  25. val min: N

  26. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  27. def negate: Approximate[N]

  28. final def notify(): Unit

    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  30. implicit val numeric: Numeric[N]

  31. val probWithinBounds: Double

  32. def productArity: Int

    Definition Classes
    Approximate → Product
  33. def productElement(arg0: Int): Any

    Definition Classes
    Approximate → Product
  34. def productIterator: Iterator[Any]

    Definition Classes
    Product
  35. def productPrefix: String

    Definition Classes
    Approximate → Product
  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  37. def toString(): String

    Definition Classes
    Approximate → AnyRef → Any
  38. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  39. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  40. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  41. def withMax(m: N): Approximate[N]

  42. def withMin(m: N): Approximate[N]

  43. def ~(v: N): Boolean

Deprecated Value Members

  1. def productElements: Iterator[Any]

    Definition Classes
    Product
    Annotations
    @deprecated
    Deprecated

    (Since version 2.8.0) use productIterator instead

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any