MarkedGraph.empty
- MarkedGraph.empty()
Check whether the graph has no nodes.
- Returns:
True if the graph contains no nodes
- Return type:
bool
Example
import pyagrum as gum
gum.MarkedGraph().empty()
# True
gum.fastMarkedGraph("A->B").empty()
# False
Used by
