@PublicAPI @Beta public interface SimpleDfsVisitorSimple DFS traversal visitor.
Please note that this interface is marked with
Betaannotation, so it can be subject of incompatible changes or removal in later releases.
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.
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