Description Usage Arguments Value
View source: R/search_heuristics.r
The search-heuristic, i.e. the concrete GP search algorithm, is a modular component of RGP.
makeAgeFitnessComplexityParetoGpSearchHeuristic
creates a RGP search-heuristic that implements
a generational evolutionary multi objective optimization algorithm (EMOA) that selects on three criteria:
Individual age, individual fitness, and individual complexity.
1 2 3 4 5 6 7 | makeAgeFitnessComplexityParetoGpSearchHeuristic(lambda = 50,
crossoverProbability = 0.5, enableComplexityCriterion = TRUE,
enableAgeCriterion = FALSE, ndsParentSelectionProbability = 0,
ndsSelectionFunction = nds_cd_selection, complexityMeasure = function(ind,
fitness) fastFuncVisitationLength(ind), ageMergeFunction = max,
newIndividualsPerGeneration = if (enableAgeCriterion) 50 else 0,
newIndividualsMaxDepth = 8, newIndividualFactory = makePopulation)
|
lambda |
The number of children to create in each generation ( |
crossoverProbability |
The crossover probability for search-heuristics that support
this setting (i.e. TinyGP). Defaults to |
enableComplexityCriterion |
Whether to enable the complexity criterion in multi-criterial search heuristics. |
enableAgeCriterion |
Whether to enable the age criterion in multi-criterial search heuristics. |
ndsParentSelectionProbability |
The probability to use non-dominated sorting to select parents
for each generation. When set to |
ndsSelectionFunction |
The function to use for non-dominated sorting in Pareto GP selection.
Defaults to |
complexityMeasure |
The complexity measure, a function of signature |
ageMergeFunction |
The function used for merging ages of crossover children, defaults
to |
newIndividualsPerGeneration |
The number of new individuals per generation to
insert into the population. Defaults to |
newIndividualsMaxDepth |
The maximum depth of new individuals inserted into the population. |
newIndividualFactory |
The factory function for creating new individuals. Defaults
to |
An RGP search heuristic.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.