| envXOR {xegaSelectGene} | R Documentation |
The problem environment envXOR for programming the XOR function
either by grammar-based genetic programming or grammatical evolution.
Description
The problem environment envXOR is a list with the following elements:
-
envXOR$name:"envXOR", the name of the problem environment. -
envXOR$buildtest(expr): The function which builds the environment for evaluating the expression with a binding of the variables to the parameters. -
envXOR$TestCases: The truth table of the XOR function. -
envXOR$f(expr, gene=NULL, lF=NULL): The fitness function.expris the string with the logical expression to be evaluated.
Usage
envXOR
Format
An object of class list of length 4.
See Also
Other Problem Environments:
DeJongF4Factory(),
DelayedPFactory(),
Parabola2DEarlyFactory(),
Parabola2DErrFactory(),
Parabola2DFactory(),
lau15,
newEnvXOR(),
newTSP()
[Package xegaSelectGene version 1.0.0.0 Index]