Class RunTimeChartObserver<S extends Solution<?>>
java.lang.Object
org.uma.jmetal.util.observer.impl.RunTimeChartObserver<S>
public class RunTimeChartObserver<S extends Solution<?>>
extends Object
implements Observer<Map<String,Object>>
This observer prints a chart in real time showing the current Pareto front approximation produced
by an algorithm. It requires a two pairs in the map used in the update() method:
* - (EVALUATIONS, int)
* - (POPULATION, List)
- Author:
- Antonio J. Nebro
-
Constructor Summary
ConstructorsConstructorDescriptionRunTimeChartObserver(String legend, int delay) ConstructorRunTimeChartObserver(String legend, int delay, int plotUpdateFrequency, String referenceFrontName) RunTimeChartObserver(String legend, int delay, int plotUpdateFrequency, String referenceFrontName, String xLabel, String yLabel) RunTimeChartObserver(String legend, int delay, String referenceFrontName) -
Method Summary
Modifier and TypeMethodDescriptiongetChart()getName()voidsetReferencePointList(List<List<Double>> referencePointList) This method is used to set a list of reference points; it is used by reference-point based algorithms.voidsetReferencePoints(List<List<Double>> referencePoins) toString()voidThis method displays a front (population)
-
Constructor Details
-
RunTimeChartObserver
Constructor- Parameters:
legend- Legend to be included in the chartdelay- Display delay
-
RunTimeChartObserver
-
RunTimeChartObserver
-
RunTimeChartObserver
-
-
Method Details
-
setReferencePoints
-
setReferencePointList
-
update
-
getChart
-
getName
-
toString
-