On Wed, 2003-10-01 at 17:01, Martin Stone Davis wrote: > Okay, I started looking at the source. Could you help me find > documentation on Java? I tried googling for it but no luck finding > about the RunningAverage.report() method.
public final void report(double d) {
currentVal = currentVal * (1-decayFactor) +
d * decayFactor;
}
The method is in a freenet java file, DecayingRunningAverage.java
(To find this out you have to look around a bit).
http://cvs.sourceforge.net/viewcvs.py/freenet/freenet/src/freenet/node/rt/DecayingRunningAverage.java
-- Ed Huff
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Devl mailing list [EMAIL PROTECTED] http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl
