Learn R Programming

rgp (version 0.4-1)

plotParetoFront: Plot a GP Pareto Front

Description

Plots fitness/complexity/age Pareto fronts for multi-objective GP. The z-coordinate represents individual age and is shown in form of a color scale, where younger individuals are bright green, individuals with age maxZ are black. Individuals not on the first Pareto front are shown as small gray circles, regardless of age.

Usage

plotParetoFront(x, y, z, indicesToMark = integer(), maxZ = 50, main = sprintf("Population Pareto Front Plot (% Individuals)", length(x)), ...)

Arguments

x
A vector of type numeric representing individual fitness.
y
A vector of type numeric representing individual complexity.
z
A vector of type integer representing individual age.
indicesToMark
A index vector of points to mark with red crosses.
maxZ
The individual age at the large end of the age color scale.
main
The plot's title.
...
Graphic parameters for par and further arguments to plot. For example, use the main parameter to set a title.

See Also

funcToIgraph