create NEAT app repo
This commit is contained in:
commit
9cd2d19fb9
34 files changed
+4454
No files matched your search
@@ -0,0 +1,23 @@
|
||||
#ifndef __Gene_h__
|
||||
#define __Gene_h__
|
||||
|
||||
class Gene
|
||||
{
|
||||
public:
|
||||
|
||||
Gene();
|
||||
Gene(int innovation);
|
||||
virtual ~Gene();
|
||||
|
||||
int GetInnovation() const;
|
||||
|
||||
bool operator< (const Gene& rhs) const;
|
||||
bool operator== (const Gene& rhs) const;
|
||||
|
||||
protected:
|
||||
|
||||
int m_innovation;
|
||||
};
|
||||
|
||||
#endif // __Gene_h__
|
||||
|
||||
Reference in new issue
Block a user