Class FrontPlotObserver<S extends Solution<?>>

java.lang.Object
org.uma.jmetal.util.observer.impl.FrontPlotObserver<S>
Type Parameters:
S - Type of the solutions being observed, must extend Solution<?>
All Implemented Interfaces:
Observer<Map<String,Object>>

public class FrontPlotObserver<S extends Solution<?>> extends Object implements Observer<Map<String,Object>>
An observer that displays the current Pareto front during the execution of a multi-objective optimization algorithm. It visualizes the solutions in a 2D scatter plot, showing how the front evolves over time.

This observer is typically used to monitor the progress of multi-objective optimization algorithms by plotting the objective values of the current population. It can also display reference fronts for comparison and filter out dominated solutions if needed.

Example usage:


 FrontPlotObserver<Solution<?>> observer = new FrontPlotObserver<>(
     "Front Plot", "Objective 1", "Objective 2", "Population", 100);
 algorithm.getObservable().register(observer);
 
Author:
Antonio J. Nebro