| de-class {GA} | R Documentation |
Class "de"
Description
An S4 class for differential evolution algorithm
Objects from the Class
Objects can be created by calls to the de function.
Slots
callan object of class
"call"representing the matched call;typea character string specifying the type of genetic algorithm used;
lowera vector providing for each decision variable the lower bounds of the search space in case of real-valued or permutation encoded optimisations. Formerly this slot was named
min;uppera vector providing for each decision variable the upper bounds of the search space in case of real-valued or permutation encoded optimizations. Formerly this slot was named
max;namesa vector of character strings providing the names of decision variables (optional);
popSizethe population size;
iterthe actual (or final) iteration of DE search;
runthe number of consecutive generations without any improvement in the best fitness value before the DE is stopped;
maxiterthe maximum number of iterations to run before the DE search is halted;
suggestionsa matrix of user provided solutions and included in the initial population;
populationthe current (or final) population;
elitismthe number of best fitness individuals to survive at each generation;
stepsizethe stepsize or weighting factor;
pcrossoverthe crossover probability;
pmutationthe mutation probability;
optima logical specifying whether or not a local search using general-purpose optimisation algorithms should be used;
fitnessthe values of fitness function for the current (or final) population;
summarya matrix of summary statistics for fitness values at each iteration (along the rows);
bestSolif
keepBest = TRUE, the best solutions at each iteration;fitnessValuethe best fitness value at the final iteration;
solutionthe value(s) of the decision variables giving the best fitness at the final iteration.
Author(s)
Luca Scrucca
See Also
For examples of usage see de.