MarkedGraph.isTail

MarkedGraph.isTail(src, dst)

Return True if the mark at dst (seen from src) is a tail.

Parameters:
  • src (int)

  • dst (int)

Return type:

bool

Example

import pyagrum as gum

g = gum.fastMarkedGraph("A->B")
g.isTail(1, 0)  # the mark at A
# True
g.isTail(0, 1)  # the mark at B
# False

Used by

MarkedGraph, PAG

Inheritance diagram of pyagrum.MarkedGraph, pyagrum.PAG