powered by
Orients as many edges as possible in a partially directed acyclic graph (PDAG) by converting induced subgraphs X -> Y -- Z to X -> Y -> Z.
orientPDAG(x)
the input graph, a PDAG.
orientPDAG( "pdag { x -> y -- z }" )
Run the code above in your browser using DataLab