00001 #include <string> 00002 #include "C1dInvGaConfParser.hpp" 00003 #include "C1dInvGaConfLexer.hpp" 00004 00005 class C1dInvGaConf{ 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 int mtfitexponent; 00015 int recfitexponent; 00016 int surffitexponent; 00017 int popsize; 00018 double inittemp; 00019 double coolingratio; 00020 int generations; 00021 double mutationprob; 00022 double crossoverprob; 00023 double poisson; 00024 int threads; 00025 double starttime; 00026 double endtime; 00027 double tensorerror; 00028 double reserror; 00029 double phaseerror; 00030 double surferror; 00031 std::string recinfofile; 00032 std::string recmethod; 00033 bool normrec; 00034 std::string gatype; 00035 std::string outputbase; 00036 std::string mode; 00037 std::string mtfit; 00038 std::string mtinputdata; 00039 std::string dispdata; 00040 int annealinggeneration; 00041 bool elitist; 00042 std::vector< double > thickbase; 00043 std::vector< double > thickstep; 00044 std::vector< int > thicksizes; 00045 std::vector< double > resbase; 00046 std::vector< double > resstep; 00047 std::vector< int > ressizes; 00048 std::vector< double > svelbase; 00049 std::vector< double > svelstep; 00050 std::vector< int > svelsizes; 00051 std::vector< double > weights; 00052 C1dInvGaConf(std::string filename){GetData(filename);} 00053 C1dInvGaConf(){} 00054 };
1.5.8