|
Algorithm A1 d-Separation [45]. |
|
Input: DAG and disjoint sets
-
1:
Create a subgraph containing only nodes in A, B, or C or with a directed path to A, B, or C
-
2:
Connect with an undirected edge any two variables that share a common child
-
3:
For each , remove c and any edge connected to c
-
4:
Make every edge an undirected edge
-
5:
Conclude that A and B are d-separated by C if and only if there is no path connecting A and B
|