Class AgglomerativeNeighbor
- java.lang.Object
-
- cc.mallet.cluster.neighbor_evaluator.Neighbor
-
- cc.mallet.cluster.neighbor_evaluator.AgglomerativeNeighbor
-
- All Implemented Interfaces:
java.io.Serializable
public class AgglomerativeNeighbor extends Neighbor
ANeighborcreated by merging two clusters of the original Clustering.- Since:
- 1.0
- Version:
- 1.0
- Author:
- "Aron Culotta"
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AgglomerativeNeighbor(Clustering original, Clustering modified, int[][] oldClusters)AgglomerativeNeighbor(Clustering original, Clustering modified, int[] oldCluster1, int[] oldCluster2)AgglomerativeNeighbor(Clustering original, Clustering modified, int oldCluster1, int oldCluster2)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int[]getNewCluster()int[][]getOldClusters()java.lang.StringtoString()-
Methods inherited from class cc.mallet.cluster.neighbor_evaluator.Neighbor
getModified, getOriginal
-
-
-
-
Constructor Detail
-
AgglomerativeNeighbor
public AgglomerativeNeighbor(Clustering original, Clustering modified, int[][] oldClusters)
- Parameters:
original-modified-cluster1- Instance indices for one cluster that was merged.cluster2- Instance indices for other cluster that was merged.
-
AgglomerativeNeighbor
public AgglomerativeNeighbor(Clustering original, Clustering modified, int[] oldCluster1, int[] oldCluster2)
-
AgglomerativeNeighbor
public AgglomerativeNeighbor(Clustering original, Clustering modified, int oldCluster1, int oldCluster2)
-
-