Exemple #1
0
 public void init
 (
     GARun ao_run,
     ref Wrapper ao_wrapper
 )
 {
     io_wrapper        = ao_wrapper;
     io_run            = ao_run;
     ii_recpergen      = ao_run.ii_recpergen;
     ii_path           = ao_run.ii_path;
     ii_poolsize       = ao_run.ii_poolsize;
     ii_generations    = ao_run.ii_generations;
     id_modifyprob     = ao_run.id_modifyprob;
     id_recomprob      = ao_run.id_recomprob;
     ien_selector      = ao_run.ien_selector;
     ien_recomb        = ao_run.ien_recomb;
     ien_random        = ao_run.ien_random;
     ii_elites         = ao_run.ii_elites;
     ii_ts_contestants = ao_run.ii_ts_contestants;
     ib_adaptivemut    = ao_run.ib_adaptivemut;
     ib_rog            = ao_run.ib_rog;
     ib_lrog           = ao_run.ib_lrog;
     ida_starttime     = new DateTime();
 }
Exemple #2
0
 public void init(
     GARun ao_run,
     ref Wrapper ao_wrapper
 )
 {
     io_wrapper = ao_wrapper;
     io_run = ao_run;
     ii_recpergen = ao_run.ii_recpergen;
     ii_path = ao_run.ii_path;
     ii_poolsize = ao_run.ii_poolsize;
     ii_generations = ao_run.ii_generations;
     id_modifyprob = ao_run.id_modifyprob;
     id_recomprob = ao_run.id_recomprob;
     ien_selector = ao_run.ien_selector;
     ien_recomb = ao_run.ien_recomb;
     ien_random = ao_run.ien_random;
     ii_elites = ao_run.ii_elites;
     ii_ts_contestants = ao_run.ii_ts_contestants;
     ib_adaptivemut = ao_run.ib_adaptivemut;
     ib_rog = ao_run.ib_rog;
     ib_lrog = ao_run.ib_lrog;
     ida_starttime = new DateTime();
 }