MixedGraph.emptyArcs
- MixedGraph.emptyArcs()
Check if the graph doesn’t contains arcs.
- Returns:
True if the graph doesn’t contains arcs
- Return type:
bool
Example
import pyagrum as gum
g = gum.fastMixedGraph("A-B;C")
g.emptyArcs() # an edge is not an arc
# True
g.addArc(1, 2)
g.emptyArcs()
# False
Class
Overridden in