Class Debugger

java.lang.Object
com.treemap.swing.voronoi.debug.Debugger

public class Debugger extends Object
Just a singleton style debugger object for everything.
  • Method Details

    • instance

      public static Debugger instance()
    • setEstimatedPixelXells

      public void setEstimatedPixelXells(int estimatedPixelXells)
    • setActualPixelCells

      public void setActualPixelCells(int actualPixelCells)
    • print

      public void print()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • add

      public void add(Debugger.DataEntry dataEntry, boolean printInfos)
    • setTotalAlgorithmDuration

      public void setTotalAlgorithmDuration(double totalAlgorithmDuration)
    • exportTimeDataToCsv

      public void exportTimeDataToCsv(String path)
    • setZeroAreaCellsCount

      public void setZeroAreaCellsCount(int zeroAreaCellsCount)
    • incZeroAreaCellsCount

      public void incZeroAreaCellsCount()
    • getZeroAreaCellsCount

      public int getZeroAreaCellsCount()
    • addError

      public void addError(double errorAbsolute)
    • printErrors

      public void printErrors()
    • getRms

      public double getRms()
    • clearErrorValues

      public void clearErrorValues()
    • getMaxError

      public double getMaxError()
    • setMaxErrorCell

      public void setMaxErrorCell(VoronoiCell maxErrorCell)
    • getMaxErrorCell

      public VoronoiCell getMaxErrorCell()
    • showCellOutlines

      public static void showCellOutlines(List<Vertex> vertexes, VoronoiCell[] cells, MutableTreeMapNode parent, boolean drawCellNames, String fillName)
    • setInterrestingChild

      public void setInterrestingChild(MutableTreeMapNode interrestingChild)
    • getInterrestingChild

      public MutableTreeMapNode getInterrestingChild()
    • draw

      public static void draw(VoronoiOutputRaster voronoiOutput, String str1, Color color1, String str2, Color color2, String str3, Color color3, File file)
    • save

      public void save(VoronoiOutputRaster raster, String dirPath, String name, VoronoiCell[] cells)
    • load

      public VoronoiOutputRaster load(String dirPath, String name, VoronoiCell[] cells)