public abstract class AbstractMinimizer extends Object implements Minimizer
| Constructor and Description |
|---|
AbstractMinimizer() |
| Modifier and Type | Method and Description |
|---|---|
void |
addIterationCompletionCallback(IterationCompletionListener lst)
Add a callback listener that triggers after a iteration.
|
protected void |
onIterationFinished(int iteration,
double cost,
de.jungblut.math.DoubleVector currentWeights)
Callback method that should be called from an explicit subclass once an
iteration was finished.
|
public void addIterationCompletionCallback(IterationCompletionListener lst)
lst - the iteration completion listener.protected final void onIterationFinished(int iteration,
double cost,
de.jungblut.math.DoubleVector currentWeights)
iteration - the number of the current iteration.cost - the cost at the current iteration.currentWeights - the current optimal weights.Copyright © 2016. All rights reserved.