Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.4.1 - Português

Change language to:
English - Français - 日本語 - Русский

Please note that the recommended version of Scilab is 2024.1.0. This page might be outdated.
See the recommended documentation of this function

Ajuda Scilab >> Algoritmos Genéticos > Utilities > crossover_ga_binary


A crossover function for binary code

Calling Sequence

[Crossed_Indiv1,Crossed_Indiv2] = crossover_ga_binary(Indiv1,Indiv2,param)



the first individual (here a binary code) to be crossed-over.


the second individual to be crossed-over.


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.


The first individual obtained by the cross-over function.


The second individual obtained by the cross-over function.


  • This function implements a classical binary cross-over.

See Also

Report an issue
<< coding_ga_identity Utilities crossover_ga_default >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Tue Apr 02 17:37:05 CEST 2013