Documentation of 'org.jgap.distr.grid.JGAPClient' Java class
JGAPClient
org.jgap.distr.grid

Class JGAPClient

  • All Implemented Interfaces:
    java.lang.Runnable


    public class JGAPClient
    extends java.lang.Thread
    A client defines work for the grid and sends it to the JGAPServer. Use this class to get an idea for your grid client implementation or see the samples under package examples.grid to have templates for a) fitness computation and b) evolution on the worker side.
    Since:
    3.01
    • 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
    • Constructor Summary

      Constructors 
      Constructor and Description
      JGAPClient(org.homedns.dade.jcgrid.client.GridNodeClientConfig a_gridconfig, java.lang.String a_clientClassName) 
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      Configuration getConfiguration() 
      static void main(java.lang.String[] args)
      Starts a client (first parameter: name of specific setup class).
      void run()
      Threaded: Splits work, sends it to workers and receives computed solutions.
      void setWorkRequest(JGAPRequest a_request) 
      void start() 
      • 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, stop, stop, suspend, toString, yield
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • JGAPClient

        public JGAPClient(org.homedns.dade.jcgrid.client.GridNodeClientConfig a_gridconfig,
                          java.lang.String a_clientClassName)
                   throws java.lang.Exception
        Throws:
        java.lang.Exception
    • Method Detail

      • setWorkRequest

        public void setWorkRequest(JGAPRequest a_request)
      • run

        public void run()
        Threaded: Splits work, sends it to workers and receives computed solutions.
        Specified by:
        run in interface java.lang.Runnable
        Overrides:
        run in class java.lang.Thread
        Since:
        3.01
      • start

        public void start()
        Overrides:
        start in class java.lang.Thread
      • main

        public static void main(java.lang.String[] args)
        Starts a client (first parameter: name of specific setup class).
        Parameters:
        args - String[]
        Since:
        3.01

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.