Add usage of operators in Generation and Chromosome.
authorRafał Długołęcki <rafal@dlugolecki.net.pl>
Sun, 5 Apr 2015 15:41:21 +0000 (17:41 +0200)
committerRafał Długołęcki <rafal@dlugolecki.net.pl>
Sun, 5 Apr 2015 15:41:21 +0000 (17:41 +0200)
commitdf033a74e9dae48ba6a9efe3b0a5ad03c5caa324
treea143a45947886cbf18958eb5c8e834887ce2e69b
parentaf69896de7f61e773e62dfdcfa75f7788dd0dd37
Add usage of operators in Generation and Chromosome.
Optimize code. (from 10s to 6s for 1000 of generations with 200 chromosomes with 10 genes each).
src/algorithm.h
src/chromosome.h
src/crossover/crossover.h
src/fitness/fitness.h
src/fitness/wsti.h
src/generation.h
src/main.cpp
src/mutation/mutation.h
src/selection/roulette.h