create NEAT app repo

This commit is contained in:
swaits committed 2010-09-30 15:23:17 -07:00
commit 9cd2d19fb9
34 files changed
+4454

No files matched your search

+31
View File
@@ -0,0 +1,31 @@
#ifndef __Species_h__
#define __Species_h__
#include "Genotype.h"
#include <vector>
#if 0
class Species
{
public:
Species(const Genotype& leader);
void Reset();
void AddMember(const Genotype& genome);
bool AddIfCompatible(const Genotype& genome);
void AdjustFitness();
float GetFitness();
Genotype Spawn() const;
Genotype GetLeader() const;
private:
Genotype m_leader;
std::vector<Genotype> m_members;
float m_spawn_amount;
};
#endif
#endif // __Species_h__