MarkedGraph.isCircle
- MarkedGraph.isCircle(src, dst)
Return True if the mark at dst (seen from src) is a circle.
- Parameters:
src (
int)dst (
int)
- Return type:
bool
Example
import pyagrum as gum
g = gum.fastMarkedGraph("A o-> B")
g.isCircle(1, 0) # the mark at A
# True
g.isCircle(0, 1) # the mark at B
# False
Used by
