swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Swarm-Support] Averager- undocumented methods?


From: Steve Railsback
Subject: [Swarm-Support] Averager- undocumented methods?
Date: Thu, 09 Dec 2004 20:28:18 -0800
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)

We have an output file-writing tool that uses the Swarm Averager (in the Analysis library). According to the Swarm 2.1.1 documentation, Averager has methods:

- (double)getAverage
- (double)getTotal
- (double)getMin
- (unsigned)getCount

but we wanted to get the standard deviation.

Luckily Steve Jackson had enough sense to read the code and found out that several methods exist in Averager but do not appear in the reference manual. The full list in Averager.h is:

- (double)getAverage;
- (double)getMovingAverage;
- (double)getVariance;
- (double)getMovingVariance;
- (double)getStdDev;
- (double)getMovingStdDev;
- (double)getTotal;
- (double)getMax;
- (double)getMin;
- (unsigned)getCount;

a. Does anyone know if there is any reason why these were left out of the documentation? Any reason not to use them?

b. (Marcus) Can these be included in the doc book for the new release??

Thanks,

Steve Railsback
--
Lang Railsback & Assoc.
250 California Ave.
Arcata, California 95521
707 822 0453



reply via email to

[Prev in Thread] Current Thread [Next in Thread]