cc.factorie.model.Family4

Factor

final case class Factor(_1: N1, _2: N2, _3: N3, _4: N4) extends Factor4[N1, N2, N3, N4] with Family4.Factor with Product with Serializable

Definition Classes
Family4Family
Linear Supertypes
Serializable, Serializable, Product, Equals, Family4.Factor, Factor4[N1, N2, N3, N4], model.Factor, Ordered[model.Factor], Comparable[model.Factor], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Factor
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Factor
  7. Factor4
  8. Factor
  9. Ordered
  10. Comparable
  11. AnyRef
  12. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Factor(_1: N1, _2: N2, _3: N3, _4: N4)

Type Members

  1. type NeighborType1 = N1

    Definition Classes
    Factor4
  2. type NeighborType2 = N2

    Definition Classes
    Factor4
  3. type NeighborType3 = N3

    Definition Classes
    Factor4
  4. type NeighborType4 = N4

    Definition Classes
    Factor4
  5. type StatisticsType = Family4.StatisticsType

    Definition Classes
    FactorFactor

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 <(that: model.Factor): Boolean

    Definition Classes
    Ordered
  5. def <=(that: model.Factor): Boolean

    Definition Classes
    Ordered
  6. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  8. def >(that: model.Factor): Boolean

    Definition Classes
    Ordered
  9. def >=(that: model.Factor): Boolean

    Definition Classes
    Ordered
  10. val _1: N1

    Definition Classes
    FactorFactorFactor4
  11. val _2: N2

    Definition Classes
    FactorFactor4
  12. val _3: N3

    Definition Classes
    FactorFactor4
  13. val _4: N4

    Definition Classes
    FactorFactor4
  14. var _hashCode: Int

    Definition Classes
    Factor
  15. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  16. def assignmentScore(a: variable.Assignment): Double

    The ability to score a Values object is now removed, and this is its closest alternative.

    The ability to score a Values object is now removed, and this is its closest alternative.

    Definition Classes
    Factor4Factor
  17. def assignmentScoreAndStatistics(a: variable.Assignment): (Double, StatisticsType)

    Definition Classes
    Factor
  18. final def assignmentStatistics(a: variable.Assignment): StatisticsType

    Return this Factor's sufficient statistics for the values in the Assignment.

    Return this Factor's sufficient statistics for the values in the Assignment.

    Definition Classes
    Factor4Factor
  19. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. def compare(that: model.Factor): Int

    Return an object that can iterate over all value assignments to the neighbors of this Factor

    Return an object that can iterate over all value assignments to the neighbors of this Factor

    Definition Classes
    Factor → Ordered
  21. def compareTo(that: model.Factor): Int

    Definition Classes
    Ordered → Comparable
  22. def currentAssignment: Assignment4[N1, N2, N3, N4]

    Return a record of the current values of this Factor's neighbors.

    Return a record of the current values of this Factor's neighbors.

    Definition Classes
    Factor4Factor
  23. def currentScore: Double

    This factor's contribution to the unnormalized log-probability of the current possible world.

    This factor's contribution to the unnormalized log-probability of the current possible world.

    Definition Classes
    Factor4Factor
  24. def currentScoreAndStatistics: (Double, StatisticsType)

    Return the score and statistics of the current neighbor values; this method enables special cases in which it is more efficient to calculate them together.

    Return the score and statistics of the current neighbor values; this method enables special cases in which it is more efficient to calculate them together.

    Definition Classes
    Factor4Factor
  25. def currentStatistics: StatisticsType

    Return this Factor's sufficient statistics of the current values of the Factor's neighbors.

    Return this Factor's sufficient statistics of the current values of the Factor's neighbors.

    Definition Classes
    Factor4Factor
  26. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  27. def equalityPrerequisite: AnyRef

    In order to two Factors to satisfy "equals", the value returned by this method for each Factor must by "eq".

    In order to two Factors to satisfy "equals", the value returned by this method for each Factor must by "eq". This method is overridden in Family to deal with Factors that are inner classes.

    Definition Classes
    FactorFactorFactor
  28. def equals(other: Any): Boolean

    Definition Classes
    Factor → AnyRef → Any
  29. def factorName: String

    Definition Classes
    FactorFactor
  30. def family: Family4.FamilyType

    Definition Classes
    Factor
  31. def finalize(): Unit

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

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

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

    Definition Classes
    Any
  35. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  38. def numVariables: Int

    The number of variables neighboring this factor.

    The number of variables neighboring this factor.

    Definition Classes
    Factor4Factor
  39. def score(value1: N1.Value, value2: N2.Value, value3: N3.Value, value4: N4.Value): Double

    Definition Classes
    FactorFactor4
  40. def scoreAndStatistics(v1: N1.Value, v2: N2.Value, v3: N3.Value, v4: N4.Value): (Double, StatisticsType)

    Definition Classes
    FactorFactor4
  41. def statistics(v1: N1.Value, v2: N2.Value, v3: N3.Value, v4: N4.Value): StatisticsType

    Definition Classes
    FactorFactor4
  42. def statisticsAreValues: Boolean

    True iff the statistics are the values (without transformation), e.

    True iff the statistics are the values (without transformation), e.g. valuesStatistics simply returns its argument.

    Definition Classes
    FactorFactor
  43. def statisticsScore(tensor: Tensor): Double

    Definition Classes
    Factor
  44. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  45. def toString(): String

    Definition Classes
    Factor → AnyRef → Any
  46. def touches(variable: variable.Var): Boolean

    Does this Factor have the given variable among its neighbors?

    Does this Factor have the given variable among its neighbors?

    Definition Classes
    Factor
  47. def touchesAny(variables: Iterable[variable.Var]): Boolean

    Does this Factor have any of the given variables among its neighbors?

    Does this Factor have any of the given variables among its neighbors?

    Definition Classes
    Factor
  48. def valuesScore(tensor: Tensor): Double

    Return the score for Factors whose values can be represented as a Tensor, otherwise throw an Error.

    Return the score for Factors whose values can be represented as a Tensor, otherwise throw an Error. For Factors/Family in which the Statistics are the values, this method simply calls statisticsScore(Tensor).

    Definition Classes
    FactorFactor
  49. def valuesScoreAndStatistics(t: Tensor): (Double, Tensor)

    Definition Classes
    Factor
  50. def valuesStatistics(tensor: Tensor): Tensor

    Given a Tensor representation of the values, return a Tensor representation of the statistics.

    Given a Tensor representation of the values, return a Tensor representation of the statistics. We assume that if the values have Tensor representation that the StatisticsType does also. Note that (e.g. in BP) the Tensor may represent not just a single value for each neighbor, but a distribution over values

    Definition Classes
    FactorFactor
  51. def variable(i: Int): variable.Var

    The Nth neighboring variable of this factor.

    The Nth neighboring variable of this factor.

    Definition Classes
    Factor4Factor
  52. def variables: IndexedSeq[variable.Var]

    Returns the collection of variables neighboring this factor.

    Returns the collection of variables neighboring this factor.

    Definition Classes
    Factor4Factor
  53. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Family4.Factor

Inherited from Factor4[N1, N2, N3, N4]

Inherited from model.Factor

Inherited from Ordered[model.Factor]

Inherited from Comparable[model.Factor]

Inherited from AnyRef

Inherited from Any

Ungrouped