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