cc.factorie.variable

LabeledDiscreteVar

trait LabeledDiscreteVar extends DiscreteVar with LabeledVar

An abstract discrete variable that stores a desired correct "target" value separate from its current value.

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. LabeledDiscreteVar
  2. LabeledVar
  3. DiscreteVar
  4. VarWithDomain
  5. VectorVar
  6. TensorVar
  7. Var
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. abstract type TargetType <: DiscreteTargetVar

    Definition Classes
    LabeledDiscreteVarLabeledVar
  2. abstract type Value <: DiscreteValue

    Definition Classes
    DiscreteVarVectorVarTensorVarVar

Abstract Value Members

  1. abstract def domain: DiscreteDomain

    Abstract method to return the domain of this variable.

    Abstract method to return the domain of this variable.

    Definition Classes
    DiscreteVarVarWithDomainVectorVar
  2. abstract def target: TargetType { type Value = LabeledDiscreteVar.this.Value }

    Stores the intended true "target" value for this variable.

    Stores the intended true "target" value for this variable.

    Definition Classes
    LabeledVar
  3. abstract def value: Value

    Abstract method to return the value of this variable.

    Abstract method to return the value of this variable.

    Definition Classes
    DiscreteVarVectorVarTensorVarVar

Concrete Value Members

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

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

    Definition Classes
    Any
  3. def !==(other: Var): Boolean

    Definition Classes
    Var
  4. final def ##(): Int

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

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

    Definition Classes
    Any
  7. def ===(other: Var): Boolean

    Value comparisons (as distinct from variable pointer equality)

    Value comparisons (as distinct from variable pointer equality)

    Definition Classes
    Var
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def caseFactorProportions(model: model.Model): Proportions1

    Return the distribution over values of this variable given the model and given that all other variables' values are fixed.

    Return the distribution over values of this variable given the model and given that all other variables' values are fixed.

    Definition Classes
    DiscreteVar
  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def contains(index: Int): Boolean

    Definition Classes
    VectorVar
  12. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Definition Classes
    AnyRef → Any
  17. def intValue: Int

    Definition Classes
    DiscreteVar
  18. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  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 printName: String

    Definition Classes
    Var
  23. def proportions(model: model.Model): Proportions1

    Return the distribution over values of this variable given the model and given that all other variables' values are fixed.

    Return the distribution over values of this variable given the model and given that all other variables' values are fixed.

    Definition Classes
    DiscreteVar
  24. def proportions(factors: Iterable[model.Factor]): Proportions1

    Return the distribution over values of this variable given some factors (which presumably neighbor this DiscreteVar) and given that all other variables' values are fixed.

    Return the distribution over values of this variable given some factors (which presumably neighbor this DiscreteVar) and given that all other variables' values are fixed.

    Definition Classes
    DiscreteVar
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  26. def toString(): String

    Definition Classes
    DiscreteVarVar → AnyRef → Any
  27. def valueIsTarget: Boolean

    Definition Classes
    LabeledDiscreteVarLabeledVar
  28. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from LabeledVar

Inherited from DiscreteVar

Inherited from VarWithDomain

Inherited from VectorVar

Inherited from TensorVar

Inherited from Var

Inherited from AnyRef

Inherited from Any

Ungrouped