public class ZeroDirection extends java.lang.Object implements TerminationCondition
Constructor and Description |
---|
ZeroDirection() |
Modifier and Type | Method and Description |
---|---|
boolean |
terminate(double cost,
double oldCost,
java.lang.Object[] otherParams)
Whether to terminate based on the given metadata
|
public boolean terminate(double cost, double oldCost, java.lang.Object[] otherParams)
TerminationCondition
terminate
in interface TerminationCondition
cost
- the new costoldCost
- the old cost