Class GenericChartContainer<S extends Solution<?>>
java.lang.Object
org.uma.jmetal.util.chartcontainer.GenericChartContainer<S>
-
Constructor Summary
ConstructorsConstructorDescriptionGenericChartContainer(String name) GenericChartContainer(String name, int delay) -
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, String xLabel, String yLabel) voidsetReferencePoint(List<List<Double>> referencePoint) voidsetSingleValueChart(String xLabel, String yLabel) voidsetVarChart(int variable1, int variable2) voidupdateFrontCharts(List<S> solutionList) voidupdateIndicatorChart(String indicator, Double value) voidupdateReferencePoint(List<List<Double>> referencePoint)
-
Constructor Details
-
GenericChartContainer
-
GenericChartContainer
-
-
Method Details
-
setFrontChart
- Throws:
FileNotFoundException
-
setSingleValueChart
-
setFrontChart
public void setFrontChart(int objective1, int objective2, String referenceFrontFileName, String xLabel, String yLabel) throws FileNotFoundException - Throws:
FileNotFoundException
-
setReferencePoint
-
updateReferencePoint
-
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
-