public interface TerminationCondition extends Serializable
| Modifier and Type | Method and Description |
|---|---|
boolean |
terminate(double cost,
double oldCost,
Object[] otherParams)
Whether to terminate based on the given metadata
|
boolean terminate(double cost,
double oldCost,
Object[] otherParams)
cost - the new costoldCost - the old costotherParams - Copyright © 2016. All Rights Reserved.