There are 3 types of discrete random variables in aGrUM/pyAgrum :
RangeVariable. The 3 types are mainly provided in order to ease the modelisation. Derived from
DiscreteVariable, they share a common API
They essentially differ by the means to create, name and access to their modalities.
- Labelized variables
gum.LabelizedVariable represents a variable with a list of labels that can be managed.
- Discretized variables
gum.DiscretizedVariable represents a variable with a list of ticks that discretize the variable domain.
- Range variables
gum.RangeVariable represents a variable with a range of integers as domain.