edu.ub.guillermoblascojimenez.gmx.model

ArrayFactor

class ArrayFactor extends AbstractArrayFactor with Factor

Linear Supertypes
Factor, Serializable, Serializable, AbstractArrayFactor, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ArrayFactor
  2. Factor
  3. Serializable
  4. Serializable
  5. AbstractArrayFactor
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ArrayFactor(scope: Set[Variable], strides: Map[Variable, Int], values: Array[Double])

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def *(c: Double): Factor

    Creates a new factor containing the values of the product between this factor and a constant value.

    Creates a new factor containing the values of the product between this factor and a constant value. This is: phi * c

    c

    The constant value to multiply, greater than zero.

    returns

    The product of this factor and the constant.

    Definition Classes
    ArrayFactorFactor
  5. def *(factor: Factor): Factor

    Creates a new factor containing the values of the product between this factor and the given factor.

    Creates a new factor containing the values of the product between this factor and the given factor. That is: phi * psi The scope of the returned factor is the union of scopes.

    returns

    The product of this factor and the given.

    Definition Classes
    ArrayFactorFactor
  6. def /(c: Double): Factor

    Creates a new factor containing the values of the division between this factor and a constant value.

    Creates a new factor containing the values of the division between this factor and a constant value. This is: phi / c that is computed as phi * (1 / c)

    c

    The constant value to multiply, greater than zero.

    returns

    The division of this factor and the given constant.

    Definition Classes
    ArrayFactorFactor
  7. def /(factor: Factor): Factor

    Creates a new factor containing the values of the division between this factor and the given factor.

    Creates a new factor containing the values of the division between this factor and the given factor. That is: phi / psi That is computed as phi * ( 1 / psi) The scope of the returned factor is the union of scopes.

    returns

    The division of this factor and the given.

    Definition Classes
    ArrayFactorFactor
  8. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  10. def apply(assignment: Map[Variable, Int]): Double

    Definition Classes
    AbstractArrayFactor
  11. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  12. def assignmentOfIndex(index: Int): Map[Variable, Int]

    Attributes
    protected
    Definition Classes
    AbstractArrayFactor
  13. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. def copy(): Factor

    Creates a new factor that is contains the same values and scope that this.

    Creates a new factor that is contains the same values and scope that this.

    returns

    A copy of this factor.

    Definition Classes
    ArrayFactorFactor
  15. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Definition Classes
    AnyRef → Any
  20. def indexOfAssignment(assignment: Map[Variable, Int]): Int

    Attributes
    protected
    Definition Classes
    AbstractArrayFactor
  21. def inverse(): Factor

    Creates a new factor that has the values inverted.

    Creates a new factor that has the values inverted. The rule 1/0 := 0 applies. This is: 1 / phi

    returns

    The inverse of the factor

    Definition Classes
    ArrayFactorFactor
  22. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  23. def marginal(variables: Set[Variable]): Factor

    Creates a new factor with as scope the given variables.

    Creates a new factor with as scope the given variables. The values of the new factor is the marginalization via summation, also called summed-out. This is sum_{variables}(phi)

    variables

    Variables to get as marginal.

    returns

    A factor marginalized over the given variables.

    Definition Classes
    ArrayFactorFactor
  24. def marginalize(variables: Set[Variable]): Factor

    Creates a new factor with as scope the scope of the factor minus the given variables.

    Creates a new factor with as scope the scope of the factor minus the given variables. The values of the new factor is the marginalization via summation. This is sum_{scope - variables}(phi)

    variables

    Variables to be marginalized.

    returns

    A factor with the given variables marginalized.

    Definition Classes
    ArrayFactorFactor
  25. def maxMarginal(variables: Set[Variable]): Factor

    Creates a new factor with as scope the given variables.

    Creates a new factor with as scope the given variables. The values of the new factor is the marginalization via maximization. This is max_{variables}(phi)

    variables

    Variables to get as max marginal.

    returns

    A factor max marginalized over the given variables.

    Definition Classes
    ArrayFactorFactor
  26. def maxMarginalize(variables: Set[Variable]): Factor

    Creates a new factor with as scope the scope of the factor minus the given variables.

    Creates a new factor with as scope the scope of the factor minus the given variables. The values of the new factor is the marginalization via maximization. This is max{scope - variables}(phi)

    variables

    Variables to be max marginalized.

    returns

    A factor with the given variables max marginalized.

    Definition Classes
    ArrayFactorFactor
  27. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  28. def normalized(): Factor

    Creates a new factor with the values divided by z value.

    Creates a new factor with the values divided by z value. This is: phi / z. The z value of the returned factor is 1.

    returns

    The factor normalized.

    Definition Classes
    ArrayFactorFactor
  29. final def notify(): Unit

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

    Definition Classes
    AnyRef
  31. val scope: Set[Variable]

    The scope of the factor.

    The scope of the factor.

    returns

    The scope of the factor.

    Definition Classes
    ArrayFactorFactorAbstractArrayFactor
  32. val size: Int

    Definition Classes
    AbstractArrayFactor
  33. val strides: Map[Variable, Int]

    Definition Classes
    ArrayFactorAbstractArrayFactor
  34. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  35. def toString(): String

    Definition Classes
    ArrayFactorAbstractArrayFactor → AnyRef → Any
  36. def update(assignment: Map[Variable, Int], value: Double): Unit

    Definition Classes
    AbstractArrayFactor
  37. val values: Array[Double]

    Definition Classes
    ArrayFactorAbstractArrayFactor
  38. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. def z(): Double

    Returns the summation of all values.

    Returns the summation of all values. Often named as z value or partition function. This is sum_{scope}(phi)

    returns

    The summation of all values.

    Definition Classes
    ArrayFactorFactor

Inherited from Factor

Inherited from Serializable

Inherited from Serializable

Inherited from AbstractArrayFactor

Inherited from AnyRef

Inherited from Any

Ungrouped