Abstract method to return the domain of this variable.
Abstract method to return the domain of this variable.
Stores the intended true "target" value for this variable.
Stores the intended true "target" value for this variable.
Value comparisons (as distinct from variable pointer equality)
Value comparisons (as distinct from variable pointer equality)
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.
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.
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.
Assign a new value to this variable
Assign a new value to this variable
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.
Abstract method to return the value of this variable.
Abstract method to return the value of this variable.
An abstract mutable categorical variable that has a desired correct "target" value. This variable has a target value, but it may not necessarily be stored in a separate TargetVar variable.