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

Class JGAPWorker

  • All Implemented Interfaces:
    org.homedns.dade.jcgrid.worker.Worker


    public class JGAPWorker
    extends java.lang.Object
    implements org.homedns.dade.jcgrid.worker.Worker
    A worker receives work units from a JGAPServer and sends back computed solutions to the same JGAPServer.
    Since:
    3.2 (since 3.01 this class contained something different that is now in class org.jgap.distr.grid.JGAPWorkers)
    • Constructor Summary

      Constructors 
      Constructor and Description
      JGAPWorker() 
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      org.homedns.dade.jcgrid.WorkResult doWork(org.homedns.dade.jcgrid.WorkRequest work, java.lang.String workDir)
      Executes the evolution and returns the result.
      static void main(java.lang.String[] args)
      Convenience method to start the worker.
      • Methods inherited from class java.lang.Object

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

      • JGAPWorker

        public JGAPWorker()
    • Method Detail

      • doWork

        public org.homedns.dade.jcgrid.WorkResult doWork(org.homedns.dade.jcgrid.WorkRequest work,
                                                         java.lang.String workDir)
                                                  throws java.lang.Exception
        Executes the evolution and returns the result.
        Specified by:
        doWork in interface org.homedns.dade.jcgrid.worker.Worker
        Parameters:
        work - WorkRequest
        workDir - String
        Returns:
        WorkResult
        Throws:
        java.lang.Exception
        Since:
        3.01
      • main

        public static void main(java.lang.String[] args)
                         throws java.lang.Exception
        Convenience method to start the worker.
        Parameters:
        args - command-line arguments, such as server address
        Throws:
        java.lang.Exception
        Since:
        3.01

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.