MarkedGraph.nodes

MarkedGraph.nodes()
Returns:

the set of ids

Return type:

set

Example

import pyagrum as gum

g = gum.fastMarkedGraph("A->B<->C")
g.nodes()
# {0, 1, 2}

Used by

MarkedGraph, PAG

Inheritance diagram of pyagrum.MarkedGraph, pyagrum.PAG