EvalGeneR {xegaSelectGene} | R Documentation |
Evaluates a repaired gene in a problem environment.
Description
EvalGeneR
evaluates a repaired gene in
a problem environment.
Usage
EvalGeneR(gene, lF)
Arguments
gene |
A gene. |
lF |
The local configuration of the genetic algorithm. |
Details
If the decoder repairs a gene, the repaired gene must replace the original gene.
Value
A gene (with $evaluated==TRUE
).
See Also
EvalGeneU
Other Evaluation Functions:
EvalGeneDet()
,
EvalGeneStoch()
,
EvalGeneU()
,
EvalGene()
Examples
Parabola2D<-Parabola2DFactory()
lF<-NewlFevalGenes(Parabola2D)
g1<-list(evaluated=FALSE, fit=0, gene1=c(1.0, -1.5, 3.37))
g2<-list(evaluated=FALSE, fit=0, gene1=c(0.0, 0.0, 0.0))
EvalGeneR(g1, lF)
EvalGeneR(g2, lF)
[Package xegaSelectGene version 1.0.0.0 Index]