5 #ifndef DIGNEA_SEARCH_H
6 #define DIGNEA_SEARCH_H
8 #include <dignea/core/Front.h>
9 #include <dignea/core/Problem.h>
10 #include <dignea/core/Solution.h>
28 virtual ~
Search() =
default;
34 virtual vector<S>
run(vector<S> &population,
const Problem<S> *prob) = 0;
Front class which stores the final results of an EA execution.
Definition: Front.h:26
Class to represent a Problem in the tool. It includes the basic information for a problem a few metho...
Definition: Problem.h:29
Search algorithm interface for dignea. Use this class as the skeleton to define local or other types ...
Definition: Search.h:23
virtual vector< S > run(vector< S > &population, const Problem< S > *prob)=0
Perform a search over a population.
virtual Front< S > getResults()=0
Returns a Front of solutions. Use this method for searches that must keep track of solutions or run s...
Search()=default
Constructs a default Search.