Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ZviRosenfeld authored Jan 2, 2020
1 parent 3707f3d commit ea3e130
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ var searchEngine = new GeneticSearchEngineBuilder(POPULATION_SIZE, MAX_GENERATIO
var result = searchEngine.Run();
```

Once you have an instance of an engine you can either use the Run method to run a complete search, or the Next method to run just one more generation.
Once you have an instance of an engine you can either use the Run method to run a complete search, or the Next method to run a single generation.
You can also use the Pause method to pause the search, and then resume it anytime.

```CSharp
Expand All @@ -124,7 +124,7 @@ searchEngine.Dispose();
### OnNewGeneration

This event is called once for every new generations.
This is a good way for GUIs to visually show the argument's progress, or just show the search progress.
This is a good way for GUIs to visually show the changing population, or just show the search progress.

Example:
```CSharp
Expand Down

0 comments on commit ea3e130

Please sign in to comment.