the set of ids
set
Example
import pyagrum as gum bn = gum.fastBN("A->B->C") bn.nodes() # {0, 1, 2}
Class
BayesNet