private List<Node> possibleParents(Node x,List<Node> nodes,IKnowledge knowledge){
  List<Node> possibleParents=new LinkedList<>();
  String _x=x.getName();
  for (  Node z : nodes) {
    String _z=z.getName();
    if (PossibleDsepCfci.possibleParentOf(_z,_x,knowledge)) {
      possibleParents.add(z);
    }
  }
  return possibleParents;
}

private List < Node > possibleParents ( Node x , List < Node > nodes , IKnowledge knowledge ) { List < Node > possibleParents = new LinkedList < > ( ) ; String _x = x . getName ( ) ; for ( Node z : nodes ) { String _z = z . getName ( ) ; if ( PossibleDsepCfci . possibleParentOf ( _z , _x , knowledge ) ) { possibleParents . add ( z ) ; } } return possibleParents ; }
removes from the list of nodes any that cannot be parents of x given the background knowledge .
