| envXOR | R Documentation |
envXOR for programming the XOR function
either by grammar-based genetic programming or grammatical evolution.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.
expr is the string with the
logical expression to be evaluated.
envXOR
An object of class list of length 4.
Other Problem Environments:
DeJongF4Factory(),
DelayedPFactory(),
Parabola2DEarlyFactory(),
Parabola2DErrFactory(),
Parabola2DFactory(),
lau15,
newEnvXOR(),
newTSP()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.