Interface WeaklyConnectedComponentObserver

    • 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.