R/visualizeParetoOptimalFront.R
visualizeParetoOptimalFront.RdQuickly visualize the Pareto-optimal front of a bi-criteria objective
function by calling the EMOA nsga2 and extracting the
approximated Pareto-optimal front.
visualizeParetoOptimalFront(fn, ...)[smoof_multi_objective_function]
Multi-objective smoof function.
[any]
Arguments passed to nsga2.
[ggplot]
# Here we visualize the Pareto-optimal front of the bi-objective ZDT3 function
fn = makeZDT3Function(dimensions = 3L)
vis = visualizeParetoOptimalFront(fn)
# Alternatively we can pass some more algorithm parameters to the NSGA2 algorithm
vis = visualizeParetoOptimalFront(fn, popsize = 1000L)