Visualisation of Pareto front and set
Plot the Pareto front and set for 2 variables 2 objectives test problems with evaluations on a grid.
plotParetoGrid(fname = "ZDT1", xlim = c(0, 1), ylim = c(0, 1), n.grid = 100)
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 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)