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)
TerminationConditionterminate in interface TerminationConditioncost - the new costoldCost - the old costCopyright © 2016. All Rights Reserved.