package factors

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. trait BasicFactor [T] extends Factor[T]

    Trait for a common implementation of Factors.

    Trait for a common implementation of Factors. BasicFactor is still a trait because it does not yet define the underlying data store of the factor

    A factor is associated with a set of variables and specifies a value for every combination of assignments to those variables. Factors are parameterized by the types of values they contain.

  2. case class BooleanSemiring () extends Semiring[Boolean] with Product with Serializable
  3. case class BoundsSumProductSemiring () extends DivideableSemiRing[(Double, Double)] with Product with Serializable

    Semiring for computing sums and products with lower and upper bounds.

  4. class ConditionalSelector [T] extends DenseFactor[T]

    ConditionalSelector Factor.

    ConditionalSelector Factor. A conditional selector factor is associated chain elements and represents the relationship between parent elements and outcome elements. It is a special form of sparse factor where the default element is not 0 but 1 (don't care) which is the most frequent in this type of factor.

  5. class ConstraintFactor [T] extends DenseFactor[T]

    Constraint Factor.

    Constraint Factor. A factor is associated with a set of variables and specifies a value for every combination of assignments to those variables. Factors are parameterized by the types of values they contain.

    This factor is used to model constraints on elements.

  6. class DenseFactor [T] extends BasicFactor[T]

    Dense implementation of BasicFactor using an Array for storage

    Dense implementation of BasicFactor using an Array for storage

    Factors are parameterized by the type of the Variables they contain and contain a semiring that defines the mathematical operation to be performed on the values Parent variables are distinguished from the output variable.

  7. trait DivideableSemiRing [T] extends Semiring[T]
  8. class ElementVariable [T] extends Variable[T]

    Variables generated from elements.

  9. trait Factor [T] extends AnyRef

    Definition of Factor

    Definition of Factor

    A factor is associated with a set of variables and specifies a value for every combination of assignments to those variables.

    Factors are parameterized by the type of the Variables they contain and contain a semiring that defines the mathematical operation to be performed on the values Parent variables are distinguished from the output variable.

    Refactored by

  10. class Indices extends Iterable[List[Int]]
  11. class InternalChainVariable [U] extends InternalVariable[U]
  12. class InternalVariable [T] extends Variable[T]

    Variables that are internal to Factors.

    Variables that are internal to Factors.

    This is the same as a temporary variable, but is more explicitly identified

  13. trait LogConvertibleSemiRing [T] extends DivideableSemiRing[T]
  14. case class LogMaxProductSemiring () extends DivideableSemiRing[Double] with LogConvertibleSemiRing[Double] with Product with Serializable

    Semiring for computing maxs and products with log probabilities.

  15. case class LogSumProductSemiring () extends DivideableSemiRing[Double] with LogConvertibleSemiRing[Double] with Product with Serializable

    Semiring for computing sums and products with log probabilities.

  16. case class MaxProductSemiring () extends DivideableSemiRing[Double] with LogConvertibleSemiRing[Double] with Product with Serializable
  17. class ParameterizedVariable [T] extends ElementVariable[T]

    Variables generated from parameterized elements

  18. trait Semiring [T] extends AnyRef

    Operations in factored algorithms are defined by a semiring algebraic structure.

    Operations in factored algorithms are defined by a semiring algebraic structure. Each semiring defines a product and sum operation, and a value for zero and one which satisfy a set of properties. Different semirings are appropriate for certain algorithms and data types.

  19. class SparseFactor [T] extends BasicFactor[T]

    Sparse implementation of BasicFactor backed by a Map storage

    Sparse implementation of BasicFactor backed by a Map storage

    Factors are parameterized by the type of the Variables they contain and contain a semiring that defines the mathematical operation to be performed on the values Parent variables are distinguished from the output variable.

    This implementation stores only non-default (non-zero) elements and supplies special sum and product methods to account for the missing values.

  20. class SufficientStatisticsSemiring extends Semiring[(Double, Map[Parameter[_], Seq[Double]])]

    Sum and product operations defined for sufficient statistics.

    Sum and product operations defined for sufficient statistics. Statistics consist of a probability and counts of the number of times various values have been seen.

  21. case class SumProductSemiring () extends DivideableSemiRing[Double] with LogConvertibleSemiRing[Double] with Product with Serializable
  22. case class SumProductUtilitySemiring () extends DivideableSemiRing[(Double, Double)] with Product with Serializable
  23. class Variable [T] extends AnyRef

    Variables that appear in factors.

Ungrouped