cc.factorie.model

ItemizedModel

class ItemizedModel extends Model

A Model that explicitly stores all factors, with an efficient map from variables to their neighboring factors.

Since

0.11

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ItemizedModel
  2. Model
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ItemizedModel(initialFactors: Iterable[Factor])

  2. new ItemizedModel(initialFactors: Factor*)

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 ++=(fs: Iterable[Factor]): Unit

  5. def +=(f: Factor): Unit

  6. def --=(fs: Iterable[Factor]): Unit

  7. def -=(f: Factor): Unit

  8. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  10. def addFactors(variables: Iterable[variable.Var], result: Set[Factor]): Unit

    Append to "result" all Factors in this Model that touch any of the given "variables".

    Append to "result" all Factors in this Model that touch any of the given "variables". This method must not append duplicates.

    Definition Classes
    ItemizedModelModel
  11. def addFactors(variable: variable.Var, result: Set[Factor]): Unit

    Append to "result" all Factors in this Model that touch the given "variable".

    Append to "result" all Factors in this Model that touch the given "variable". This method must not append duplicates.

    Definition Classes
    ItemizedModelModel
  12. def addFactors(dl: variable.DiffList, result: Set[Factor]): Unit

    Append to "result" all Factors in this Model that are affected by the given DiffList.

    Append to "result" all Factors in this Model that are affected by the given DiffList. This method must not append duplicates.

    Definition Classes
    Model
  13. def addFactors(d: variable.Diff, result: Set[Factor]): Unit

    Append to "result" all Factors in this Model that are affected by the given Diff.

    Append to "result" all Factors in this Model that are affected by the given Diff. This method must not append duplicates.

    Definition Classes
    Model
  14. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  15. def assignmentScore(dl: variable.DiffList, assignment: variable.Assignment): Double

    Definition Classes
    Model
  16. def assignmentScore(d: variable.Diff, assignment: variable.Assignment): Double

    Definition Classes
    Model
  17. def assignmentScore(vars: Iterable[variable.Var], assignment: variable.Assignment): Double

    Definition Classes
    Model
  18. def assignmentScore(variable: variable.Var, assignment: variable.Assignment): Double

    Definition Classes
    Model
  19. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. def currentScore(dl: variable.DiffList): Double

    Definition Classes
    Model
  21. def currentScore(d: variable.Diff): Double

    Definition Classes
    Model
  22. def currentScore(vars: Iterable[variable.Var]): Double

    Definition Classes
    Model
  23. def currentScore(variable: variable.Var): Double

    Definition Classes
    Model
  24. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  26. def factors: Iterable[Factor]

  27. def factors(variables: Iterable[variable.Var]): Iterable[Factor]

    Return all Factors in this Model that touch any of the given "variables".

    Return all Factors in this Model that touch any of the given "variables". The result will not have any duplicate Factors.

    Definition Classes
    ItemizedModelModel
  28. def factors(variable: variable.Var): Iterable[Factor]

    Return all Factors in this Model that touch the given "variable".

    Return all Factors in this Model that touch the given "variable". The result will not have any duplicate Factors.

    Definition Classes
    ItemizedModelModel
  29. def factors(dl: variable.DiffList): Iterable[Factor]

    Return all Factors in this Model that are affected by the given DiffList.

    Return all Factors in this Model that are affected by the given DiffList. The result will not have any duplicate Factors. By default returns just the factors that neighbor the DiffList.variables, but this method may be overridden for special handling of the DiffList

    Definition Classes
    Model
  30. def factors(d: variable.Diff): Iterable[Factor]

    Return all Factors in this Model that are affected by the given Diff.

    Return all Factors in this Model that are affected by the given Diff. The result will not have any duplicate Factors. By default returns just the factors that neighbor Diff.variable, but this method may be overridden for special handling of the Diff

    Definition Classes
    Model
  31. def factorsOfClass[F <: Factor](d: variable.DiffList)(implicit fm: ClassTag[F]): Iterable[F]

    Definition Classes
    Model
  32. def factorsOfClass[F <: Factor](d: variable.DiffList, fclass: Class[F]): Iterable[F]

    Definition Classes
    Model
  33. def factorsOfClass[F <: Factor](variables: Iterable[variable.Var])(implicit fm: ClassTag[F]): Iterable[F]

    Definition Classes
    Model
  34. def factorsOfClass[F <: Factor](variable: variable.Var)(implicit fm: ClassTag[F]): Iterable[F]

    Definition Classes
    Model
  35. def factorsOfClass[F <: Factor](variables: Iterable[variable.Var], fclass: Class[F]): Iterable[F]

    Definition Classes
    Model
  36. def factorsOfClass[F <: Factor](variable: variable.Var, fclass: Class[F]): Iterable[F]

    Definition Classes
    Model
  37. def factorsOfFamilies[F <: Family](d: variable.DiffList, families: Seq[F]): Iterable[Model.factorsOfFamilies.F.Factor]

    Definition Classes
    Model
  38. def factorsOfFamilies[F <: Family](variables: Iterable[variable.Var], families: Seq[F]): Iterable[Model.factorsOfFamilies.F.Factor]

    Definition Classes
    Model
  39. def factorsOfFamilies[F <: Family](variable: variable.Var, families: Seq[F]): Iterable[Model.factorsOfFamilies.F.Factor]

    Definition Classes
    Model
  40. def factorsOfFamily[F <: Family](d: variable.DiffList, family: F): Iterable[Model.factorsOfFamily.F.Factor]

    Definition Classes
    Model
  41. def factorsOfFamily[F <: Family](variables: Iterable[variable.Var], family: F): Iterable[Model.factorsOfFamily.F.Factor]

    Definition Classes
    Model
  42. def factorsOfFamily[F <: Family](variable: variable.Var, family: F): Iterable[Model.factorsOfFamily.F.Factor]

    Definition Classes
    Model
  43. def factorsOfFamilyClass[F <: Family](d: variable.DiffList)(implicit fm: ClassTag[F]): Iterable[Model.factorsOfFamilyClass.F.Factor]

    Definition Classes
    Model
  44. def factorsOfFamilyClass[F <: Family](d: variable.DiffList, fclass: Class[F]): Iterable[Model.factorsOfFamilyClass.F.Factor]

    Definition Classes
    Model
  45. def factorsOfFamilyClass[F <: Family](variables: Iterable[variable.Var])(implicit fm: ClassTag[F]): Iterable[Model.factorsOfFamilyClass.F.Factor]

    Definition Classes
    Model
  46. def factorsOfFamilyClass[F <: Family](variable: variable.Var)(implicit fm: ClassTag[F]): Iterable[Model.factorsOfFamilyClass.F.Factor]

    Definition Classes
    Model
  47. def factorsOfFamilyClass[F <: Family](variables: Iterable[variable.Var], fclass: Class[F]): Iterable[Model.factorsOfFamilyClass.F.Factor]

    Definition Classes
    Model
  48. def factorsOfFamilyClass[F <: Family](variable: variable.Var, fclass: Class[F]): Iterable[Model.factorsOfFamilyClass.F.Factor]

    Definition Classes
    Model
  49. def filterByFactorClass[F <: Factor](factors: Iterable[Factor], fclass: Class[F]): Iterable[F]

    Definition Classes
    Model
  50. def filterByFamilies[F <: Family](factors: Iterable[Factor], families: Seq[F]): Iterable[Model.filterByFamilies.F.Factor]

    Definition Classes
    Model
  51. def filterByFamily[F <: Family](factors: Iterable[Factor], family: F): Iterable[Model.filterByFamily.F.Factor]

    Definition Classes
    Model
  52. def filterByFamilyClass[F <: Family](factors: Iterable[Factor], fclass: Class[F]): Iterable[Model.filterByFamilyClass.F.Factor]

    Definition Classes
    Model
  53. def filterByNotFamilyClass[F <: Family](factors: Iterable[Factor], fclass: Class[F]): Iterable[Factor]

    Definition Classes
    Model
  54. def finalize(): Unit

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

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

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

    Definition Classes
    Any
  58. def itemizedModel(dl: variable.DiffList): ItemizedModel

    Definition Classes
    Model
  59. def itemizedModel(d: variable.Diff): ItemizedModel

    Definition Classes
    Model
  60. def itemizedModel(variables: Iterable[variable.Var]): ItemizedModel

    Definition Classes
    Model
  61. def itemizedModel(variable: variable.Var): ItemizedModel

    Definition Classes
    Model
  62. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  63. def newFactorsCollection: Set[Factor]

    The "factors" methods need a new collection to return; this method is used by them to construct this collection.

    The "factors" methods need a new collection to return; this method is used by them to construct this collection.

    Definition Classes
    Model
  64. final def notify(): Unit

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

    Definition Classes
    AnyRef
  66. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  67. def toString(): String

    Definition Classes
    AnyRef → Any
  68. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Model

Inherited from AnyRef

Inherited from Any

Ungrouped