GEGELATI
Loading...
Searching...
No Matches
truncationSelector.h
1
36#ifndef TRUNCATION_SELECTOR_H
37#define TRUNCATION_SELECTOR_H
38
39#include "selector/selector.h"
40
41namespace Selector {
42
48 {
49 public:
57 TruncationSelector(std::shared_ptr<TPG::TPGGraph> graph,
60 {
61 }
62
73 virtual void doSelection(
74 std::multimap<std::shared_ptr<Learn::EvaluationResult>,
75 const TPG::TPGVertex*>& results,
76 Mutator::RNG& rng) override;
77 };
78}; // namespace Selector
79
80#endif // TRUNCATION_SELECTOR_H
Definition rng.h:52
const Learn::LearningParameters & params
Parameters for the selection.
Definition selector.h:59
std::shared_ptr< TPG::TPGGraph > graph
TPGGraph on which the TPGVertex can be selected or deleted.
Definition selector.h:56
Selection class that will do a selection with a truncation. This is the classic selection methods use...
Definition truncationSelector.h:48
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:38
TruncationSelector(std::shared_ptr< TPG::TPGGraph > graph, const Learn::LearningParameters &params)
Constructor for Selector.
Definition truncationSelector.h:57
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:56