plotParetoGrid: Visualisation of Pareto front and set

View source: R/plotParetoGrid.R

plotParetoGridR Documentation

Visualisation of Pareto front and set

Description

Plot the Pareto front and set for 2 variables 2 objectives test problems with evaluations on a grid.

Usage

plotParetoGrid(fname = "ZDT1", xlim = c(0, 1), ylim = c(0, 1), n.grid = 100)

Arguments

fname

name of the function considered,

xlim, ylim

numeric vectors of length 2, giving the x and y coordinates ranges, default is [0,1] x [0,1],

n.grid

number of divisions of the grid in each dimension.

Examples

#------------------------------------------------------------
# Examples with test functions
#------------------------------------------------------------

plotParetoGrid("ZDT3", n.grid = 21)

plotParetoGrid("P1", n.grid = 21)

plotParetoGrid("MOP2", xlim = c(0, 1), ylim = c(0, 1), n.grid = 21) 

GPareto documentation built on June 24, 2022, 5:06 p.m.