GPLIB++
SurfInvGaConf.h
Go to the documentation of this file.
1  #include <string>
2  #include "SurfInvGaConfParser.hpp"
3  #include "SurfInvGaConfLexer.hpp"
4 
5  class SurfInvGaConf{
6 public:
7 void GetData(std::ifstream &instream);
8 void GetData(std::string filename);
9 void WriteData(std::ofstream &outstream);
10 void WriteData(std::string filename);
11 bool verbose;
13 std::string vrefmodel;
14 std::string backgroundmodel;
16 int popsize;
17 double inittemp;
18 double coolingratio;
20 double mutationprob;
22 double poisson;
23 int threads;
24 double errorlevel;
25 std::string gatype;
26 std::string outputbase;
27 std::string inputdata;
29 bool elitist;
30 std::vector< double > thickbase;
31 std::vector< double > thickstep;
32 std::vector< int > thicksizes;
33 std::vector< double > svelbase;
34 std::vector< double > svelstep;
35 std::vector< int > svelsizes;
36 std::vector< double > weights;
37 SurfInvGaConf(std::string filename){GetData(filename);}
39 };
std::string outputbase
Definition: SurfInvGaConf.h:26
std::string vrefmodel
Definition: SurfInvGaConf.h:13
std::vector< double > svelbase
Definition: SurfInvGaConf.h:33
std::vector< double > weights
Definition: SurfInvGaConf.h:36
double coolingratio
Definition: SurfInvGaConf.h:18
void GetData(std::ifstream &instream)
std::string inputdata
Definition: SurfInvGaConf.h:27
double crossoverprob
Definition: SurfInvGaConf.h:21
double mutationprob
Definition: SurfInvGaConf.h:20
std::vector< double > thickbase
Definition: SurfInvGaConf.h:30
double errorlevel
Definition: SurfInvGaConf.h:24
void WriteData(std::ofstream &outstream)
std::vector< double > svelstep
Definition: SurfInvGaConf.h:34
SurfInvGaConf(std::string filename)
Definition: SurfInvGaConf.h:37
std::string backgroundmodel
Definition: SurfInvGaConf.h:14
std::string gatype
Definition: SurfInvGaConf.h:25
std::vector< double > thickstep
Definition: SurfInvGaConf.h:31
std::vector< int > svelsizes
Definition: SurfInvGaConf.h:35
std::vector< int > thicksizes
Definition: SurfInvGaConf.h:32
int annealinggeneration
Definition: SurfInvGaConf.h:28