#ifndef _TEAM_H_ #define _TEAM_H_ #include #include "ghost.h" class Team { public: Team (); void newGame (); void moveTeam (); static const int GHOSTS_PER_TEAM; void outputPrograms (ostream& out = cout); void newGeneration (); void copy (Team& parent); void crossover (Team& mom, Team& dad); void increaseFitness (unsigned long amt); unsigned long getFitness (); private: static const int MUTATION_CHANCE; static const int COPY_CHANCE; Ghost& chooseGhost (); Ghost* myGhost; unsigned long fitness; }; #endif