plot.gaisl-method function

Plot of Islands Genetic Algorithm search path

Plot of Islands Genetic Algorithm search path

The plot method for gaisl-class objects gives a plot of best fitness values found in each island during the GA iterations. methods

## S4 method for signature 'gaisl' plot(x, y, ...)

Arguments

  • x: An object of class "gaisl".
  • y: Not used.
  • ...: Further arguments passed to plot.default, such as ylim, ylab, etc., or to matplot, such as col, lty, and lwd.

Details

Plot best fitness values found in each island during the GA iterations.

Returns

The method invisibly return a list with the following components:

  • iter: a vector of values specifying the iteration.

  • summary: a matrix of best fitness values for each island along the columns.

See Also

gaisl, gaisl-class.

Author(s)

Luca Scrucca

Examples

# See examples in help(gaisl)
  • Maintainer: Luca Scrucca
  • License: GPL (>= 2)
  • Last published: 2024-01-28