Ultra 0.9.4
Loading...
Searching...
No Matches
ga/search.tcc
Go to the documentation of this file.
1
12
13#if !defined(ULTRA_GA_SEARCH_H)
14# error "Don't include this file directly, include the specific .h instead"
15#endif
16
17#if !defined(ULTRA_GA_SEARCH_TCC)
18#define ULTRA_GA_SEARCH_TCC
19
28template<Evaluator E>
29search<E>::search(ultra::problem &prob, E eva)
30 : ultra::basic_search<alps_es, E>(prob, eva)
31{
32}
33
37template<Evaluator E>
38void search<E>::tune_parameters()
39{
41
42 if (this->prob_.params.population.min_individuals < 10)
43 this->prob_.params.population.min_individuals = 10;
44
45 Ensures(this->prob_.params.is_valid(true));
46}
47
48#endif // include guard
virtual void tune_parameters()
Definition gp/src/search.tcc:161
Definition problem.h:26