GEGELATI
Loading...
Searching...
No Matches
classificationSelector.h
1
36#ifndef CLASSIFICATION_SELECTOR_H
37#define CLASSIFICATION_SELECTOR_H
38
39#include "selector/selector.h"
40
41namespace Selector {
42
47 {
48 protected:
50 uint64_t nbActions;
51
52 public:
61 ClassificationSelector(std::shared_ptr<TPG::TPGGraph> graph,
63 uint64_t nbActions)
65 {
66 }
67
73 virtual std::shared_ptr<SelectionMetrics> createSelectionMetrics()
74 override;
75
103 virtual void doSelection(
104 std::multimap<std::shared_ptr<Learn::EvaluationResult>,
105 const TPG::TPGVertex*>& results,
106 Mutator::RNG& rng) override;
107 };
108}; // namespace Selector
109
110#endif // CLASSIFICATION_SELECTOR_H
Definition rng.h:52
Specialization of the selection class for classification purposes.
Definition classificationSelector.h:47
virtual void doSelection(std::multimap< std::shared_ptr< Learn::EvaluationResult >, const TPG::TPGVertex * > &results, Mutator::RNG &rng) override
Specialization of the doSelection method for classification purposes.
Definition classificationSelector.cpp:45
ClassificationSelector(std::shared_ptr< TPG::TPGGraph > graph, const Learn::LearningParameters &params, uint64_t nbActions)
Constructor for ClassificationSelector.
Definition classificationSelector.h:61
uint64_t nbActions
Number of actions in the LearningEnvironment.
Definition classificationSelector.h:50
virtual std::shared_ptr< SelectionMetrics > createSelectionMetrics() override
Definition classificationSelector.cpp:40
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
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