pywhy_graphs.algorithms.pdag_to_dag#

pywhy_graphs.algorithms.pdag_to_dag(G)[source]#

Compute consistent extension of given PDAG resulting in a DAG.

Implements the algorithm described in Figure 11 of [1].

Parameters:
GCPDAG

A partially directed acyclic graph.

Returns:
DAG

A directed acyclic graph.

References