|
|
Zeile 1: |
Zeile 1: |
| + | __CONTENT_ERZWINGEN__ |
| | | |
| ==Example== | | ==Example== |
Version vom 24. Juni 2013, 21:50 Uhr
__CONTENT_ERZWINGEN__
Example
We toss a fair coin 60 times and get the following initial population:
Fehler beim Parsen (http://mathoid.testme.wmflabs.org Serverantwort ist ungültiges JSON.): \color{red}\sum_{i=1}^{6}f(s_i)=34
The new population after performing selection:
We only perform a crossover for the pairs and
Crossover-points: 2 and 5
Before crossover:
After crossover:
Before applying mutation:
After applying mutation with updated fitness-values:
Fehler beim Parsen (http://mathoid.testme.wmflabs.org Serverantwort ist ungültiges JSON.): \sum_{i=1}^{6}f(s_i''')=37
Improvement of 9 percent