Glossary of Genetic Programming Terms

test Term

The process of testing an Individual in an Environment.

Remarks

The test of an Individual in an Environment generates a History of that Individual's actions and allows the raw fitness to be calculated.

Design Note

In this framework, the testing of IIndividuals is performed by the Tester class.

The Tester accomplishes this by running the Test method of each IIndividual in the Population until the test is completed. The Test method contains the code generated for that IIndividual by the Genetic Programming algorithm.

As the Test method executes, methods from the Base Class are called. These methods interact with the current Environment, which generates the IHistory for the test. This IHistory is saved and the IIndividual is tested in the next IEnvironment.

Once the IIndividual has been tested in all of the IEnvironments, the Tester moves on to the next one until all IIndividuals in the Population have been tested.

See Tester's CompileAndTest method for more information on the implementation of the testing process in this framework.

See Also

Individual Term | Environment Term | History Term | fitness Term | Tester Class | CompileAndTest Method | Test Method