Const path checking
@@ -61,8 +61,12 @@ public class DifferentiablePathChecker {
Vertex visiting = queue.poll();
if (visiting.isProbabilistic()) {
+ if(visiting.isObserved()) {
+ continue;
+ } else {
return true;
}
+ }
Collection<Vertex> nextVertices = visiting.getParents();
for (Vertex next : nextVertices) {
