LabelizedVariable.eraseLabels
- LabelizedVariable.eraseLabels()
Erase all the labels from the variable.
- Return type:
None
Example
import pyagrum as gum
c = gum.LabelizedVariable("c", "color", ["red", "green", "blue"])
c.eraseLabels()
c.domainSize()
# 0
Class