codebook_generation
Class SimpleKMeansWithOutput.KMeansComputeCentroidTask

java.lang.Object
  extended by codebook_generation.SimpleKMeansWithOutput.KMeansComputeCentroidTask
All Implemented Interfaces:
java.util.concurrent.Callable<double[]>
Enclosing class:
SimpleKMeansWithOutput

private class SimpleKMeansWithOutput.KMeansComputeCentroidTask
extends java.lang.Object
implements java.util.concurrent.Callable<double[]>


Field Summary
protected  int m_centroidIndex
           
protected  weka.core.Instances m_cluster
           
 
Constructor Summary
SimpleKMeansWithOutput.KMeansComputeCentroidTask(int centroidIndex, weka.core.Instances cluster)
           
 
Method Summary
 double[] call()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_cluster

protected weka.core.Instances m_cluster

m_centroidIndex

protected int m_centroidIndex
Constructor Detail

SimpleKMeansWithOutput.KMeansComputeCentroidTask

public SimpleKMeansWithOutput.KMeansComputeCentroidTask(int centroidIndex,
                                                        weka.core.Instances cluster)
Method Detail

call

public double[] call()
Specified by:
call in interface java.util.concurrent.Callable<double[]>