edu.umass.cs.mallet.base.maximize
Interface OptimizerEvaluator


public interface OptimizerEvaluator

Callback interface that allows optimizer clients to perform some operation after every iteration. Created: Sep 28, 2005


Method Summary
 boolean evaluate(Maximizable maxable, int iter)
          Performs some operation at the end of each iteration of a maximizer.
 

Method Detail

evaluate

public boolean evaluate(Maximizable maxable,
                        int iter)
Performs some operation at the end of each iteration of a maximizer.

Parameters:
maxable - Function that's being optimized.
iter - Number of just-finished iteration.
Returns:
true if optimization should continue.