newgen {seao} | R Documentation |
Generates a new (random) generation of individuals (experiments) using an already defined genomestructure.
newgen(struc.ea, n.ind=25, method="random")
struc.ea |
An evolutionary algorithm structure. It must contain
at least $genes , which is a list describing the structure of
the genome (parameter set). |
n.ind |
The number of individuals one wants to generate. Default value is set to 25. |
method |
This describes the method that must be used the make a
(random) generation (batch). There are two possibilities,
i.e. random , for pure random allele (parameter value)
generation and maxgenediv , in which case the diversity per
gene is maximised. The default value is "random". |
The function returns an evolutionary algorithm object:
genes |
a list containing the genome (parameter set)
stucture. This is the same as the genome (parameter set) structure
of in the input (struc.ea$genes ). |
generations |
a list of structures with information of each
generation (batch):
|
newgen
is the actual function that calculates the (random)
alleles of a new generation. However, if package seao.gui
is
also loaded, a graphical interface can be called by
newgen.gui
. The return value of both functions is exactly the
same, since the former is called by the latter.
As for all functions in this package, evolutionary terminology is used
as described in seao.terminology
..
Kurt Sys (kurt.sys@rug.ac.be)