home *** CD-ROM | disk | FTP | other *** search
/ Media Share 13 / mediashare_13.zip / mediashare_13 / ZIPPED / PROGRAM / APR94_1.ZIP / GA.ZIP / SOURCE.ZIP / GRAPHIND.H < prev    next >
C/C++ Source or Header  |  1994-01-10  |  787b  |  30 lines

  1. //Copyright (C) Man Machine Interfaces 1994. All rights reserved.
  2.  
  3. //graphind.h
  4. //Auto decoded binary individual
  5. #ifndef __GRAPHIND_H
  6. #define __GRAPHIND_H
  7.  
  8. #include "binind.h"
  9.  
  10. class CGraphDrawingInd : public TBinaryIndividual
  11. {
  12.     char m_Decoded ;
  13.     
  14. public:
  15.  
  16.     CGraphDrawingInd() ;
  17.     CGraphDrawingInd(PTBinaryGenotype geno, PTPhenotype pheno) ;
  18.     CGraphDrawingInd(CGraphDrawingInd * parent1, CGraphDrawingInd * parent2) ;
  19.     CGraphDrawingInd(const CGraphDrawingInd &individ) ;
  20.     const CGraphDrawingInd & operator =(const CGraphDrawingInd &individ) ;
  21.     void CopyFrom(CGraphDrawingInd * source) ;
  22.     PTIndividual Copy() ;
  23.     void GetPhenoInfo(void *pInfoStruct) ;
  24.     const void * GetPhenoInfo(int key) ;
  25.     void Decode() ;    
  26.     void CalcFitness() ;
  27. } ;
  28.  
  29. #endif //__GRAPHIND_H
  30.