/** * 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())); }
/** * 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); }