org.broad.igv.tools
Class Accumulator

java.lang.Object
  extended by org.broad.igv.tools.Accumulator

public class Accumulator
extends java.lang.Object

Estimating percentiles -- weighted average of multiple estimates

Author:
jrobinso, Thomas Abeel

Field Summary
static int MAX_VALUE_COUNT
           
 
Constructor Summary
Accumulator(java.util.Collection<WindowFunction> windowFunctions)
           
 
Method Summary
 void add(float v)
           
 void finish()
           
 double getPercentile(WindowFunction wf)
           
 float getValue(WindowFunction wf)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_VALUE_COUNT

public static int MAX_VALUE_COUNT
Constructor Detail

Accumulator

public Accumulator(java.util.Collection<WindowFunction> windowFunctions)
Method Detail

add

public void add(float v)

finish

public void finish()

getValue

public float getValue(WindowFunction wf)

getPercentile

public double getPercentile(WindowFunction wf)


Copyright © 2007-2011 - Thomas Abeel - All Rights Reserved. SourceForge.netLogo