newgen                 package:seao                 R Documentation

_N_e_w _g_e_n_e_r_a_t_i_o_n

_D_e_s_c_r_i_p_t_i_o_n:

     Generates a new (random) generation of individuals (experiments)
     using an already defined genomestructure.

_U_s_a_g_e:

       newgen(struc.ea, n.ind=25, method="random")

_A_r_g_u_m_e_n_t_s:

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".

_V_a_l_u_e:

     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): 

          _f_i_t: a vector containing the fitnesses of all individuals
               (experimental set-ups).

          _a_l_l_e_l_e: a matrix containing the alleles (parameter values of
               all individuals (experimental set-ups). 

          _p_a_r_e_n_t_s: a string vector with the numbers of the parent
               generations (batches). For this function, this is set to
               a vector with values "-1" and the method used ("random"
               or "maxgenediv")

_N_o_t_e:

     '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'..

_A_u_t_h_o_r(_s):

     Kurt Sys (kurt.sys@rug.ac.be)

_R_e_f_e_r_e_n_c_e_s:

_S_e_e _A_l_s_o:

     genomestruc

_E_x_a_m_p_l_e_s:

