|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.artoflife.gp.genome.ReplaceParameterMutator
Mutates a FunctionGene by replacing one of its parameters with a new random parameter gene.
| Constructor Summary | |
ReplaceParameterMutator()
|
|
| Method Summary | |
void |
mutate(java.lang.String geneSelectionId,
GpTreeNode gene)
Replace a parameter of this gene with a random one from the {GeneFactory}, using a configured probability of choosing from only the terminals. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ReplaceParameterMutator()
| Method Detail |
public void mutate(java.lang.String geneSelectionId,
GpTreeNode gene)
mutate in interface GpMutatorgene - the non-null gene to mutategeneSelectionId - ID of allowed genes that can be created for this
mutation
|
artoflife pre0.1.0-dev | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||