Learn R Programming

STPGA (version 2.0)

GenerateCrossesfromElites: Generate crosses from elites

Description

Given a list of elite training sets, list of candidates the function makes npop new solutions by using crossover and mutation operators.

Usage

GenerateCrossesfromElites(Elites, Candidates, npop, mutprob)

Arguments

Elites
a list of elite training sets
Candidates
a vector of identifiers of the individuals in the candidate set.
npop
number of training sets to generate.
mutprob
point mutation probability for each individual generated. Only one mutation per solution is allowed.

Value

A list of npop training sets.