envXOR: The problem environment 'envXOR' for programming the XOR...

envXORR 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. expr is 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()


xegaSelectGene documentation built on April 16, 2025, 5:12 p.m.