Class ChartContainerWithReferencePoints

java.lang.Object
org.uma.jmetal.util.chartcontainer.ChartContainerWithReferencePoints

public class ChartContainerWithReferencePoints extends Object
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 Details

    • ChartContainerWithReferencePoints

      public ChartContainerWithReferencePoints(String name)
    • ChartContainerWithReferencePoints

      public ChartContainerWithReferencePoints(String name, int delay)
  • Method Details

    • setFrontChart

      public void setFrontChart(int objective1, int objective2) throws IOException
      Throws:
      IOException
    • setFrontChart

      public void setFrontChart(int objective1, int objective2, String referenceFrontFileName) throws IOException
      Throws:
      IOException
    • setReferencePoint

      public void setReferencePoint(List<List<Double>> referencePoint)
    • updateReferencePoint

      public void updateReferencePoint(List<List<Double>> referencePoint)
    • initChart

      public void initChart()
    • updateFrontCharts

      public void updateFrontCharts(List<DoubleSolution> solutionList)
    • 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

      public String getName()
    • setName

    • getDelay

      public int getDelay()
    • setDelay

      public ChartContainerWithReferencePoints setDelay(int delay)
    • getFrontChart

      public org.knowm.xchart.XYChart getFrontChart()
    • getVarChart

      public org.knowm.xchart.XYChart getVarChart()
    • getChart

      public org.knowm.xchart.XYChart getChart(String chartName)