Entropy -- Computes entropy via a MessageProbe.
Entropy objects read probabilities (via a MessageProbe) from a collection of objects and calculate the entropy of the underlying distribution.
- setCollection: aCollection
The setCollection method sets the collection of objects that will be probed.
The getEntropy method returns the calculated Entropy. The entropy value is read out of the object, not computed everytime it is requested.
The update method polls the collection and updates the entropy. This method should be scheduled prior to collecting the data using getEntropy.