1 package org.sat4j.sat.visu; 2 3 import info.monitorenter.gui.chart.ITrace2D; 4 5 import org.sat4j.tools.IVisualizationTool; 6 7 public class ChartBasedVisualizationTool implements IVisualizationTool { 8 9 private static final long serialVersionUID = 1L; 10 11 private ITrace2D trace; 12 13 public ChartBasedVisualizationTool(ITrace2D trace) { 14 this.trace = trace; 15 } 16 17 public void addPoint(double x, double y) { 18 this.trace.addPoint(x, y); 19 } 20 21 public void addInvisiblePoint(double x, double y) { 22 } 23 24 public void init() { 25 this.trace.removeAllPoints(); 26 } 27 28 public void end() { 29 30 } 31 32 }