Learn R Programming

GA (version 3.2)

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

Description

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

Usage

# S4 method for 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.

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.

Details

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

See Also

gaisl, gaisl-class.

Examples

Run this code
# NOT RUN {
# See examples in help(gaisl)
# }

Run the code above in your browser using DataLab