GPLIB++
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
GAClasses
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
;
23
int
generations
;
24
double
mutationprob
;
25
double
crossoverprob
;
26
std::string
gatype
;
27
int
annealinggeneration
;
28
bool
elitist
;
29
void
GetData
(std::ifstream &instream);
30
GAConf
();
31
virtual
~GAConf
();
32
};
33
34
}
35
36
#endif
/* GACONF_H_ */
gplib::GAConf::generations
int generations
Definition:
GAConf.h:23
gplib::GAConf::gatype
std::string gatype
Definition:
GAConf.h:26
gplib::GAConf::inittemp
double inittemp
Definition:
GAConf.h:21
gplib::GAConf::popsize
int popsize
Definition:
GAConf.h:20
gplib::GAConf::crossoverprob
double crossoverprob
Definition:
GAConf.h:25
gplib::GAConf::GetData
void GetData(std::ifstream &instream)
Definition:
GAConf.cpp:28
gplib::GAConf::annealinggeneration
int annealinggeneration
Definition:
GAConf.h:27
gplib::GAConf::~GAConf
virtual ~GAConf()
Definition:
GAConf.cpp:24
gplib::GAConf::coolingratio
double coolingratio
Definition:
GAConf.h:22
gplib::GAConf::GAConf
GAConf()
Definition:
GAConf.cpp:20
gplib::GAConf
Definition:
GAConf.h:17
gplib::GAConf::elitist
bool elitist
Definition:
GAConf.h:28
gplib::GAConf::mutationprob
double mutationprob
Definition:
GAConf.h:24
Generated on Wed May 25 2016 14:21:06 for GPLIB++ by
1.8.6