Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: English - Français - Português - 日本語

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

Справка Scilab >> Genetic Algorithms > Utilities > output_ga_default

output_ga_default

A simple output function used for logging purposes

Calling Sequence

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

Arguments

gen_index

The index of the current generation.

nb_generation

The maximum number of generations.

Pop

The current population.

FObj_Pop

The evaluation for each member of the population.

param

A parameter list for optional parameters.

stop

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

Description

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
Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Thu Oct 02 14:01:08 CEST 2014