plot.gaisl-method: Plot of Islands Genetic Algorithm search path

Description Usage Arguments Details Value Author(s) See Also Examples

Description

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

Usage

1
2
## 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.

Value

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.

Author(s)

Luca Scrucca

See Also

gaisl, gaisl-class.

Examples

1
# See examples in help(gaisl)

Example output

Loading required package: foreach
Loading required package: iterators
Package 'GA' version 3.2
Type 'citation("GA")' for citing this R package in publications.

Attaching package: 'GA'

The following object is masked from 'package:utils':

    de

GA documentation built on May 2, 2019, 9:57 a.m.