Packages

object Factory

Methods for creating probabilistic factors associated with elements.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Factory
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def concreteFactors[T](cc: ComponentCollection, elem: Element[T], parameterized: Boolean): List[Factor[Double]]

    Invokes Factor constructors for a standard set of Elements.

    Invokes Factor constructors for a standard set of Elements. This method uses various secondary factories.

  7. def defaultFactor[T](parents: List[Variable[_]], children: List[Variable[_]], _semiring: Semiring[T] = ...)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T]): DenseFactor[T]

    Create a DenseFactor from the supplied parent and children variables

  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  12. def getVariable[T](cc: ComponentCollection, element: Element[T]): Variable[T]

    Get the variable associated with the given element in the given component collection.

    Get the variable associated with the given element in the given component collection. If the element does not exist in the component collection, an intermediate variable is created whose range is { Star }.

  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def makeConditionalSelector[T, U](pairVar: Variable[List[Extended[_]]], parentXVal: Extended[T], outcomeVar: Variable[U], choices: Set[U])(implicit mapper: PointMapper[U]): Factor[Double]

    Make a conditional selector factor used in the decomposition of chain and other elements.

    Make a conditional selector factor used in the decomposition of chain and other elements. A chain defines a factor over the parent element, each of the possible result elements of the chain, and the overall chain element. This can produce a very large factor when there are many result elements. This is solved by decomposing the chain factor into a product of factors, each of which contains the parent element, one of the result elements, and the overall chain element.

  16. def makeDependentFactor(cc: ComponentCollection, parentUniverse: Universe, dependentUniverse: Universe, probEvidenceComputer: () ⇒ Double): Factor[Double]

    Create the probabilistic factor encoding the probability of evidence in the dependent universe as a function of the values of variables in the parent universe.

    Create the probabilistic factor encoding the probability of evidence in the dependent universe as a function of the values of variables in the parent universe. The third argument is the the function to use for computing probability of evidence in the dependent universe. It is assumed that the definition of this function will already contain the right evidence.

  17. def makeFactors[T](cc: ComponentCollection, elem: Element[T], parameterized: Boolean): List[Factor[Double]]

    Make the non-constraint factors corresponding to the given element in the component collection.

    Make the non-constraint factors corresponding to the given element in the component collection.

    parameterized

    If true, parameterized elements are assumed to be equal to their previously computed MAP value. If false, they are treated like any other element.

  18. def makeFactorsForElement[Value](elem: Element[_], upper: Boolean = false, parameterized: Boolean = false): List[Factor[Double]]

    Make factors for a particular element.

    Make factors for a particular element. This function wraps the SFI method of creating factors using component collections

  19. def makeTupleVarAndFactor(cc: ComponentCollection, chain: Option[Chain[_, _]], inputs: Variable[_]*): (Variable[List[Extended[_]]], Factor[Double])

    Given a sequence of variables, create a new variable representing the tuple of the inputs and create the factor mapping the inputs to their tuple.

    Given a sequence of variables, create a new variable representing the tuple of the inputs and create the factor mapping the inputs to their tuple.

    inputs

    the variables to be formed into a tuple

  20. def makeVariable[T](cc: ComponentCollection, valueSet: ValueSet[T], chain: Chain[_, _]): Variable[T]
  21. def makeVariable[T](cc: ComponentCollection, valueSet: ValueSet[T]): Variable[T]

    Create an intermediate variable in the given component collection with the given value set.

  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  25. def parameterCheck(elem: Element[_], parameterized: Boolean): Boolean
  26. def replaceVariable[T](factor: Factor[Double], oldVariable: Variable[T], newVariable: Variable[T]): Factor[Double]

    Create a new factor in which one variable is replaced with another.

  27. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. def unit[T](semiring: Semiring[T])(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T]): Factor[T]

    The mutliplicative identity factor.

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

Inherited from AnyRef

Inherited from Any

Ungrouped