codebook_generation
Class SimpleKMeansWithOutput.KMeansClusterTask

java.lang.Object
  extended by codebook_generation.SimpleKMeansWithOutput.KMeansClusterTask
All Implemented Interfaces:
java.util.concurrent.Callable<java.lang.Boolean>
Enclosing class:
SimpleKMeansWithOutput

private class SimpleKMeansWithOutput.KMeansClusterTask
extends java.lang.Object
implements java.util.concurrent.Callable<java.lang.Boolean>


Field Summary
protected  int[] m_clusterAssignments
           
protected  int m_end
           
protected  weka.core.Instances m_inst
           
protected  int m_start
           
 
Constructor Summary
SimpleKMeansWithOutput.KMeansClusterTask(weka.core.Instances inst, int start, int end, int[] clusterAssignments)
           
 
Method Summary
 java.lang.Boolean call()
           
protected  int clusterInstance(weka.core.Instance inst)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_start

protected int m_start

m_end

protected int m_end

m_inst

protected weka.core.Instances m_inst

m_clusterAssignments

protected int[] m_clusterAssignments
Constructor Detail

SimpleKMeansWithOutput.KMeansClusterTask

public SimpleKMeansWithOutput.KMeansClusterTask(weka.core.Instances inst,
                                                int start,
                                                int end,
                                                int[] clusterAssignments)
Method Detail

call

public java.lang.Boolean call()
Specified by:
call in interface java.util.concurrent.Callable<java.lang.Boolean>

clusterInstance

protected int clusterInstance(weka.core.Instance inst)