Structure holding all parameters affecting mutations of Program.
More...
#include <mutationParameters.h>
|
size_t | maxProgramSize = 96 |
| Maximum number of Line within the Program of the TPGGraph.
|
|
double | pDelete = 0.5 |
| Probability of deleting a line of the Program.
|
|
double | pAdd = 0.5 |
| Probability of inserting a line in the Program.
|
|
double | pMutate = 1.0 |
| Probability of altering a line of the Program.
|
|
double | pSwap = 1.0 |
| Probability of swapping two lines of the Program.
|
|
double | pConstantMutation = 0.5 |
| Probability of each constant to be mutated.
|
|
int32_t | minConstValue = -100 |
| Minimum constant value possible.
|
|
int32_t | maxConstValue = 100 |
| Maximum constant value possible.
|
|
Structure holding all parameters affecting mutations of Program.
◆ maxConstValueComment
const std::string Mutator::ProgramParameters::maxConstValueComment |
|
inlinestatic |
Initial value:=
"// Maximum constant value possible.\n"
"// \"maxConstValue\" : 100, // Default value"
JSon comment.
◆ maxProgramSizeComment
const std::string Mutator::ProgramParameters::maxProgramSizeComment |
|
inlinestatic |
Initial value:=
"// Maximum number of Line within the Program of the TPG.\n"
"// \"maxProgramSize\" : 96, // Default value"
JSon comment.
◆ minConstValueComment
const std::string Mutator::ProgramParameters::minConstValueComment |
|
inlinestatic |
Initial value:=
"// Minimum constant value possible.\n"
"// \"minConstValue\" : -10, // Default value"
JSon comment.
◆ pAddComment
const std::string Mutator::ProgramParameters::pAddComment |
|
inlinestatic |
Initial value:=
"// Probability of inserting a line in the Program.\n"
"// \"pAdd\" : 0.5, // Default value"
JSon comment.
◆ pConstantMutationComment
const std::string Mutator::ProgramParameters::pConstantMutationComment |
|
inlinestatic |
Initial value:=
"// Probability of each constant to be mutated.\n"
"// \"pConstantMutation\" : 0.5, // Default value"
JSon comment.
◆ pDeleteComment
const std::string Mutator::ProgramParameters::pDeleteComment |
|
inlinestatic |
Initial value:=
"// Probability of deleting a line of the Program.\n"
"// \"pDelete\" : 0.5, // Default value"
JSon comment.
◆ pMutateComment
const std::string Mutator::ProgramParameters::pMutateComment |
|
inlinestatic |
Initial value:=
"// Probability of altering a line of the Program.\n"
"// \"pMutate\" : 1.0, // Default value"
JSon comment.
◆ pSwapComment
const std::string Mutator::ProgramParameters::pSwapComment |
|
inlinestatic |
Initial value:=
"// Probability of swapping two lines of the Program.\n"
"// \"pSwap\" : 1.0, // Default value"
JSon comment.
The documentation for this struct was generated from the following file: