Skip to content

Commit

Permalink
Updated links
Browse files Browse the repository at this point in the history
  • Loading branch information
ZviRosenfeld authored Aug 20, 2019
1 parent 040fd86 commit 6935390
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,14 +202,14 @@ The IEnvironment represents the "environment". You can set your own environment.

The environment's UpdateEnvierment is called before the evaluation of a generation begins, which lets you configuration your environment. UpdateEnvierment is guaranteed to be called once per generation.

You can find an example of a custom Environment [here](https://github.com/ZviRosenfeld/GeneticAlgorithmEngine/blob/master/Environment/MyEnvironment.cs).
You can find an example of a custom Environment [here](https://github.com/ZviRosenfeld/GeneticAlgorithmEngine/blob/master/EnvironmentGui/MyEnvironment.cs).

### IChromosomeEvaluator

If you set the IChromosomeEvaluator, the engine will use your ChromosomeEvaluator's evaluate method (and not the chromosome's default evaluate method).
Since the IChromosomeEvaluator's SetEnvierment is called before the evaluation starts, your ChromosomeEvaluator can use use the information in the environment to evaluate the chromosomes.

You can find an example of a custom ChromosomeEvaluator [here](https://github.com/ZviRosenfeld/GeneticAlgorithmEngine/blob/master/Environment/ChromosomeEvaluator.cs).
You can find an example of a custom ChromosomeEvaluator [here](https://github.com/ZviRosenfeld/GeneticAlgorithmEngine/blob/master/EnvironmentGui/ChromosomeEvaluator.cs).

### Example

Expand All @@ -224,4 +224,4 @@ var result = searchEngine.Run();
### Tutorial

You can find a tutorial on using an environment [here](https://github.com/ZviRosenfeld/GeneticAlgorithmEngine/wiki/Using-an-Environment).
The tutorial's full source code (alone with a poorly designed GUI) is located [here](https://github.com/ZviRosenfeld/GeneticAlgorithmEngine/tree/master/EnvironmentGui).
The tutorial's full source code (alone with a poorly designed GUI) is located [here](https://github.com/ZviRosenfeld/GeneticAlgorithmEngine/tree/master/EnvironmentGui).

0 comments on commit 6935390

Please sign in to comment.