commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark R. Diggory" <mdigg...@latte.harvard.edu>
Subject Re: [math] increment() behavior for stats constructed using external moments
Date Tue, 08 Jun 2004 16:05:31 GMT
Mark R. Diggory wrote:

> Phil Steitz wrote:
>
>>
>> Not if we keep the evaluate() methods in the stats objects and have 
>> these methods delegate (in the default impls) to StatUtils.  Then 
>> Variance, Mean et al could be swapped out w/ other impls that do not 
>> use the "stock" numerics collected in StatUtils.  Wouldn't that 
>> provide the flexibility that we want?
>>
> I guess I was thinking "opposite", I was conceiving the 
> Implementations behind StatUtils to be pluggable as well.
>
> Public Interfaces         DescriptiveStats  ----->
> SummaryStats --------> Delegate to Underlying Implementation of 
> UnivariateStatistics (determined by Services API, Discovery or some 
> other mechanism).
> Static StatUtils ------->
>
Sorry, the layout go a little messed up

Public Interfaces                Private Implementations

DescriptiveStats   ----->     Delegate to Underlying Implementations
SummaryStats     ----->      of UnivariateStatistics (determined by
Static StatUtils     ----->      Services API, Discovery or some other 
mechanism).


Mime
View raw message