com.cra.figaro.algorithm.factored.factors

Factory

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
Learn more about member selection
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 combineFactors(oldFactors: List[Factor[Double]], semiring: Semiring[Double], removeTemporaries: Boolean): List[Factor[Double]]

    Combines a set of factors into a single larger factor.

    Combines a set of factors into a single larger factor. This method is used when a factor has been decomposed into many dependent Factors and a single Factor is required.

  7. def concreteFactors[T](elem: Element[T]): 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.

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

    Create a BasicFactor from the supplied parent and children variables

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

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

    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

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

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

    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  15. def make(elem: Element[_]): List[Factor[Double]]

    Create the probabilistic factors associated with an element.

    Create the probabilistic factors associated with an element. This method is memoized.

  16. def makeConditionalSelector[T, U](overallElem: Element[U], selector: Variable[T], outcomeIndex: Int, outcomeVar: Variable[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.

  17. def makeDependentFactor(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.

  18. def makeNonConstraintFactors(elem: Element[_]): List[Factor[Double]]

    Construct a Factor without constraints.

  19. val maxElementCount: Int

  20. val maxSize: Int

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

    Definition Classes
    AnyRef
  22. val newFactors: ListBuffer[Factor[Double]]

  23. val nextFactors: ListBuffer[Factor[Double]]

  24. final def notify(): Unit

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

    Definition Classes
    AnyRef
  26. def removeFactors(): Unit

    Clear the factor cache.

  27. def removeFactors(elem: Element[_]): Unit

    Remove an element from the factor cache, ensuring that factors for the element are regenerated.

    Remove an element from the factor cache, ensuring that factors for the element are regenerated. This is important, for example, if evidence on the variable has changed.

  28. def simpleMake[T](variables: List[Variable[_]])(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T]): BasicFactor[T]

    Creates a BasicFactor from the supplied variables

  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  30. val tempFactors: ListBuffer[Factor[Double]]

  31. def toString(): String

    Definition Classes
    AnyRef → Any
  32. def unit[T](semiring: Semiring[T])(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T]): Factor[T]

    The mutliplicative identity factor.

  33. def updateFactor[T](elem: Element[_], f: List[Factor[Double]]): Unit

    Update the factor cache.

  34. val variableSet: Set[Variable[_]]

  35. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped