public class AfterNoImprovement extends Object implements StopCondition
| Constructor and Description |
|---|
AfterNoImprovement(int nIterationsWithoutChange) |
| Modifier and Type | Method and Description |
|---|---|
double |
energy(Vector x,
double... information) |
boolean |
isStopped(Vector x,
double... information)
This is called after each iteration to determine whether the termination conditions are met,
e.g., convergence.
|
public boolean isStopped(Vector x, double... information)
StopConditionisStopped in interface StopConditionx - the current state of the algorithminformation - auxiliary information, e.g., the energy at a given statetrue if the iteration should stoppublic double energy(Vector x, double... information)
Copyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.