AcceptNewGene {xegaPopulation}R Documentation

Accepts a new gene.

Description

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

Usage

AcceptNewGene(OperatorPipeline, gene, lF)

Arguments

OperatorPipeline

Genetic operator pipeline (an R function).

gene

Gene.

lF

Local configuration.

Value

New gene.

See Also

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

Examples

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

[Package xegaPopulation version 1.0.0.0 Index]