Ejemplo n.º 1
0
 /**
  * We need to track tuple source nodes that we visit to avoid multiple removal in case of
  * subnetworks
  *
  * @param node
  * @return
  */
 public boolean alreadyVisited(LeftTupleSource node) {
   return this.visitedNodes.containsKey(new Integer(node.getId()));
 }
Ejemplo n.º 2
0
 /**
  * We need to track tuple source nodes that we visit to avoid multiple removal in case of
  * subnetworks
  *
  * @param node
  */
 public void visitTupleSource(LeftTupleSource node) {
   this.visitedNodes.put(new Integer(node.getId()), node);
 }