databionics.io
Class ColorStatistics
java.lang.Object
databionics.io.ColorStatistics
public class ColorStatistics
- extends java.lang.Object
Statistics about colors used in rendering ESOM.
- Author:
- stammi, mart
Field Summary |
protected static org.apache.log4j.Logger |
log
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
log
protected static org.apache.log4j.Logger log
ColorStatistics
public ColorStatistics(int steps)
setMin
protected void setMin(int pos,
double value)
setMax
protected void setMax(int pos,
double value)
incCount
protected void incCount(int pos)
addEntry
public void addEntry(int pos,
double height)
getMin
public double getMin(int pos)
getMax
public double getMax(int pos)
getTotalMax
public double getTotalMax()
getCount
public double getCount(int pos)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getTotalCount
public int getTotalCount()
- Returns:
- Returns the totalCount.
getPercentage
public double getPercentage(int pos)
getMaxPercentage
public double getMaxPercentage()
getMaxCount
public int getMaxCount()
Copyright © 2005-2006 Databionics Research Group. All Rights Reserved.