499ca80643a9f5a428ae167321fa5d2089af67ac
[genetic.git] / src / gene.h
1 #ifndef __GENE_H
2 #define __GENE_H
3
4 namespace genetic {
5
6     template < typename Type >
7     class Gene {
8     protected:
9         Type fenotype;
10     public:
11         Gene(Type fenotype) {
12             this->fenotype = fenotype;
13         }
14
15         Type get() {
16             return this->fenotype;
17         }
18     };
19 }
20
21 #endif /* __GENE_H */