|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.neat4j.core.distribute.Experiment
public class Experiment
Constructor Summary | |
---|---|
Experiment(int id)
Creates a named experiment |
Method Summary | |
---|---|
int |
id()
Experiment number |
void |
performExperiment()
runs the experiment |
Chromosome |
result()
Returns the experiment result if it has been set up correctly and run |
void |
setupExperiment(Chromosome genoType)
Assigns the individual chromosome to run the experiment |
void |
setupFunction(NEATFitnessFunction fitnessFunction)
Sets up the Experiment execution environment |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Experiment(int id)
id
- Method Detail |
---|
public void setupFunction(NEATFitnessFunction fitnessFunction)
fitnessFunction
- public void setupExperiment(Chromosome genoType)
genoType
- public void performExperiment()
public Chromosome result() throws ExperimentNotRunException
ExperimentNotRunException
- if the experiments has not yet been run.public int id()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |