Initial commit

This commit is contained in:
Laurent
2026-10-14 20:24:45 +02:00
parent 8469d66a87
commit 8c92c644a9
28 changed files with 1459 additions and 0 deletions

26
assignement.md Normal file
View File

@@ -0,0 +1,26 @@
## Refactor
### Change dependency graph
- A circular dependency between SimpleGeneticAlgorithm and Individual were implemented using service locator pattern and
static classes.
### Population
- Add a second constructor. size parameter were never used if createNew was false
### Individual
- Move getFitness method from SimpleGeneticAlgorithm to Individual
### Prepare support for class inheritance
## Limit number of generations
## Roulette selection
To be done
## Cross-over rate
To be done
## Variable-length bit strings
To be done