MarkedGraph.emptyEdges

MarkedGraph.emptyEdges()

Check whether the graph has no edges.

Returns:

True if the graph contains no edges

Return type:

bool

Example

import pyagrum as gum

g = gum.MarkedGraph()
g.addNodes(2)
g.emptyEdges()
# True
g.addEdge(0, 1)
g.emptyEdges()
# False

Used by

MarkedGraph, PAG

Inheritance diagram of pyagrum.MarkedGraph, pyagrum.PAG