public void terminate() { g.removeSink(trigger); g = null; }
public void terminate() { g.removeSink(trigger); } }
public void terminate() { g.removeSink(trigger); g = null; }
public void terminate() { g.removeSink(trigger); g = null; }
public void terminate() { graph.removeSink(this); solutionStatus = SolutionStatus.UNDEFINED; }
public void terminate() { g.removeSink(trigger); g = null; }
public void terminate() { graph.removeSink(this); solutionStatus = SolutionStatus.UNDEFINED; }
public void terminate() { g.removeSink(trigger); g = null; }
void end() { g.removeSink(this); }
public void terminate() { if (graph != null) { graph.removeSink(this); graph = null; started = false; connectedComponents = 0; connectedComponentsSize.clear(); } }
public void removeSink(Sink sink) { elementLock.lock(); wrappedElement.removeSink(sink); elementLock.unlock(); }
public void removeSink(Sink sink) { elementLock.lock(); wrappedElement.removeSink(sink); elementLock.unlock(); }
@Override public void terminate() { if (graph != null) { graph.removeSink(this); graph = null; started = false; components.clear(); componentsMap.clear(); } }
/** * @see Algorithm#init(Graph) */ public void init(Graph graph) { if (this.graph != null) this.graph.removeSink(this); this.graph = graph; if (this.graph != null){ graphChanged = true; this.graph.addSink(this); } }
public void init(Graph graph) { if (this.graph != null) this.graph.removeSink(this); this.graph = graph; this.graph.addSink(this); }
@Override public void init(Graph graph) { if (this.graph != null) this.graph.removeSink(this); this.graph = graph; this.graph.addSink(this); components = new HashSet<ConnectedComponent>(); componentsMap = new HashMap<Node, ConnectedComponent>(); }
public void init(Graph graph) { if (graph != this.graph) { if (this.graph != null) { this.graph.removeSink(this); } this.graph = graph; if (this.graph != null) { this.graph.addSink(this); initialize(); } } }
public void init(Graph graph) { if (graph != this.graph) { if (this.graph != null) { this.graph.removeSink(this); } this.graph = graph; if (this.graph != null) { this.graph.addSink(this); initialize(); } } }
/** * */ public void end() { if (currentDiff != null) { currentDiff.end(); diffs.add(new StepDiff(currentGraph.getStep(), currentDiff)); } currentGraph.removeSink(connector); currentGraph = Graphs.clone(currentGraph); }
/** * */ public void end() { if (currentDiff != null) { currentDiff.end(); diffs.add(new StepDiff(currentGraph.getStep(), currentDiff)); } currentGraph.removeSink(connector); currentGraph = Graphs.clone(currentGraph); }