3.1.3. pywhy_graphs.algorithms.possible_descendants#

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

Possible descendants of a source node.

Parameters:

G : PAG

The graph.

source : Node

The source node to start at.

Returns:

possible_descendants : Set[Node]

The set of nodes that are possible descendants.