ECF 1.5
AlgRandomSearch.h
1#ifndef Random_Search_h
2#define Random_Search_h
3
4#include "Algorithm.h"
5
19class RandomSearch : public Algorithm
20{
21public:
23 bool advanceGeneration(StateP state, DemeP deme);
24 bool initialize(StateP state);
25 void registerParameters(StateP state);
26};
27typedef boost::shared_ptr<RandomSearch> RandomSearchP;
28
29#endif // Random_Search_h
Algorithm base class.
Definition: Algorithm.h:20
Random search algorithm.
void registerParameters(StateP state)
Register algorithm's parameters (if any).
bool advanceGeneration(StateP state, DemeP deme)
Perform a single generation on a single deme.
bool initialize(StateP state)
Initialize the algorithm, read parameters from the system, do a sanity check.