Vita
ga/search.h
Go to the documentation of this file.
1
13#if !defined(VITA_GA_SEARCH_H)
14#define VITA_GA_SEARCH_H
15
16#include "kernel/ga/evaluator.h"
17#include "kernel/ga/problem.h"
18#include "kernel/search.h"
19
20namespace vita
21{
30template<class T, template<class> class ES, class F>
31class basic_ga_search : public search<T, ES>
32{
33public:
34 basic_ga_search(problem &, F, penalty_func_t<T> = nullptr);
35
36protected:
37 void tune_parameters() override;
38};
39
40template<class F> using ga_search = basic_ga_search<i_ga, std_es, F>;
41template<class F> using de_search = basic_ga_search<i_de, de_es, F>;
42
43#include "kernel/ga/search.tcc"
44} // namespace vita
45
46#endif // include guard
Search driver for GAs.
Definition: ga/search.h:32
Aggregates the problem-related data needed by an evolutionary program.
Definition: problem.h:24
Search drives the evolution.
Definition: search.h:54
The main namespace for the project.