net.sourceforge.jswarm_pso.example_2
Class SwarmThread

java.lang.Object
  extended by java.lang.Thread
      extended by net.sourceforge.jswarm_pso.example_2.SwarmThread
All Implemented Interfaces:
java.lang.Runnable

public class SwarmThread
extends java.lang.Thread

A thread that runs in background while calculating kohonen's learning algorithm

Author:
pcingola@users.sourceforge.net

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
(package private)  SwarmShow2D controller
          Controller
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
SwarmThread(SwarmShow2D controller)
           
 
Method Summary
 void run()
          Run
 
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

controller

SwarmShow2D controller
Controller

Constructor Detail

SwarmThread

public SwarmThread(SwarmShow2D controller)
Method Detail

run

public void run()
Run

Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread