gpalta.distributed
Class DistributedEvalClient

java.lang.Object
  extended by java.lang.Thread
      extended by gpalta.distributed.DistributedEvalClient
All Implemented Interfaces:
DistributedEvalProtocol, java.lang.Runnable

public class DistributedEvalClient
extends java.lang.Thread
implements DistributedEvalProtocol


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Fields inherited from interface gpalta.distributed.DistributedEvalProtocol
END_STRING, EVAL_STRING, INIT_STRING, OK_STRING
 
Constructor Summary
DistributedEvalClient(int wThreadAmI, DistributedEvalController evalController, java.lang.String host, int port, gpalta.core.Fitness fitness, gpalta.core.ProblemData problemData, gpalta.core.Output tmpOutput)
           
 
Method Summary
 void eval(double[][] fitResult, gpalta.core.Individual[] inds)
           
 void notifyReady()
           
 void 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
 

Constructor Detail

DistributedEvalClient

public DistributedEvalClient(int wThreadAmI,
                             DistributedEvalController evalController,
                             java.lang.String host,
                             int port,
                             gpalta.core.Fitness fitness,
                             gpalta.core.ProblemData problemData,
                             gpalta.core.Output tmpOutput)
Method Detail

eval

public void eval(double[][] fitResult,
                 gpalta.core.Individual[] inds)

notifyReady

public void notifyReady()

run

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