On Wed, 10 Apr 2002, Hrvoje Niksic wrote:

> Agreed wholeheartedly, but how would you *implement* a non-jittering
> ETA?  Do you think it makes sense the way 1.8.1 does it, i.e. to
> calculate the ETA from the average speed?

One common programming technique is the exponential decay model.
I believe that the method is chosen for its simplicity and that
justifications of its validity are completely after the fact. The
simplicity is that one keeps a previously calculated value and
averages that value with the current measurement and saves the
result for the next iteration, i.e. add and shift right.

Justifications are that the current measurement is the most likely
predictor of future behavior and that previous measurements are
weighted diminishingly over time.

You must chose how to normalize the measurement based on irregularity
in the measurement interval, however.

Roger L. Beeman

Reply via email to