makePopulation
creates a population of untyped individuals, whereas
makeTypedPopulation
creates a population of typed individuals.
fastMakePopulation
is a faster variant of makePopulation
with
fewer options.
print.population
prints the population.
summary.population
returns a summary view of a population.
makePopulation(size, funcset, inset, conset, maxfuncdepth = 8, constprob = 0.2, breedingFitness = function(individual) TRUE, breedingTries = 50, extinctionPrevention = FALSE, funcfactory = NULL)
fastMakePopulation(size, funcset, inset, maxfuncdepth, constMin, constMax)
makeTypedPopulation(size, type, funcset, inset, conset, maxfuncdepth = 8, constprob = 0.2, breedingFitness = function(individual) TRUE, breedingTries = 50, extinctionPrevention = FALSE, funcfactory = NULL)
"print"(x, ...)
"summary"(object, ...)
fastMakePopulation
, the minimum constant to create.fastMakePopulation
, the maximum constant to create.0.2
.geneticProgramming
for details.TRUE
, initialization will try
to prevent duplicate individuals from occurring in the population. Defaults to FALSE
, as
this operation might be expensive with larger population sizes.