00001 #include <string> 00002 #include "SurfInvGaConfParser.hpp" 00003 #include "SurfInvGaConfLexer.hpp" 00004 00005 class SurfInvGaConf{ 00006 public: 00007 void GetData(std::ifstream &instream); 00008 void GetData(std::string filename); 00009 void WriteData(std::ofstream &outstream); 00010 void WriteData(std::string filename); 00011 bool verbose; 00012 bool usevrefmodel; 00013 std::string vrefmodel; 00014 std::string backgroundmodel; 00015 int fitexponent; 00016 int popsize; 00017 double inittemp; 00018 double coolingratio; 00019 int generations; 00020 double mutationprob; 00021 double crossoverprob; 00022 double poisson; 00023 int threads; 00024 double errorlevel; 00025 std::string gatype; 00026 std::string outputbase; 00027 std::string inputdata; 00028 int annealinggeneration; 00029 bool elitist; 00030 std::vector< double > thickbase; 00031 std::vector< double > thickstep; 00032 std::vector< int > thicksizes; 00033 std::vector< double > svelbase; 00034 std::vector< double > svelstep; 00035 std::vector< int > svelsizes; 00036 std::vector< double > weights; 00037 SurfInvGaConf(std::string filename){GetData(filename);} 00038 SurfInvGaConf(){} 00039 };
1.5.8