Interface SimpleDfsVisitor


@PublicApi @Beta public interface SimpleDfsVisitor
Simple DFS traversal visitor.

Please note that this interface is marked with Beta annotation, so it can be subject of incompatible changes or removal in later releases.

  • Method Details

    • visit

      void visit(List<IDBasedHierarchicCluster> path, IDBasedHierarchicCluster visitedCluster)
      Visit cluster.

      Visits a path in the clustering hierarchy. This visit method is invoked for every descend or ascend step. Only clusters are visited, their immediate children are not.

      Parameters:
      path - Path from root to the visited cluster. Last element of the path is the visited cluster.
      visitedCluster - Last element of the path for convenience