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.
|
| |
|
size_t | initMinProgramSize = 1 |
| | Initial minimum number of Line within the Program of the TPGGraph.
|
| |
|
size_t | initMaxProgramSize = 10 |
| | Initial 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.
|
| |
|
double | pNewProgram = 0.0 |
| | Probability of creating a new program.
|
| |
|
double | minConstValue = -1.0 |
| | Minimum constant value possible.
|
| |
|
double | maxConstValue = 1.0 |
| | Maximum constant value possible.
|
| |
Structure holding all parameters affecting mutations of Program.
◆ initMaxProgramSizeComment
| const std::string Mutator::ProgramParameters::initMaxProgramSizeComment |
|
inlinestatic |
Initial value:=
"// Initial maximum number of Line within the Program of the "
"TPGGraph.\n"
"// \"initMaxProgramSize\" : 10, // Default value"
JSon comment.
◆ initMinProgramSizeComment
| const std::string Mutator::ProgramParameters::initMinProgramSizeComment |
|
inlinestatic |
Initial value:=
"// Initial minimum number of Line within the Program of the "
"TPGGraph.\n"
"// \"initMinProgramSize\" : 1, // Default value"
JSon comment.
◆ maxConstValueComment
| const std::string Mutator::ProgramParameters::maxConstValueComment |
|
inlinestatic |
Initial value:=
"// Maximum constant value possible.\n"
"// \"maxConstValue\" : 1.0, // 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\" : -1.0, // 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.
◆ pNewProgramComment
| const std::string Mutator::ProgramParameters::pNewProgramComment |
|
inlinestatic |
Initial value:=
"// Probability of creating a new program.\n"
"// \"pNewProgram\" : 0.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: