org.jgap.impl.job
Class EvolveJob
- java.lang.Object
-
- org.jgap.impl.job.JobBase
-
- org.jgap.impl.job.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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description EvolveResultevolve(EvolveData a_evolveData)Does the genetic evolution.JobResultexecute(JobData a_data)Execute the evolution via JGAP.-
Methods inherited from class org.jgap.impl.job.JobBase
getJobData, getResult, isFinished, run
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jgap.impl.job.IJob
getJobData, getResult, isFinished, run
-
-
-
-
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.
-
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