Represents an Environment in Genetic Programming, as used by the GPEngine.
For a list of all members of this type, see IEnvironment Members.
| Type | Description |
|---|---|
| AntEnvironment | Represents a generic toroidal grid for use in the GeneticProgrammingEngine.ProblemSpace.ArtificialAnt problem. |
The IEnvironments and associated initialization files passed to the EnvironmentVerifier are used to test the IIndividuals generated by the framework.
IEnvironment works in cooperation with IIndividual to perform the actual test.
Since the Environment in this framework acts as a passive receptacle of information, this class is simply passed to the IIndividual (as opposed to the more general metaphor where Individuals are "tested by" or "tested within" an Environment).
The work of IEnvironment is split between the class itself and an initialization file (which separates the structure of the world from the data that populates it). This allows the same IEnvironment class to be used with multiple versions of a problem, and to represent similarly structured problems.
For example, in the case of the Artificial Ant problem, ants move about in a toroidal (wrap-around) grid. If you are working with the path-finding or food-gathering versions of this problem, each square in the Environment can be either empty or contain food. Different versions of the problem will have the food squares placed differently. If you are working with the obstacle-avoidance version, a square can also contain obstacles.
Namespace: GeneticProgrammingEngine.ProblemSpace
Assembly: GeneticProgrammingEngine (in GeneticProgrammingEngine.dll)
IEnvironment Members | GeneticProgrammingEngine.ProblemSpace Namespace | Environment Term | EnvironmentVerifier Interface | IIndividual Interface | IHistory Interface