comirva.mlearn
Class MDM

java.lang.Object
  extended by java.lang.Thread
      extended by comirva.mlearn.MDM
All Implemented Interfaces:
cp.util.ThreadListener, Runnable

public class MDM
extends Thread
implements cp.util.ThreadListener


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
(package private)  Hashtable<String,int[]> artterms
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
MDM(SOM som)
           
MDM(SOM som, boolean colorByPCA)
           
MDM(SOM som, Hashtable<String,int[]> artistTermvectors)
           
MDM(SOM som, Hashtable<String,int[]> artistTermvectors, boolean colorByPCA)
           
MDM(SOM som, Hashtable<String,int[]> artistTermvectors, int minTermsPerUnit, int maxTermsPerUnit)
           
MDM(SOM som, Hashtable<String,int[]> artistTermvectors, int minTermsPerUnit, int maxTermsPerUnit, boolean colorByPCA)
           
MDM(SOM som, int minTermsPerUnit, int maxTermsPerUnit)
           
MDM(SOM som, int minTermsPerUnit, int maxTermsPerUnit, boolean colorByPCA)
           
 
Method Summary
 void addThreadListener(cp.util.ThreadListener threadlistener)
           
 Color[] getCellColors()
           
 int[] getClusterAssociations()
           
 Vector<Vector<String>> getLabels()
           
 int[][] getNeighborhood()
           
 boolean isColorByPCA()
           
 void run()
           
 void threadEnded()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

artterms

Hashtable<String,int[]> artterms
Constructor Detail

MDM

public MDM(SOM som)

MDM

public MDM(SOM som,
           Hashtable<String,int[]> artistTermvectors)

MDM

public MDM(SOM som,
           int minTermsPerUnit,
           int maxTermsPerUnit)

MDM

public MDM(SOM som,
           Hashtable<String,int[]> artistTermvectors,
           int minTermsPerUnit,
           int maxTermsPerUnit)

MDM

public MDM(SOM som,
           boolean colorByPCA)

MDM

public MDM(SOM som,
           Hashtable<String,int[]> artistTermvectors,
           boolean colorByPCA)

MDM

public MDM(SOM som,
           int minTermsPerUnit,
           int maxTermsPerUnit,
           boolean colorByPCA)

MDM

public MDM(SOM som,
           Hashtable<String,int[]> artistTermvectors,
           int minTermsPerUnit,
           int maxTermsPerUnit,
           boolean colorByPCA)
Method Detail

run

public void run()
Specified by:
run in interface Runnable
Overrides:
run in class Thread

threadEnded

public void threadEnded()
Specified by:
threadEnded in interface cp.util.ThreadListener

addThreadListener

public void addThreadListener(cp.util.ThreadListener threadlistener)

getLabels

public Vector<Vector<String>> getLabels()

getClusterAssociations

public int[] getClusterAssociations()

getNeighborhood

public int[][] getNeighborhood()

getCellColors

public Color[] getCellColors()

isColorByPCA

public boolean isColorByPCA()