Class DivisiveStrategy
java.lang.Object
cz.fidentis.analyst.engines.face.batch.clustering.impl.DivisiveStrategy
Class for calculating the furthest node from a bunch of nodes.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFurthestClusterNode
(ClusterDistanceMap distanceMap, ClusterNode leftNode, ClusterNode rightNode) Gets the furthest cluster node from a bunch.
-
Constructor Details
-
DivisiveStrategy
public DivisiveStrategy()
-
-
Method Details
-
getFurthestClusterNode
public ClusterNode getFurthestClusterNode(ClusterDistanceMap distanceMap, ClusterNode leftNode, ClusterNode rightNode) Gets the furthest cluster node from a bunch.- Parameters:
distanceMap
- map of distances between clustersleftNode
- left node of the parent,rightNode
- right node of the parent- Returns:
- node that will be moved from leftNode to rightNode for further splitting
-