GPLIB++
GAConf.h
Go to the documentation of this file.
1 //============================================================================
2 // Name : GAConf.h
3 // Author : Apr 7, 2010
4 // Version :
5 // Copyright : 2010, mmoorkamp
6 //============================================================================
7 
8 
9 #ifndef GACONF_H_
10 #define GACONF_H_
11 
12 #include <string>
13 
14 namespace gplib
15  {
16 
17  class GAConf
18  {
19  public:
20  int popsize;
21  double inittemp;
22  double coolingratio;
24  double mutationprob;
25  double crossoverprob;
26  std::string gatype;
28  bool elitist;
29  void GetData(std::ifstream &instream);
30  GAConf();
31  virtual ~GAConf();
32  };
33 
34  }
35 
36 #endif /* GACONF_H_ */
int generations
Definition: GAConf.h:23
std::string gatype
Definition: GAConf.h:26
double inittemp
Definition: GAConf.h:21
int popsize
Definition: GAConf.h:20
double crossoverprob
Definition: GAConf.h:25
void GetData(std::ifstream &instream)
Definition: GAConf.cpp:28
int annealinggeneration
Definition: GAConf.h:27
virtual ~GAConf()
Definition: GAConf.cpp:24
double coolingratio
Definition: GAConf.h:22
bool elitist
Definition: GAConf.h:28
double mutationprob
Definition: GAConf.h:24