cc.factorie.variable

LabeledDiscreteVariable

abstract class LabeledDiscreteVariable extends DiscreteVariable with DiscreteLabeling

A mutable discrete variable that stores a desired correct "target" value separate from its current value. The only abstract method is "domain".

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. LabeledDiscreteVariable
  2. DiscreteLabeling
  3. LabeledMutableDiscreteVar
  4. LabeledMutableVar
  5. LabeledDiscreteVar
  6. LabeledVar
  7. DiscreteVariable
  8. MutableDiscreteVar
  9. IterableSettings
  10. MutableVar
  11. DiscreteVar
  12. VarWithDomain
  13. VectorVar
  14. TensorVar
  15. Var
  16. AnyRef
  17. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LabeledDiscreteVariable(targetIntValue: Int)

Type Members

  1. case class DiscreteVariableDiff(oldValue: Int, newValue: Int) extends Diff with Product with Serializable

    Definition Classes
    MutableDiscreteVar
  2. trait SettingIterator extends variable.SettingIterator

    Definition Classes
    IterableSettings
  3. type TargetType = DiscreteTargetVariable

  4. type Value = DiscreteValue

    Definition Classes
    DiscreteVariableDiscreteVarVectorVarTensorVarVar

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
    DiscreteVariableMutableDiscreteVarDiscreteVarVarWithDomainVectorVar

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 :=(i: Int): Unit

    Definition Classes
    MutableDiscreteVar
    Annotations
    @inline()
  6. final def :=(newValue: Value): Unit

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

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

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

    Value comparisons (as distinct from variable pointer equality)

    Value comparisons (as distinct from variable pointer equality)

    Definition Classes
    Var
  10. def _initialize(newValue: Int): Unit

    Attributes
    protected
    Definition Classes
    MutableDiscreteVar
  11. final def _value: Int

    Attributes
    protected
    Definition Classes
    MutableDiscreteVar
    Annotations
    @inline()
  12. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  13. 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
  14. def clone(): AnyRef

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

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

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

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

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

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

    Definition Classes
    AnyRef → Any
  21. def intValue: Int

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

    Definition Classes
    Any
  23. def isUnlabeled: Boolean

    Definition Classes
    LabeledMutableDiscreteVar
  24. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  27. def printName: String

    Definition Classes
    Var
  28. 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
  29. 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
  30. def relabel(): Unit

    Definition Classes
    LabeledMutableDiscreteVar
  31. def set(newValue: Int)(implicit d: DiffList): Unit

    Definition Classes
    MutableDiscreteVar
  32. final def set(newValue: Value)(implicit d: DiffList): Unit

    Assign a new value to this variable

    Assign a new value to this variable

    Definition Classes
    MutableDiscreteVarMutableVar
    Annotations
    @inline()
  33. def setRandomly(implicit random: Random, d: DiffList = null): Unit

    Definition Classes
    MutableDiscreteVar
  34. def setToTarget(implicit d: DiffList = null): Unit

  35. def settings: SettingIterator

    Definition Classes
    MutableDiscreteVarIterableSettings
  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  37. val target: DiscreteTargetVariable

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

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

    Definition Classes
    DiscreteLabelingLabeledVar
  38. def toString(): String

    Definition Classes
    DiscreteVarVar → AnyRef → Any
  39. def unlabel(): Unit

    Definition Classes
    LabeledMutableDiscreteVar
  40. def value: Value

    Abstract method to return the value of this variable.

    Abstract method to return the value of this variable.

    Definition Classes
    MutableDiscreteVarMutableVarDiscreteVarVectorVarTensorVarVar
  41. def valueIsTarget: Boolean

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from DiscreteLabeling

Inherited from LabeledMutableDiscreteVar

Inherited from LabeledMutableVar

Inherited from LabeledDiscreteVar

Inherited from LabeledVar

Inherited from DiscreteVariable

Inherited from MutableDiscreteVar

Inherited from IterableSettings

Inherited from MutableVar

Inherited from DiscreteVar

Inherited from VarWithDomain

Inherited from VectorVar

Inherited from TensorVar

Inherited from Var

Inherited from AnyRef

Inherited from Any

Ungrouped