edu.indiana.util.clustering
Class KMedoidClustering.ECMCopyList

java.lang.Object
  extended by edu.indiana.util.clustering.KMedoidClustering.ECMCopyList
Enclosing class:
KMedoidClustering

protected class KMedoidClustering.ECMCopyList
extends java.lang.Object


Field Summary
protected  int[] bestPartitionPrototypeIDs
           
protected  java.util.ArrayList[] copies
           
 
Constructor Summary
KMedoidClustering.ECMCopyList(Partition bestPartition, Partition workingPartition, int memberCount)
           
 
Method Summary
 EquivalenceClassMember getCopy(int ecmID, int listID)
           
 java.util.ArrayList getCopyList(int listID)
           
 void setPrototypes(EquivalenceClassMember[] prototypes)
           
 EquivalenceClassMember[] swapInPrototype(EquivalenceClassMember swapIn, int swapOutID, int listID)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

copies

protected java.util.ArrayList[] copies

bestPartitionPrototypeIDs

protected int[] bestPartitionPrototypeIDs
Constructor Detail

KMedoidClustering.ECMCopyList

public KMedoidClustering.ECMCopyList(Partition bestPartition,
                                     Partition workingPartition,
                                     int memberCount)
Method Detail

swapInPrototype

public EquivalenceClassMember[] swapInPrototype(EquivalenceClassMember swapIn,
                                                int swapOutID,
                                                int listID)

setPrototypes

public void setPrototypes(EquivalenceClassMember[] prototypes)

getCopyList

public java.util.ArrayList getCopyList(int listID)

getCopy

public EquivalenceClassMember getCopy(int ecmID,
                                      int listID)