00001 /*************************************************************************** 00002 genomehandler.h - description 00003 ------------------- 00004 begin : Mon Dec 10 2001 00005 copyright : (C) 2001 by Rudiger Koch 00006 email : rkoch@rkoch.org 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #ifndef GENOMEHANDLER_H 00019 #define GENOMEHANDLER_H 00020 00021 using namespace std; 00022 #include <string> 00023 00036 class GenomeHandler { 00037 public: 00038 GenomeHandler(); 00039 virtual ~GenomeHandler(); 00040 00043 virtual void gene(string gene) = 0; 00044 00047 virtual void startChromosome(int geneLength, int genes) = 0; 00052 virtual void finish() = 0; 00053 }; 00054 00055 #endif