crossover                package:seao                R Documentation

_P_e_r_f_o_r_m _c_r_o_s_s_o_v_e_r

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

     The parameter values are recombined to make new batches. The rate
     can be set, as well as the generation on which this recombination
     should happen.

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

       crossover(struc.ea, gen=NULL, rate=90)

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

struc.ea: An evolutionary algorithm structure

     gen: The number of the generation (batch) for which the parents
          have to be chosen. The standard value is the last generation.

    rate: The parameter value recombination rate, i.e. the percentage
          individuals which should be recombined.

_D_e_t_a_i_l_s:

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

     The function returns an evolutionary algorithm object, which is
     actually the same as the input argument 'struc.ea', but in which
     the a generation is transformed: 

   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: 

          _f_i_t: a vector containing the fitnesses of all individuals.
               These values are all set to NA, since the fitnesses of
               the new individuals are not known yet.

          _a_l_l_e_l_e: a matrix containing the allele-values of all
               individuals (experimental set-ups) of the generation
               (batch); these values are recombined paramter values. 

          _p_a_r_e_n_t_s: a string vector with the numbers of the parent
               generations.

          _s_e_l_e_c_t_i_o_n: a list containing the selection base and
               rescaling.

          _c_r_o_s_s_o_v_e_r: the crossover rate; this value is added.

_N_o_t_e:

     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)

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

     genomestruc, newgen, chooseparents, selectparents

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

