visualizeParetoOptimalFront: Pareto-optimal front visualization.

View source: R/visualizeParetoOptimalFront.R

visualizeParetoOptimalFrontR Documentation

Pareto-optimal front visualization.

Description

Quickly visualize the Pareto-optimal front of a bi-criteria objective function by calling the EMOA nsga2 and extracting the approximated Pareto-optimal front.

Usage

visualizeParetoOptimalFront(fn, ...)

Arguments

fn

[smoof_multi_objective_function]
Multi-objective smoof function.

...

[any]
Arguments passed to nsga2.

Value

[ggplot] Returns a ggplot object representing the Pareto-optimal front visualization.

Examples

# 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)


jakobbossek/smoof documentation built on Feb. 17, 2024, 2:23 a.m.