GEGELATI
Loading...
Searching...
No Matches
classificationSelector.h
1
2
3#ifndef CLASSIFICATION_SELECTOR_H
4#define CLASSIFICATION_SELECTOR_H
5
6#include "selector/selector.h"
7
8namespace Selector {
9
14 {
15 protected:
17 uint64_t nbActions;
18
19 public:
28 ClassificationSelector(std::shared_ptr<TPG::TPGGraph> graph,
30 uint64_t nbActions)
32 {
33 }
34
40 virtual std::shared_ptr<SelectionMetrics> createSelectionMetrics()
41 override;
42
70 virtual void doSelection(
71 std::multimap<std::shared_ptr<Learn::EvaluationResult>,
72 const TPG::TPGVertex*>& results,
73 Mutator::RNG& rng) override;
74 };
75}; // namespace Selector
76
77#endif // CLASSIFICATION_SELECTOR_H
Definition rng.h:52
Specialization of the selection class for classification purposes.
Definition classificationSelector.h:14
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:12
ClassificationSelector(std::shared_ptr< TPG::TPGGraph > graph, const Learn::LearningParameters &params, uint64_t nbActions)
Constructor for ClassificationSelector.
Definition classificationSelector.h:28
uint64_t nbActions
Number of actions in the LearningEnvironment.
Definition classificationSelector.h:17
virtual std::shared_ptr< SelectionMetrics > createSelectionMetrics() override
Definition classificationSelector.cpp:7
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
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