Interface WeaklyConnectedComponentObserver
-
- All Known Implementing Classes:
WeaklyConnectedComponentGraphicObserver,WeaklyConnectedComponentTextObserver
public interface WeaklyConnectedComponentObserver
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidnotifyEndComponent(java.util.ArrayList<Node> nodes)Notify that the algorithm has computed a new component.voidnotifyNewNodeInComponent(Node node)Notify that a new node has been found for the current component.voidnotifyStartComponent(Node curNode)Notify that the algorithm is entering a new component.
-
-
-
Method Detail
-
notifyStartComponent
void notifyStartComponent(Node curNode)
Notify that the algorithm is entering a new component.- Parameters:
curNode- Starting node for the component.
-
notifyNewNodeInComponent
void notifyNewNodeInComponent(Node node)
Notify that a new node has been found for the current component.- Parameters:
node- New node found for the current component.
-
notifyEndComponent
void notifyEndComponent(java.util.ArrayList<Node> nodes)
Notify that the algorithm has computed a new component.- Parameters:
nodes- List of nodes in the component.
-
-