56 std::shared_ptr<TPG::TPGGraph>
graph;
64 std::shared_ptr<Learn::EvaluationResult>>
65 bestRoot{
nullptr,
nullptr};
81 std::shared_ptr<Learn::EvaluationResult>>
105 : graph{graph}, params{params}
120 virtual void launchSelection(
121 std::multimap<std::shared_ptr<Learn::EvaluationResult>,
138 virtual void doSelection(
139 std::multimap<std::shared_ptr<Learn::EvaluationResult>,
149 virtual std::shared_ptr<SelectionMetrics> createSelectionMetrics();
157 virtual void keepBestPolicy();
179 virtual void updateEvaluationRecords(
180 const std::multimap<std::shared_ptr<Learn::EvaluationResult>,
188 virtual void updateResultsPerRoot(
189 const std::multimap<std::shared_ptr<Learn::EvaluationResult>,
212 virtual void updateBestRoot(
213 const std::multimap<std::shared_ptr<Learn::EvaluationResult>,
225 std::shared_ptr<Learn::EvaluationResult>>&
233 virtual std::shared_ptr<TPG::TPGGraph> getGraph();
243 virtual void forgetPreviousResults();
249 std::shared_ptr<Learn::EvaluationResult>>&
250 getResultsPerRoot()
const;
Selector(std::shared_ptr< TPG::TPGGraph > graph, const Learn::LearningParameters ¶ms)
Constructor for Selector.
Definition selector.h:103
Structure to interface between the selector and the TPGMutator.
Definition selectionContext.h:50