GEGELATI

Loading...
Searching...
No Matches
selectionContext.h
1
2
3#ifndef SELECTION_CONTEXT_H
4#define SELECTION_CONTEXT_H
5
6#include "tpg/tpgGraph.h"
7
8 namespace Selector {
9
16 struct SelectionContext
17 {
20 std::vector<const TPG::TPGTeam*> teamsClonable;
21
24 std::vector<const TPG::TPGAction*> actionsClonable;
25
28 std::vector<const TPG::TPGTeam*> preExistingTeams;
29
32 std::vector<const TPG::TPGAction*> preExistingActions;
33
36 std::list<const TPG::TPGEdge*> preExistingEdges;
37
39 uint64_t nbTeamsToCreate;
40
42 uint64_t nbActionsToCreate;
43 };
44}; // namespace Selector
45
46#endif // SELECTION_CONTEXT_H
Selector
Definition mapElitesArchiveLogger.h:45
Selector::SelectionContext
Structure to interface between the selector and the TPGMutator.
Definition selectionContext.h:17
Selector::SelectionContext::preExistingActions
std::vector< const TPG::TPGAction * > preExistingActions
vector of pointers of const TPGAction that can be new destination for the new roots created by the TP...
Definition selectionContext.h:32
Selector::SelectionContext::teamsClonable
std::vector< const TPG::TPGTeam * > teamsClonable
vector of pointers of const TPGTeam that are clonable by the TPGMutator to fill the new population.
Definition selectionContext.h:20
Selector::SelectionContext::preExistingTeams
std::vector< const TPG::TPGTeam * > preExistingTeams
vector of pointers of const TPGTeams that can be new destination for the new roots created by the TPG...
Definition selectionContext.h:28
Selector::SelectionContext::preExistingEdges
std::list< const TPG::TPGEdge * > preExistingEdges
list of pointers of const TPGEdges that can be used during the mutation process of the TPGMutator
Definition selectionContext.h:36
Selector::SelectionContext::nbTeamsToCreate
uint64_t nbTeamsToCreate
number of TPGTeams to be created by the TPGMutator
Definition selectionContext.h:39
Selector::SelectionContext::nbActionsToCreate
uint64_t nbActionsToCreate
number of TPGActions to be created by the TPGMutator
Definition selectionContext.h:42
Selector::SelectionContext::actionsClonable
std::vector< const TPG::TPGAction * > actionsClonable
vector of pointers of const TPGAction that are clonable by the TPGMutator to fill the new population.
Definition selectionContext.h:24