public void addRestrictionList(NodeSet list,Node node){
  if (!neighbourLists.contains(list)) {
    neighbourLists.push(list);
    if (list.size() < minSetSize) {
      minSetSize=list.size();
    }
    nodeCausingRestriction.push(node);
  }
}

public void addRestrictionList ( NodeSet list , Node node ) { if ( ! neighbourLists . contains ( list ) ) { neighbourLists . push ( list ) ; if ( list . size ( ) < minSetSize ) { minSetSize = list . size ( ) ; } nodeCausingRestriction . push ( node ) ; } }
adds a new list of candidate nodes for the motif node to the set of constraining lists
