Check if the graph is empty.
True if the graph is empty
bool
Example
import pyagrum as gum g = gum.UndiGraph() g.empty() # True g.addNode() # 0 g.empty() # False
Used by
UndiGraph, CliqueGraph
UndiGraph
CliqueGraph
Overridden in
MixedGraph.empty, PDAG.empty
MixedGraph.empty
PDAG.empty