Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.5.0 - Français

Change language to:
English - 日本語 - Português - Русский

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

Aide de Scilab >> Algorithmes génétiques > Utilities > coding_ga_identity

coding_ga_identity

A "no-operation" conversion function

Calling Sequence

pop_out = coding_ga_identity(pop_in,direction,param)

Arguments

pop_in

the population to be converted.

direction

"code" or "decode". This value has no influence of the state of pop_in.

param

a parameter list. For this function, there are no useful parameters set.

pop_out

a population identical to pop_in.

Description

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.

Examples

pop_in = list();
pop_in(1) = 2;

pop_out = coding_ga_identity(pop_in,'code',[])

pop_in_2 = coding_ga_identity(pop_out,'decode',[])

See Also

Report an issue
<< coding_ga_binary Utilities crossover_ga_binary >>

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:
Fri Apr 11 14:14:55 CEST 2014