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
Set proper naming in Gene.
[genetic.git]
/
src
/
gene.h
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:
template < typename Type >
class Gene {
protected:
- Type type;
+ Type
feno
type;
public:
public:
- Gene(Type type) {
- this->
type =
type;
+ Gene(Type
feno
type) {
+ this->
fenotype = feno
type;
}
Type get() {
}
Type get() {
- return this->type;
+ return this->
feno
type;
}
};
}
}
};
}