DiscreteVariable.name
- DiscreteVariable.name()
- Returns:
the name of the variable
- Return type:
str
Example
import pyagrum as gum
bn = gum.fastBN("A->B")
bn.variable(1).name()
# 'B'
Used by
DiscreteVariable, DiscretizedVariable, IntegerVariable, LabelizedVariable, NumericalDiscreteVariable, RangeVariable
