gov.sns.tools.solver
Interface Stopper


Deprecated. The optimization and optimizer packages have been replaced by the solver package.

public interface Stopper

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(Solver aSolver)
          Deprecated. Signal whether the solver should stop.
 

Method Detail

shouldStop

public boolean shouldStop(Solver aSolver)
Deprecated. 
Signal whether the solver should stop.

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