Package de.jungblut.math.minimize
Interface IterationCompletionListener
-
- All Known Implementing Classes:
EvaluationListener,TestSetIterationCallback
public interface IterationCompletionListenerCallback that should be triggered when a iteration was finished.- Author:
- thomas.jungblut
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonIterationFinished(int iteration, double cost, de.jungblut.math.DoubleVector currentWeights)This callback is called from aAbstractMinimizerwhen a iteration of a minimization objective is finished.
-
-
-
Method Detail
-
onIterationFinished
void onIterationFinished(int iteration, double cost, de.jungblut.math.DoubleVector currentWeights)This callback is called from aAbstractMinimizerwhen a iteration of a minimization objective is finished.- Parameters:
iteration- the number of the current iteration.cost- the cost at the current iteration.currentWeights- the current optimal weights.
-
-