x (int) – the id of a node
int
the nodes y such that x<->y
set[int]
Example
import pyagrum as gum g = gum.fastMarkedGraph("A->B<->C;B<->D") g.spouses(1) # {2, 3}
Used by
MarkedGraph, PAG
MarkedGraph
PAG