Class GA

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--laur.tools.AbortableThread
              |
              +--laur.tools.MonitoredThread
                    |
                    +--GA
All Implemented Interfaces:
java.lang.Runnable

public class GA
extends MonitoredThread

GA


Field Summary
 
Fields inherited from class laur.tools.MonitoredThread
monitor
 
Fields inherited from class laur.tools.AbortableThread
bAbort, isRunning
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Method Summary
 boolean areResultsFinal()
          returns true if the results are final, false otherwise
 boolean areResultsPartial()
          returns true if the results are partial, false otherwise
protected  void evolve()
          starts the evolution process; computes the final chromosome and the final number of iterations
protected  void execute()
          executes the evolve method
 java.util.Vector getResults()
          returns partial or final results
 
Methods inherited from class laur.tools.MonitoredThread
terminationHook
 
Methods inherited from class laur.tools.AbortableThread
abort, checkAbort, run
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, 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
 

Method Detail

execute

protected void execute()
executes the evolve method

Specified by:
execute in class AbortableThread

evolve

protected void evolve()
starts the evolution process; computes the final chromosome and the final number of iterations


getResults

public java.util.Vector getResults()
returns partial or final results


areResultsFinal

public boolean areResultsFinal()
returns true if the results are final, false otherwise


areResultsPartial

public boolean areResultsPartial()
returns true if the results are partial, false otherwise