swarm-support
[Top][All Lists]
Advanced

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

suggestion for Averager


From: Rick Riolo
Subject: suggestion for Averager
Date: Wed, 7 Jul 1999 15:08:27 -0400 (EDT)

I don't know if you plan to support the Averager object
into the future, but if so, it would be nice to have
a way to specify a filter, eg
    andFilterUsing:  M(getAgentIsGreen)
where getAgentIsGreen would return 0 or 1 
(or true or false) when sent to each object
in the list passed to the Averager, and the Averager would only 
include those that returned true in its calculations.
This would be convenient when a list contains different
subgroups which one might like to average over.

(or is there a way to do this with existing tools?)

- r

Rick Riolo                           address@hidden
Center for Study of Complex Systems (CSCS)
4477 Randall Lab                
University of Michigan         Ann Arbor MI 48109-1120
Phone: 734 763 3323                  Fax: 734 763 9267
http://www.pscs.umich.edu/PEOPLE/rlr-home.html


                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

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