Documentation of 'org.jgap.impl.job.EvolveJob' Java class
EvolveJob
org.jgap.impl.job

Class EvolveJob

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Runnable, IEvolveJob, IJob


    public class EvolveJob
    extends JobBase
    implements IEvolveJob
    A job that evolves a population. The evolution takes place as given by the configuration. It operates on a population also provided. This class utilizes sub jobs to perform its sub-tasks. Each sub job may either be a local implementation satisfying the IJob interface. Or it may be a job that eventually is put onto the grid and returns with a result!
    Since:
    3.2
    See Also:
    Serialized Form
    • Constructor Detail

      • EvolveJob

        public EvolveJob(JobData a_data)
    • Method Detail

      • execute

        public JobResult execute(JobData a_data)
                          throws java.lang.Exception
        Execute the evolution via JGAP.
        Specified by:
        execute in interface IJob
        Parameters:
        a_data - input parameter of type EvolveData
        Returns:
        result of the evolution
        Throws:
        java.lang.Exception - in case of any error
        Since:
        3.2
      • evolve

        public EvolveResult evolve(EvolveData a_evolveData)
        Does the genetic evolution.
        Parameters:
        a_evolveData - parameters for the evolution
        Returns:
        result of the evolution
        Since:
        3.2

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.