Learn R Programming

xegaPopulation (version 1.0.0.11)

AcceptNewGene: Accepts a new gene.

Description

Executes a genetic operator pipeline. The new gene is returned.

Usage

AcceptNewGene(OperatorPipeline, gene, lF)

Value

New gene.

Arguments

OperatorPipeline

Genetic operator pipeline (an R function).

gene

Gene.

lF

Local configuration.

See Also

Other Acceptance Rule: AcceptBest(), AcceptIVMetropolis(), AcceptMetropolis()

Examples

Run this code
id<-function(x, lF){x}
g1<-InitGene(lFxegaGaGene)
AcceptNewGene(id, g1, lFxegaGaGene)

Run the code above in your browser using DataLab