|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.epochx.core.GPRun<TYPE>
public class GPRun<TYPE>
A GPRun object has 2 responsibilities. Firstly, to execute a GP run based upon the control parameters provided. Secondly, after executing to provide basic details of how that run went.
Objects of this class should be immutable - however the underlying objects, in particular GPModel may not be.
| Method Summary | ||
|---|---|---|
double |
getBestFitness()
Retrieve the fitness score of the CandidateProgram returned by getBestProgram(). |
|
CandidateProgram<TYPE> |
getBestProgram()
Retrieve the CandidateProgram with the best fitness found during the run. |
|
long |
getRunTime()
Retrieve the time in nano-seconds of the run. |
|
static
|
run(GPModel<TYPE> model)
Construct a new GPRun object and execute it. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static <TYPE> GPRun<TYPE> run(GPModel<TYPE> model)
TYPE - the type of CandidateProgram to be evolved.model - the model which will control the run with the parameters
and fitness function to use.
GPModelpublic CandidateProgram<TYPE> getBestProgram()
public double getBestFitness()
public long getRunTime()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||