gov.sns.tools.optimization
Interface SolveStopper


Deprecated. The optimization package has been replaced by the optimizer package.

public interface SolveStopper

SolveStopper is an interface for an object than can be used to stop a solver. The stopper is provided with the scoreboard and can make decisions on whether or not to stop the solver based on the scoreboard state and any other custom criteria provided to the SolveStopper implementation.


Method Summary
 boolean shouldStop(Scoreboard scoreboard)
          Deprecated. Signal whether the solver should stop.
 

Method Detail

shouldStop

public boolean shouldStop(Scoreboard scoreboard)
Deprecated. 
Signal whether the solver should stop.

Returns:
true to stop the solver and false to continue solving.