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 cc; 00024 double poisson; 00025 int threads; 00026 double starttime; 00027 double endtime; 00028 double tensorerror; 00029 double reserror; 00030 double phaseerror; 00031 double surferror; 00032 std::string recinfofile; 00033 std::string recmethod; 00034 std::string gatype; 00035 std::string outputbase; 00036 std::string mode; 00037 std::string mtfit; 00038 std::string mtinputdata; 00039 std::string rfabsveldata; 00040 std::string dispdata; 00041 int annealinggeneration; 00042 bool elitist; 00043 std::vector< double > thickbase; 00044 std::vector< double > thickstep; 00045 std::vector< int > thicksizes; 00046 std::vector< double > resbase; 00047 std::vector< double > resstep; 00048 std::vector< int > ressizes; 00049 std::vector< double > svelbase; 00050 std::vector< double > svelstep; 00051 std::vector< int > svelsizes; 00052 std::vector< double > weights; 00053 double recweight; 00054 double absvelweight; 00055 C1dInvGaConf(std::string filename){GetData(filename);} 00056 C1dInvGaConf(){} 00057 };
1.5.5