
// INDIVIDUAL.H 





#ifndef INDIVIDUAL_H

#define INDIVIDUAL_H

class Individual{

      private:

      protected:

      public:

         Individual() {};                     // Constructor.  nothing here for now.
         boolean chromosome[CHROMLENGTH];     // Chrom is a string of true, false.
         int generation_first_seen;           // useful field for later use.
         float fitness;                       // Each chromosome has a fitness.
         boolean equal(Individual other);     // Compare other chromosome to oneself.
         boolean operator == (Individual other);
         boolean greater(Individual other);   // Compare other chromosome to oneself.
         void printchrom();                   // Print chromosome to console.

};

#endif



