plot_pareto function

Plotting of a population of objectives and Pareto front

Plotting of a population of objectives and Pareto front

Plots graphs the population regarding each couple of objectives and emphasizes the Pareto front

plot_pareto(MatObj, nobj = NULL, objnames = NULL, maximized = NULL)

Arguments

  • MatObj: : matrix of the objectives [NInd, nobj]
  • nobj: : number of objectives (optional)
  • objnames: : vector, length nobj, of names of the objectives (optional)
  • maximized: : vector of logical, length nobj, TRUE if objective need to be maximized, FALSE if minimized

Examples

# Definition of the population Pop <- matrix(runif(300), 100, 3) # Definition of objectives to maximize (Obj1, Obj2) and to minimize (Obj3) maximized <- c(TRUE, TRUE, FALSE) # Call the function plot_pareto(MatObj = Pop, maximized = maximized)

Author(s)

Celine Monteil

  • Maintainer: Fabrice Zaoui
  • License: GPL-3 | file LICENSE
  • Last published: 2024-07-29