The sepset had been initialized with an empty set. But it should be recorded in cg.sepset when x and y are d-separated, given by sepset. Otherwise, sepset (the empty set) will be recorded in cg.sepset.
Test Plan
python -m unittest tests.TestPC # should pass
python -m unittest tests.TestSkeletonDiscovery # should pass
Updates
Description
The
sepset
had been initialized with an empty set. But it should be recorded incg.sepset
whenx
andy
are d-separated, given bysepset
. Otherwise,sepset
(the empty set) will be recorded incg.sepset
.Test Plan