23 std::shared_ptr<TPG::TPGGraph>
graph;
31 std::shared_ptr<Learn::EvaluationResult>>
32 bestRoot{
nullptr,
nullptr};
48 std::shared_ptr<Learn::EvaluationResult>>
72 : graph{graph}, params{params}
87 virtual void launchSelection(
88 std::multimap<std::shared_ptr<Learn::EvaluationResult>,
105 virtual void doSelection(
106 std::multimap<std::shared_ptr<Learn::EvaluationResult>,
116 virtual std::shared_ptr<SelectionMetrics> createSelectionMetrics();
124 virtual void keepBestPolicy();
146 virtual void updateEvaluationRecords(
147 const std::multimap<std::shared_ptr<Learn::EvaluationResult>,
155 virtual void updateResultsPerRoot(
156 const std::multimap<std::shared_ptr<Learn::EvaluationResult>,
179 virtual void updateBestRoot(
180 const std::multimap<std::shared_ptr<Learn::EvaluationResult>,
192 std::shared_ptr<Learn::EvaluationResult>>&
200 virtual std::shared_ptr<TPG::TPGGraph> getGraph();
210 virtual void forgetPreviousResults();
216 std::shared_ptr<Learn::EvaluationResult>>&
217 getResultsPerRoot()
const;
Structure to interface between the selector and the TPGMutator.
Definition selectionContext.h:17