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.
Abstract method to return the domain of this variable.
Abstract method to return the domain of this variable.
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 container of a target value for categorical variables.