/** * PATH */ @Override public void initPath(Edge edge, int index) { for (Producer p : getProducerList()) { p.initPath(edge, index); } }
void process(Node cstart, Environment memory) { // Is the source of edge bound ? // In which case all path relations come from same source Node csource = null; if (gNode != null) { csource = memory.getNode(gNode); } // the start concept for path //Node cstart = get(memory, index); Path path = new Path(isReverse); path.setMax(max); path.setIsShort(isShort); if (isShort && cstart != null) { // if null, will be done later producer.initPath(edge, 0); } eval(regexp1, path, cstart, csource); // in order to stop enumeration, return null if (!isList) { mbuffer.put(null, false); } }
pp.initPath(ee, 0); visit.initPath();