testSelectGene {xegaSelectGene}R Documentation

Test a gene selection function

Description

testSelectGene implements testing a selection function. It collects the results of the repeated execution of the selection function given a fitness function.

Usage

testSelectGene(
  fit,
  method = "Uniform",
  howOften = 100,
  lF = NewlFselectGenes(),
  continuation = TRUE,
  verbose = FALSE
)

Arguments

fit

Fitness vector.

method

String specifying the selection function. See SelectGeneFactory.

howOften

Integer.

lF

Local configuration.

continuation

Convert to index function?

verbose

Boolean. Default: FALSE. If TRUE, the exection time of the transformation of the selection function into a quasi-continuation function is printed on the console.

Value

See Also

Other Benchmark Selection Functions: predictSelectTime(), runOneBenchmark(), runSelectBenchmarks(), selectBenchmark()

Examples

fit1<-rep(10,10)
fit2<-fit1+runif(rep(10,1))
fit3<-sample(100, 10, replace=TRUE)
testSelectGene(fit2, method="Tournament", howOften=100) 
testSelectGene(fit3, method="Tournament", howOften=10) 

[Package xegaSelectGene version 1.0.0.0 Index]