Package com.chemaxon.clustering.util
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 Summary
Modifier and TypeMethodDescriptionvoid
visit
(List<IDBasedHierarchicCluster> path, IDBasedHierarchicCluster visitedCluster) Visit cluster.
-
Method Details
-
visit
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
-