Class ChartContainer
java.lang.Object
org.uma.jmetal.util.chartcontainer.ChartContainer
Class for configuring and displaying a XChart.
- Author:
- Jorge Rodriguez Ordonez
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddIndicatorChart(String indicator) org.knowm.xchart.XYChartintgetDelay()org.knowm.xchart.XYChartgetName()org.knowm.xchart.XYChartvoidvoidvoidrefreshCharts(int delay) voidremoveIndicator(String indicator) voidrepaint()voidsetDelay(int delay) voidsetFrontChart(int objective1, int objective2) voidsetFrontChart(int objective1, int objective2, String referenceFrontFileName) voidsetReferencePoint(List<Double> referencePoint) voidsetVarChart(int variable1, int variable2) voidupdateFrontCharts(List<DoubleSolution> solutionList) voidupdateIndicatorChart(String indicator, Double value)
-
Constructor Details
-
ChartContainer
-
ChartContainer
-
-
Method Details
-
setFrontChart
- Throws:
FileNotFoundException
-
setFrontChart
public void setFrontChart(int objective1, int objective2, String referenceFrontFileName) throws FileNotFoundException - Throws:
FileNotFoundException
-
setReferencePoint
-
setVarChart
public void setVarChart(int variable1, int variable2) -
initChart
public void initChart() -
updateFrontCharts
-
refreshCharts
public void refreshCharts() -
refreshCharts
public void refreshCharts(int delay) -
addIndicatorChart
-
removeIndicator
-
updateIndicatorChart
-
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
-