BE-Graphes/src/main/org/insa/algo/weakconnectivity/WeaklyConnectedComponentObserver.java
Mikael Capelle 71accfe13b Update code.
2018-02-20 11:27:12 +01:00

30 lines
706 B
Java

package org.insa.algo.weakconnectivity;
import java.util.ArrayList;
import org.insa.graph.Node;
public interface WeaklyConnectedComponentObserver {
/**
* Notify that the algorithm is entering a new component.
*
* @param curNode Starting node for the component.
*/
public void notifyStartComponent(Node curNode);
/**
* Notify that a new node has been found for the current component.
*
* @param node New node found for the current component.
*/
public void notifyNewNodeInComponent(Node node);
/**
* Notify that the algorithm has computed a new component.
*
* @param nodes List of nodes in the component.
*/
public void notifyEndComponent(ArrayList<Node> nodes);
}