Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
crossover_ga_binary
A crossover function for binary code
Calling Sequence
[Crossed_Indiv1,Crossed_Indiv2] = crossover_ga_binary(Indiv1,Indiv2,param)
Arguments
- Indiv1
the first individual (here a binary code) to be crossed-over.
- Indiv2
the second individual to be crossed-over.
- param
a list of parameters.
'binary_length': the length of the binary code.
'multi_cross': a boolean. If %T then we allow several cuts in the binary code.
'multi_cross_nb': the number of cuts in the binary code. Only used when multi_cross is set to %T.
- Crossed_Indiv1
The first individual obtained by the cross-over function.
- Crossed_Indiv2
The second individual obtained by the cross-over function.
Description
This function implements a classical binary cross-over.
Authors
- Yann COLLETTE
ycollet@freesurf.fr
<< coding_ga_identity | Algorithmes génétiques | crossover_ga_default >> |