3.1.3. pywhy_graphs.algorithms.possible_descendants#

pywhy_graphs.algorithms.possible_descendants(G: PAG, source: int | float | str | Any) Set[int | float | str | Any][source]#

Possible descendants of a source node.

Parameters:
GPAG

The graph.

sourceNode

The source node to start at.

Returns:
possible_descendantsSet[Node]

The set of nodes that are possible descendants.