A "no-operation" conversion function
pop_out = coding_ga_identity(pop_in,direction,param)
the population to be converted.
"code" or "decode". This value has no influence of the state of pop_in.
a parameter list. For this function, there are no useful parameters set.
a population identical to pop_in.
This function is a do-nothing function. It is essentially useful to implement an evolutionnary algorithm. In an evolutionnary algorithm, we work directly on the variable and not on a binary code.
pop_in = list(); pop_in(1) = 2; pop_out = coding_ga_identity(pop_in,'code',[]) pop_in_2 = coding_ga_identity(pop_out,'decode',[]) | ![]() | ![]() |