Packages

  • package root
    Definition Classes
    root
  • package provingground

    This is work towards automated theorem proving based on learning, using homotopy type theory (HoTT) as foundations and natural language processing.

    This is work towards automated theorem proving based on learning, using homotopy type theory (HoTT) as foundations and natural language processing.

    The implementation of homotopy type theory is split into:

    • the object HoTT with terms, types, functions and dependent functions, pairs etc
    • the package induction with general inductive types and recursion/induction on these.

    The learning package has the code for learning.

    Scala code, including the spire library, is integrated with homotopy type theory in the scalahott package

    We have implemented a functor based approach to translation in the translation package, used for nlp as well as serialization and parsing.

    The library package is contains basic structures implemented in HoTT.

    Definition Classes
    root
  • object ProbabilityDistribution
    Definition Classes
    provingground
  • CondMapped
  • Conditioned
  • FiberProduct
  • FlatMapped
  • Flattened
  • Mapped
  • Mixin
  • MixinOpt
  • Mixture
  • Product
  • Scaled
  • Sum

case class Product[A, B](first: ProbabilityDistribution[A], second: ProbabilityDistribution[B]) extends ProbabilityDistribution[(A, B)] with scala.Product with Serializable

Linear Supertypes
Serializable, scala.Product, Equals, ProbabilityDistribution[(A, B)], AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Product
  2. Serializable
  3. Product
  4. Equals
  5. ProbabilityDistribution
  6. AnyRef
  7. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Product(first: ProbabilityDistribution[A], second: ProbabilityDistribution[B])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from Product[A, B] toany2stringadd[Product[A, B]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Product[A, B], B)
    Implicit
    This member is added by an implicit conversion from Product[A, B] toArrowAssoc[Product[A, B]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. def <++>(components: => Vector[Weighted[ProbabilityDistribution[(A, B)]]]): Mixture[(A, B)]

    mix in weighted distributions; the mixed in distributions are called by name, so can depend on this distribution.

    mix in weighted distributions; the mixed in distributions are called by name, so can depend on this distribution.

    Definition Classes
    ProbabilityDistribution
  6. def <+>(mixin: => ProbabilityDistribution[(A, B)], weight: Double): Mixin[(A, B)]

    generates from the mixed in distribution with probability _weight_, otherwise defaults to this distribution; as the mixed in distribution is called by name, it may depend on the present one.

    generates from the mixed in distribution with probability _weight_, otherwise defaults to this distribution; as the mixed in distribution is called by name, it may depend on the present one.

    Definition Classes
    ProbabilityDistribution
  7. def <+?>(mixin: => ProbabilityDistribution[Option[(A, B)]], weight: Double): MixinOpt[(A, B)]

    generates from the mixed in optional valued distribution with probability weight, otherwise, or if the optional returns None, defaults to this distribution; the mixed in distribution is call by name, so may depend on this distribution.

    generates from the mixed in optional valued distribution with probability weight, otherwise, or if the optional returns None, defaults to this distribution; the mixed in distribution is call by name, so may depend on this distribution.

    Definition Classes
    ProbabilityDistribution
  8. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  11. def condMap[B](f: ((A, B)) => Option[B]): ProbabilityDistribution[B]
    Definition Classes
    ProbabilityDistribution
  12. def conditioned(p: ((A, B)) => Boolean): ProbabilityDistribution[(A, B)]
    Definition Classes
    ProbabilityDistribution
  13. def ensuring(cond: (Product[A, B]) => Boolean, msg: => Any): Product[A, B]
    Implicit
    This member is added by an implicit conversion from Product[A, B] toEnsuring[Product[A, B]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: (Product[A, B]) => Boolean): Product[A, B]
    Implicit
    This member is added by an implicit conversion from Product[A, B] toEnsuring[Product[A, B]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean, msg: => Any): Product[A, B]
    Implicit
    This member is added by an implicit conversion from Product[A, B] toEnsuring[Product[A, B]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean): Product[A, B]
    Implicit
    This member is added by an implicit conversion from Product[A, B] toEnsuring[Product[A, B]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def fibProduct[Q, B](quot: ((A, B)) => Q, fibers: (Q) => ProbabilityDistribution[B]): FiberProduct[(A, B), Q, B]
    Definition Classes
    ProbabilityDistribution
  19. def findFut(p: ((A, B)) => Boolean, maxloops: Long): Future[Option[(A, B)]]

    Find element satisfying predicate, runs concurrently, returning future

    Find element satisfying predicate, runs concurrently, returning future

    Definition Classes
    ProbabilityDistribution
  20. val first: ProbabilityDistribution[A]
  21. def flatMap[B](f: ((A, B)) => ProbabilityDistribution[B]): ProbabilityDistribution[B]
    Definition Classes
    ProbabilityDistribution
  22. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from Product[A, B] toStringFormat[Product[A, B]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  23. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. def map[B](f: ((A, B)) => B): ProbabilityDistribution[B]
    Definition Classes
    ProbabilityDistribution
  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. def next: (A, B)

    the next random value

    the next random value

    Definition Classes
    ProductProbabilityDistribution
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  30. def product[B](that: ProbabilityDistribution[B]): Product[(A, B), B]
    Definition Classes
    ProbabilityDistribution
  31. def productElementNames: Iterator[String]
    Definition Classes
    Product
  32. def randomVariable: Iterator[(A, B)]
    Definition Classes
    ProbabilityDistribution
  33. val second: ProbabilityDistribution[B]
  34. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated
  2. def [B](y: B): (Product[A, B], B)
    Implicit
    This member is added by an implicit conversion from Product[A, B] toArrowAssoc[Product[A, B]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from Serializable

Inherited from scala.Product

Inherited from Equals

Inherited from ProbabilityDistribution[(A, B)]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromProduct[A, B] to any2stringadd[Product[A, B]]

Inherited by implicit conversion StringFormat fromProduct[A, B] to StringFormat[Product[A, B]]

Inherited by implicit conversion Ensuring fromProduct[A, B] to Ensuring[Product[A, B]]

Inherited by implicit conversion ArrowAssoc fromProduct[A, B] to ArrowAssoc[Product[A, B]]

Ungrouped