com.cra.figaro.experimental.structured.factory

Factory

Related Doc: package 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 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[_]])(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T]): BasicFactor[T]

    Create a BasicFactor 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]): 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 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.

  17. def makeTupleVarAndFactor(cc: ComponentCollection, 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

  18. def makeVariable[T](cc: ComponentCollection, valueSet: ValueSet[T]): Variable[T]

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

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

    Definition Classes
    AnyRef
  20. final def notify(): Unit

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

    Definition Classes
    AnyRef
  22. 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.

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

    Definition Classes
    AnyRef
  24. def toString(): String

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

    The mutliplicative identity factor.

  26. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped