org.dllearner.gui
Class StatisticsThread

java.lang.Object
  extended by java.lang.Thread
      extended by org.dllearner.gui.StatisticsThread
All Implemented Interfaces:
Runnable

public class StatisticsThread
extends Thread

This thread is responsible for sending update events to the GUI. In regular intervals it tests whether the learning algorithm is running and calls methods to update the statistics in the run panel.

Author:
Tilo Hielscher, Jens Lehmann

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
StatisticsThread(Config config, RunPanel runPanel)
           
 
Method Summary
 void run()
          Calls RunPanel.showStats() in regular intervals.
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StatisticsThread

public StatisticsThread(Config config,
                        RunPanel runPanel)
Method Detail

run

public void run()
Calls RunPanel.showStats() in regular intervals.

Specified by:
run in interface Runnable
Overrides:
run in class Thread


SourceForge.net Logo DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2008 Jens Lehmann