id (int) – the node id
int
True if the node has a name
bool
Example
import pyagrum as gum mpdag = gum.MPDAG.meekClosure(gum.fastPDAG("A-B->C-D")) mpdag.hasName(0) # True
Class
MPDAG