dlugolecki.net.pl
Dziennik
Polecane
Software
projects
/
genetic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added classes: Algorithm, Crossover, Mutation. Fixed Roulette.
[genetic.git]
/
src
/
fitness
/
wsti.h
diff --git
a/src/fitness/wsti.h
b/src/fitness/wsti.h
index fa303b0eb97fd13d706e8206ec8c609ca47e86e9..eaa0538b77d58f46cab63a68efd648d448fd4750 100644
(file)
--- a/
src/fitness/wsti.h
+++ b/
src/fitness/wsti.h
@@
-26,6
+26,7
@@
namespace genetic {
_fenotype = _fenotype + this->chromosome.get()[i].get() * ratio;
ratio = ratio * 2;
}
+// cout << "Fenotyp: " << _fenotype << "\n";
return _fenotype;
}