comirva.visu
Class ContinuousSimilarityRingVisu

java.lang.Object
  extended by java.lang.Thread
      extended by comirva.visu.ContinuousSimilarityRingVisu
All Implemented Interfaces:
Runnable

public class ContinuousSimilarityRingVisu
extends Thread

This class implements a ContinuousSimilarityRing visualization. To avoid blocking the GUI, it is implemented as thread.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ContinuousSimilarityRingVisu(VisuPane vp)
          Constructs a new ContinuousSimilarityRingVisu.
 
Method Summary
 void run()
          Start drawing the visualization.
 
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
 

Constructor Detail

ContinuousSimilarityRingVisu

public ContinuousSimilarityRingVisu(VisuPane vp)
Constructs a new ContinuousSimilarityRingVisu.

Method Detail

run

public void run()
Start drawing the visualization. Paints a continuous similarity ring (CSR) visualization. Prototypes are arranged along a circle by a TSP. Then, a fixed number k of nearest neighbors according to the similarity matrix is selected for each prototype. Those neighbors which only have one prototype are mapped to the outer-circle-area, those which are neighbors of more than one prototype are mapped and displayed inside the circle. The inner-circle-neighbors are placed by a simple heuristical algorithm that tries to preserve the original distances.

Specified by:
run in interface Runnable
Overrides:
run in class Thread
See Also:
Thread.run()