Please note that the recommended version of Scilab is 2023.1.0. This page might be outdated.
See the recommended documentation of this function
A function which performs conversion between binary and continuous representation
pop_out = coding_ga_binary(pop_in,direction,param)
a list which contains all the individuals in the current population.
'code' or 'decode'. If direction == 'code' then we perform a continuous to binary encoding. Else, we convert from binary to continuous.
a parameter list.
'binary_length': the number of bits by variables. If binary_length = 8 and the variable X is of dimension 2 then the binary code will be 16 bits length.
'minboun': a vector of minimum bounds for the variable X.
'maxbound': a vector of maximum bounds for the variable X.
the population coded to binary or decoded to continuous values.
This function allows to code or decode a population of individuals from (resp. to) continuous variables to (resp. from) binary.
- optim_ga — A flexible genetic algorithm
- mutation_ga_binary — A function which performs binary mutation
- crossover_ga_binary — A crossover function for binary code
|Report an issue|
|<< Utilities||Utilities||coding_ga_identity >>|