|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.labs.minion.util.DescriptiveStats
public class DescriptiveStats
A basic class to provide simple descriptive stats.
Field Summary | |
---|---|
protected int[] |
logBins
|
protected int |
max
|
protected int |
min
|
protected int |
n
|
protected int |
nZeros
|
protected long |
sum
|
Constructor Summary | |
---|---|
DescriptiveStats()
|
Method Summary | |
---|---|
void |
add(int v)
|
int[] |
bins()
|
int |
max()
|
double |
mean()
|
int |
min()
|
int |
n()
|
int |
nZeros()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int min
protected int max
protected long sum
protected int n
protected int[] logBins
protected int nZeros
Constructor Detail |
---|
public DescriptiveStats()
Method Detail |
---|
public void add(int v)
public double mean()
public int min()
public int max()
public int n()
public int[] bins()
public int nZeros()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |