Structure holding all parameters affecting mutations of TPGGraph.
More...
#include <mutationParameters.h>
|
size_t | nbActions = 0 |
| Number of TPGAction vertex of the initialized TPGGraph.
|
|
size_t | nbRoots = 100 |
| Number of root TPGTeams to maintain when populating the TPGGraph.
|
|
size_t | maxInitOutgoingEdges = 3 |
|
size_t | maxOutgoingEdges = 5 |
| Maximum number of outgoing edge during TPGGraph mutations.
|
|
double | pEdgeDeletion = 0.7 |
| Probability of deleting an outgoing TPGEdge of a TPGTeam.
|
|
double | pEdgeAddition = 0.7 |
| Probability of adding an outgoing TPGEdge to a TPGTeam.
|
|
double | pProgramMutation = 0.2 |
| Probability of mutating the Program of an outgoing TPGEdge.
|
|
bool | forceProgramBehaviorChangeOnMutation = false |
|
double | pEdgeDestinationChange = 0.1 |
| Probability of changing the destination of a TPGEdge.
|
|
double | pEdgeDestinationIsAction = 0.5 |
| Probability of the new destination of a TPGEdge to be a TPGAction.
|
|
Structure holding all parameters affecting mutations of TPGGraph.
◆ forceProgramBehaviorChangeOnMutation
bool Mutator::TPGParameters::forceProgramBehaviorChangeOnMutation = false |
When a Program is mutated, makes sure its behavior is no longer the same. (This possibility does not exists in Kelly's work, where only the archive is used for this purpose, which is far from 100% accurate.)
◆ forceProgramBehaviorChangeOnMutationComment
const std::string Mutator::TPGParameters::forceProgramBehaviorChangeOnMutationComment |
|
inlinestatic |
Initial value:=
"// When a Program is mutated, makes sure its behavior is no "
"longer the same.\n"
"// \"forceProgramBehaviorChangeOnMutation\" : false, // "
"Default value"
JSon comment.
◆ maxInitOutgoingEdges
size_t Mutator::TPGParameters::maxInitOutgoingEdges = 3 |
Maximum number of TPGEdge connected to each TPGTeam of the TPGGraph when initialized.
◆ maxInitOutgoingEdgesComment
const std::string Mutator::TPGParameters::maxInitOutgoingEdgesComment |
|
inlinestatic |
Initial value:=
"// Maximum number of TPGEdge connected to each TPGTeam of the "
"TPGGraph when\n"
"// initialized.\n"
"// \"maxInitOutgoingEdges\" : 3, // Default value"
JSon comment.
◆ maxOutgoingEdgesComment
const std::string Mutator::TPGParameters::maxOutgoingEdgesComment |
|
inlinestatic |
Initial value:=
"// Maximum number of outgoing edge during TPGGraph mutations.\n"
"// \"maxOutgoingEdges\" : 5, // Default value"
JSon comment.
◆ nbActionsComment
const std::string Mutator::TPGParameters::nbActionsComment |
|
inlinestatic |
Initial value:=
"// Number of TPGAction vertex of the initialized TPGGraph.\n"
"// This parameter is generally automatically set by the "
"LearningEnvironment.\n"
"// /* \"nbActions\" : 0,*/ // Commented by default"
JSon comment.
◆ nbRootsComment
const std::string Mutator::TPGParameters::nbRootsComment |
|
inlinestatic |
Initial value:=
"// Number of root TPGTeams to maintain when populating the "
"TPGGraph\n"
"// \"nbRoots\" : 100, // Default value"
JSon comment.
◆ pEdgeAdditionComment
const std::string Mutator::TPGParameters::pEdgeAdditionComment |
|
inlinestatic |
Initial value:=
"// Probability of adding an outgoing Edge to a Team.\n"
"// \"pEdgeAddition\" : 0.7, // Default value"
JSon comment.
◆ pEdgeDeletionComment
const std::string Mutator::TPGParameters::pEdgeDeletionComment |
|
inlinestatic |
Initial value:=
"// Probability of deleting an outgoing Edge of a Team.\n"
"// \"pEdgeDeletion\" : 0.7, // Default value"
JSon comment.
◆ pEdgeDestinationChangeComment
const std::string Mutator::TPGParameters::pEdgeDestinationChangeComment |
|
inlinestatic |
Initial value:=
"// Probability of changing the destination of an Edge.\n"
"// \"pEdgeDestinationChange\" : 0.1, // Default value"
JSon comment.
◆ pEdgeDestinationIsActionComment
const std::string Mutator::TPGParameters::pEdgeDestinationIsActionComment |
|
inlinestatic |
Initial value:=
"// Probability of the new destination of an Edge to be an "
"Action.\n"
"// \"pEdgeDestinationIsAction\" : 0.5, // Default value"
JSon comment.
◆ pProgramMutationComment
const std::string Mutator::TPGParameters::pProgramMutationComment |
|
inlinestatic |
Initial value:=
"// Probability of mutating the Program of an outgoing Edge.\n"
"// \"pProgramMutation\" : 0.2, // Default value"
JSon comment.
The documentation for this struct was generated from the following file: