Package com.bayesserver
Interface Stop
-
public interface Stop
Interface to allow early completion of a long running task. Note that whileStop
will finish the process (for example in a reduced number of iterations),Cancellation
will cancel the learning process, throwing anCancellationException
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getCanStop()
Whentrue
, indicates that the algorithm supports early stopping.boolean
getStop()
Whentrue
, indicates to the algorithm to complete early.void
setStop(boolean value)
Whentrue
, indicates to the algorithm to complete early.
-