1Random Variables
2================
3
4aGrUM/pyAgrum is currently dedicated for discrete probability distributions.
5
6There are 4 types of discrete random variables in aGrUM/pyAgrum: LabelizedVariable, DiscretizedVariable, IntegerVariable and RangeVariable. The 4 types are mainly provided in order to ease modelization. Derived from DiscreteVariable, they share a common API. They essentially differ by the means to create, name and access to their modalities.
7
8Common API for Random Discrete Variables
9----------------------------------------
10.. autoclass:: pyAgrum.DiscreteVariable
11
12Concrete classes for Random Discrete Variables
13----------------------------------------------
14
15LabelizedVariable
16^^^^^^^^^^^^^^^^^
17
18.. autoclass:: pyAgrum.LabelizedVariable
19
20DiscretizedVariable
21^^^^^^^^^^^^^^^^^^^
22
23.. autoclass:: pyAgrum.DiscretizedVariable
24
25IntegerVariable
26^^^^^^^^^^^^^^^
27
28.. autoclass:: pyAgrum.IntegerVariable
29
30RangeVariable
31^^^^^^^^^^^^^
32
33.. autoclass:: pyAgrum.RangeVariable
34