39 const std::string& aDesc,
43 __minBound(minVal), __maxBound(maxVal) {
long __maxBound
The upper bound.
long minVal() const
Returns the lower bound.
Base class for discrete random variable.
gum is the global namespace for all aGrUM entities
virtual ~RangeVariable()
destructor
long maxVal() const
Returns the upper bound.
Defines a discrete random variable over an integer interval.
Inline implementation of gumRangeVariable.
RangeVariable(const std::string &aName, const std::string &aDesc, long minVal=0, long maxVal=1)
Default constructor.
Header of gumRangeVariable.
long __minBound
The lower bound.
virtual const std::string domain() const
string represent the domain of the variable