2#include "AlgRandomSearch.h"
6RandomSearch :: RandomSearch()
8 name_ =
"RandomSearch";
26 for(uint i = 0; i < deme->size(); i++) {
27 deme->at(i)->initialize(state);
std::string name_
algorithm name
void evaluate(IndividualP ind)
Helper function: evaluate an individual.
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.