individualFactory. The breedingFitness must be a function of domain
logical (a single boolean value) or numeric (a single real number). In case of
a boolean breeding function, candidate individuals are created via the
individualFactory function and tested by the breedingFitness predicate
until the breedingFitness predicate is TRUE or breedingTries tries
were done, in which case the last individual created and tested is returned. In case
of a numerical breeding function, breedingTries individuals are created and
evaluated by the breedingFitness function. The individual with the minimal
breeding fitness is returned.
breed(individualFactory, breedingFitness, breedingTries, warnOnFailure = TRUE, stopOnFailure = FALSE)breedingFitness function, the actual number of breeding
steps performed may be lower then this number (see the details).breedingFitness
predicate was not fulfilled after breedingTries tries.breedingFitness predicate was not fulfilled after breedingTries tries.