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

  1. //Copyright (C) Man Machine Interfaces 1994. All rights reserved.
  2.  
  3. //graphga.h
  4.  
  5. #ifndef __GRAPHGA_H__
  6. #define __GRAPHGA_H__
  7.  
  8.  
  9. //Headers needed for EOS programs
  10. //You need EOS v1.1 to compile this code
  11. #ifndef __BASICGA_H
  12. #include "basicga.h"
  13. #endif
  14.  
  15. class CGraphDrawerGA : public TBasicGA
  16. {
  17.  
  18. public:
  19.  
  20.     CGraphDrawerGA(CGAGraphDriver &driver) ;
  21.     void Report(uint gen) ;
  22.     void CreatePopulation(long size, PTIndividual prototype = NULL) ;
  23.     void ExitReport() ;
  24.  
  25. private:
  26.     BOOL Stop() ;
  27.     void InterGeneration(ulong, PTIndividual, PTIndividual, PTIndividual, PTIndividual) ;
  28.     
  29.     CGAGraphDriver & m_Driver ;
  30.     
  31. };
  32.  
  33. #endif
  34.