cc.factorie.variable

BooleanTargetVariable

class BooleanTargetVariable extends BooleanVariable with BooleanTargetVar

A concrete container of a target value for categorical variables.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. BooleanTargetVariable
  2. BooleanTargetVar
  3. CategoricalTargetVar
  4. DiscreteTargetVar
  5. TargetVar
  6. BooleanVariable
  7. MutableBooleanVar
  8. BooleanVar
  9. MutableCategoricalVar
  10. MutableDiscreteVar
  11. IterableSettings
  12. MutableVar
  13. CategoricalVar
  14. CategoricalVectorVar
  15. DiscreteVar
  16. VarWithDomain
  17. VectorVar
  18. TensorVar
  19. Var
  20. AnyRef
  21. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BooleanTargetVariable(targetCategory: Boolean, aimer: LabeledBooleanVar)

Type Members

  1. type AimerType = LabeledBooleanVar

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

    Definition Classes
    MutableDiscreteVar
  3. trait SettingIterator extends variable.SettingIterator

    Definition Classes
    IterableSettings
  4. type Value = BooleanValue

    Definition Classes
    BooleanVarCategoricalVarDiscreteVarVectorVarTensorVarVar

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. def ++=(elts: Iterable[Boolean]): Unit

    Definition Classes
    CategoricalVectorVar
  6. def +=(elt: Boolean): Unit

    Definition Classes
    CategoricalVectorVar
  7. def +=(elt: Boolean, incr: Double): Unit

    Definition Classes
    CategoricalVectorVar
  8. final def :=(newBoolean: Boolean): Unit

    Definition Classes
    MutableBooleanVar
  9. final def :=(i: Int): Unit

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

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

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

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

    Value comparisons (as distinct from variable pointer equality)

    Value comparisons (as distinct from variable pointer equality)

    Definition Classes
    Var
  14. def ==>(other: BooleanVar): Boolean

    Definition Classes
    BooleanVar
  15. def ^(other: BooleanVar): Boolean

    Definition Classes
    BooleanVar
  16. def _initialize(newValue: Int): Unit

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

    Attributes
    protected
    Definition Classes
    MutableDiscreteVar
    Annotations
    @inline()
  18. def activeCategories: Seq[Boolean]

    Definition Classes
    CategoricalVectorVar
  19. val aimer: LabeledBooleanVar

    Returns the variable that "aims" to have to have its value match this variable's as its target

    Returns the variable that "aims" to have to have its value match this variable's as its target

    Definition Classes
    BooleanTargetVariableTargetVar
  20. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  21. final def booleanValue: Boolean

    Definition Classes
    BooleanVar
    Annotations
    @inline()
  22. 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
  23. def categoryValue: Boolean

    Definition Classes
    BooleanVarCategoricalVar
  24. def clone(): AnyRef

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

    Definition Classes
    VectorVar
  26. def doWithIndexSafely(elt: Boolean, v: Double, update: Boolean): Unit

    Attributes
    protected
    Definition Classes
    CategoricalVectorVar
  27. def domain: BooleanDomain

    Abstract method to return the domain of this variable.

    Abstract method to return the domain of this variable.

    Definition Classes
    BooleanVarCategoricalVarCategoricalVectorVarDiscreteVarVarWithDomainVectorVar
  28. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Definition Classes
    AnyRef → Any
  33. def intValue: Int

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

    Definition Classes
    Var
  39. 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
  40. 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
  41. final def set(newBoolean: Boolean)(implicit d: DiffList): Unit

    Definition Classes
    MutableBooleanVar
  42. def set(newValue: Int)(implicit d: DiffList): Unit

    Definition Classes
    MutableDiscreteVar
  43. 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()
  44. final def setCategory(newBoolean: Boolean)(implicit d: DiffList): Unit

  45. def setRandomly(implicit random: Random, d: DiffList = null): Unit

    Definition Classes
    MutableDiscreteVar
  46. def settings: SettingIterator

    Definition Classes
    MutableDiscreteVarIterableSettings
  47. def skipNonCategories: Boolean

    If false, then when += is called with a value (or index) outside the Domain, an error is thrown.

    If false, then when += is called with a value (or index) outside the Domain, an error is thrown. If true, then no error is thrown, and request to add the outside-Domain value is simply ignored.

    Definition Classes
    CategoricalVectorVar
  48. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  49. def toString(): String

    Definition Classes
    BooleanVarCategoricalVarDiscreteVarVar → AnyRef → Any
  50. def unary_!(): Boolean

    Definition Classes
    BooleanVar
  51. def v(other: BooleanVar): Boolean

    Definition Classes
    BooleanVar
  52. def value: BooleanValue

    Abstract method to return the value of this variable.

    Abstract method to return the value of this variable.

    Definition Classes
    MutableBooleanVarBooleanVarMutableCategoricalVarMutableDiscreteVarMutableVarCategoricalVarDiscreteVarVectorVarTensorVarVar
  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 BooleanTargetVar

Inherited from CategoricalTargetVar[Boolean]

Inherited from DiscreteTargetVar

Inherited from TargetVar

Inherited from BooleanVariable

Inherited from MutableBooleanVar

Inherited from BooleanVar

Inherited from MutableCategoricalVar[Boolean]

Inherited from MutableDiscreteVar

Inherited from IterableSettings

Inherited from MutableVar

Inherited from CategoricalVar[Boolean]

Inherited from CategoricalVectorVar[Boolean]

Inherited from DiscreteVar

Inherited from VarWithDomain

Inherited from VectorVar

Inherited from TensorVar

Inherited from Var

Inherited from AnyRef

Inherited from Any

Ungrouped