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

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

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

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


A simple output function used for logging purposes


stop = output_ga_default(gen_index, nb_generation, Pop, FObj_Pop, param)



The index of the current generation.


The maximum number of generations.


The current population.


The evaluation for each member of the population.


A parameter list for optional parameters.


A boolean. If %F, will stop the execution of the genetic algorithm.


This function displays information on the current step of the genetic algorithm.

Use this function to implement a callback after each iteration of the genetic algorithm. This can be used, for instance, to plot intermediate result or log more information on the population.

The output parameter stop can be used to stop the genetic algorithm altogether if set to %F.

See also

  • optim_moga — multi-objective genetic algorithm
  • optim_nsga — A multi-objective Niched Sharing Genetic Algorithm
  • optim_nsga2 — A multi-objective Niched Sharing Genetic Algorithm version 2
Report an issue
<< mutation_ga_default Utilities pareto_filter >>

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:
Mon Feb 12 19:15:31 CET 2018