// $Id: Monoid.java,v 1.1 1999/09/11 19:53:13 leavens Exp $

package lib;

public interface Monoid {
    /** of the combined term with the accumulator */
    double combiner(double term, double accumulator);
    
    /** the value for the base case */
    double nullValue();
}
