|
JGAP | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectexamples.gp.monalisa.core.InitStrategy
public class InitStrategy
Initializes GP programs properly when they are created.
Constructor Summary | |
---|---|
InitStrategy()
|
Method Summary | |
---|---|
CommandGene |
init(IGPChromosome a_chrom,
int a_chromNum)
Initializes a chromosome within a GP program before a random creation of the (rest of the) program is executed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InitStrategy()
Method Detail |
---|
public CommandGene init(IGPChromosome a_chrom, int a_chromNum) throws java.lang.Exception
init
in interface IGPInitStrategy
a_chrom
- the chromosome within the GP program to create randomlya_chromNum
- index of the chromosome with the GP program
java.lang.Exception
|
JGAP | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |