Class ChartContainerWithReferencePoints
java.lang.Object
org.uma.jmetal.util.chartcontainer.ChartContainerWithReferencePoints
Class for configuring and displaying a char with a number of subpopulations and reference points. Designed to be
used with the SMPSORP.
- Author:
- Antonio J. Nebro
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.knowm.xchart.XYChartintgetDelay()org.knowm.xchart.XYChartgetName()org.knowm.xchart.XYChartvoidvoidvoidrefreshCharts(int delay) voidrepaint()voidsetDelay(int delay) voidsetFrontChart(int objective1, int objective2) voidsetFrontChart(int objective1, int objective2, String referenceFrontFileName) voidsetReferencePoint(List<List<Double>> referencePoint) voidupdateFrontCharts(List<DoubleSolution> solutionList) voidupdateReferencePoint(List<List<Double>> referencePoint)
-
Constructor Details
-
ChartContainerWithReferencePoints
-
ChartContainerWithReferencePoints
-
-
Method Details
-
setFrontChart
- Throws:
IOException
-
setFrontChart
public void setFrontChart(int objective1, int objective2, String referenceFrontFileName) throws IOException - Throws:
IOException
-
setReferencePoint
-
updateReferencePoint
-
initChart
public void initChart() -
updateFrontCharts
-
refreshCharts
public void refreshCharts() -
refreshCharts
public void refreshCharts(int delay) -
repaint
public void repaint() -
saveChart
public void saveChart(String fileName, org.knowm.xchart.BitmapEncoder.BitmapFormat format) throws IOException - Throws:
IOException
-
getName
-
setName
-
getDelay
public int getDelay() -
setDelay
-
getFrontChart
public org.knowm.xchart.XYChart getFrontChart() -
getVarChart
public org.knowm.xchart.XYChart getVarChart() -
getChart
-