Package com.treemap.swing.voronoi.debug
Class Debugger
java.lang.Object
com.treemap.swing.voronoi.debug.Debugger
Just a singleton style debugger object for everything.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(Debugger.DataEntry dataEntry, boolean printInfos) voidaddError(double errorAbsolute) voidstatic voiddraw(VoronoiOutputRaster voronoiOutput, String str1, Color color1, String str2, Color color2, String str3, Color color3, File file) voidexportTimeDataToCsv(String path) doubledoublegetRms()intvoidstatic Debuggerinstance()load(String dirPath, String name, VoronoiCell[] cells) voidprint()voidvoidsave(VoronoiOutputRaster raster, String dirPath, String name, VoronoiCell[] cells) voidsetActualPixelCells(int actualPixelCells) voidsetEstimatedPixelXells(int estimatedPixelXells) voidsetInterrestingChild(MutableTreeMapNode interrestingChild) voidsetMaxErrorCell(VoronoiCell maxErrorCell) voidsetTotalAlgorithmDuration(double totalAlgorithmDuration) voidsetZeroAreaCellsCount(int zeroAreaCellsCount) static voidshowCellOutlines(List<Vertex> vertexes, VoronoiCell[] cells, MutableTreeMapNode parent, boolean drawCellNames, String fillName) toString()
-
Method Details
-
instance
-
setEstimatedPixelXells
public void setEstimatedPixelXells(int estimatedPixelXells) -
setActualPixelCells
public void setActualPixelCells(int actualPixelCells) -
print
public void print() -
toString
-
add
-
setTotalAlgorithmDuration
public void setTotalAlgorithmDuration(double totalAlgorithmDuration) -
exportTimeDataToCsv
-
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
-
getMaxErrorCell
-
showCellOutlines
public static void showCellOutlines(List<Vertex> vertexes, VoronoiCell[] cells, MutableTreeMapNode parent, boolean drawCellNames, String fillName) -
setInterrestingChild
-
getInterrestingChild
-
draw
-
save
-
load
-