dlugolecki.net.pl
Dziennik
Polecane
Software
projects
/
genetic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ae7c02
)
Set proper naming in Gene.
author
Rafał Długołęcki
<rafal@dlugolecki.net.pl>
Sun, 22 Mar 2015 09:33:00 +0000
(10:33 +0100)
committer
Rafał Długołęcki
<rafal@dlugolecki.net.pl>
Sun, 22 Mar 2015 09:33:00 +0000
(10:33 +0100)
src/gene.h
patch
|
blob
|
history
diff --git
a/src/gene.h
b/src/gene.h
index ddd8c7124c2c051d5555baeb01b1fb9e2e25ccac..499ca80643a9f5a428ae167321fa5d2089af67ac 100644
(file)
--- a/
src/gene.h
+++ b/
src/gene.h
@@
-6,14
+6,14
@@
namespace genetic {
template < typename Type >
class Gene {
protected:
- Type type;
+ Type
feno
type;
public:
- Gene(Type type) {
- this->
type =
type;
+ Gene(Type
feno
type) {
+ this->
fenotype = feno
type;
}
Type get() {
- return this->type;
+ return this->
feno
type;
}
};
}