GEGELATI
Loading...
Searching...
No Matches
truncationSelector.h
1
2
3#ifndef TRUNCATION_SELECTOR_H
4#define TRUNCATION_SELECTOR_H
5
6#include "selector/selector.h"
7
8namespace Selector {
9
15 {
16 public:
24 TruncationSelector(std::shared_ptr<TPG::TPGGraph> graph,
27 {
28 }
29
40 virtual void doSelection(
41 std::multimap<std::shared_ptr<Learn::EvaluationResult>,
42 const TPG::TPGVertex*>& results,
43 Mutator::RNG& rng) override;
44 };
45}; // namespace Selector
46
47#endif // TRUNCATION_SELECTOR_H
Definition rng.h:52
const Learn::LearningParameters & params
Parameters for the selection.
Definition selector.h:26
std::shared_ptr< TPG::TPGGraph > graph
TPGGraph on which the TPGVertex can be selected or deleted.
Definition selector.h:23
Selection class that will do a selection with a truncation. This is the classic selection methods use...
Definition truncationSelector.h:15
virtual void doSelection(std::multimap< std::shared_ptr< Learn::EvaluationResult >, const TPG::TPGVertex * > &results, Mutator::RNG &rng) override
override of doSelection method
Definition truncationSelector.cpp:5
TruncationSelector(std::shared_ptr< TPG::TPGGraph > graph, const Learn::LearningParameters &params)
Constructor for Selector.
Definition truncationSelector.h:24
Abstract class representing the vertices of a TPGGraph.
Definition tpgVertex.h:55
Definition mapElitesArchiveLogger.h:45
Structure for simplifying the transmission of LearningParameters to functions.
Definition learningParameters.h:55