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