xegaGpInitGeneFactory {xegaGpGene} | R Documentation |
Configure the initialization function of grammar-based genetic programming.
Description
xegaGpInitGeneFactory()
implements the
creation of a complete derivation tree by one
an algorithm selected
by specifying a text string.
The selection fails ungracefully (produces
a runtime error), if the label does not match.
The functions are specified locally.
Current support:
"InitGene" returns
xegaGpInitGene()
."InitGeneGe" returns
xegaGpInitGeneGe()
.
Usage
xegaGpInitGeneFactory(method = "InitGene")
Arguments
method |
String specifying the mutation function. |
Value
Initialization function for genes.
See Also
Other Configuration:
xegaGpCrossoverFactory()
,
xegaGpMutationFactory()
Examples
InitGene<-xegaGpInitGeneFactory("InitGene")
gene1<-InitGene(lFxegaGpGene)
InitGene<-xegaGpInitGeneFactory("InitGeneGe")
gene2<-InitGene(lFxegaGpGene)
[Package xegaGpGene version 1.0.0.2 Index]