00001 // --------------------------------------------------------------------- 00002 // $Id: Split.h 230 2008-08-14 01:45:04Z daaugusto $ 00003 // 00004 // Split.h (created on Fri Aug 4 12:59:27 BRT 2006) 00005 // 00006 // Genetic Algorithm File Fitter (gaffitter) 00007 // 00008 // Copyright (C) 2005-2008 Douglas A. Augusto 00009 // 00010 // This file is part of gaffitter. 00011 // 00012 // gaffitter is free software; you can redistribute it and/or modify it 00013 // under the terms of the GNU General Public License as published by the 00014 // Free Software Foundation; either version 3 of the License, or (at 00015 // your option) any later version. 00016 // 00017 // gaffitter is distributed in the hope that it will be useful, but 00018 // WITHOUT ANY WARRANTY; without even the implied warranty of 00019 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00020 // General Public License for more details. 00021 // 00022 // You should have received a copy of the GNU General Public License 00023 // along with gaffitter; if not, see <http://www.gnu.org/licenses/>. 00024 // 00025 // --------------------------------------------------------------------- 00026 00027 #ifndef Split_hh 00028 #define Split_hh 00029 00030 #include "../Optimizer.h" 00031 00032 // --------------------------------------------------------------------- 00036 class Split: public Optimizer { 00037 public: 00041 Split( Input& i ): Optimizer( i ) {} 00042 00043 ~Split() { delete m_solution; } 00048 void Evolve(); 00049 00050 protected: 00055 std::ostream& Write( std::ostream& ) const; 00056 }; 00057 00058 // --------------------------------------------------------------------- 00059 00060 #endif