Interface TerminationRequest
public interface TerminationRequest
An asynchronous user cancellation request proxy. SMTInterpol regularly polls
an object that implements this interface for user requests to terminate the
current search. If cancellation is requested, SMTInterpol will set the
reason to return unknown to
ReasonUnknown.CANCELLED.
Once termination is requested, the solver keeps this state until the next
pop
command.- Author:
- Juergen Christ
-
Method Summary
Modifier and Type Method Description booleanisTerminationRequested()Check for termination.
-
Method Details
-
isTerminationRequested
boolean isTerminationRequested()Check for termination. If this returnstrueSMTInterpol will stop the current check and set the reason to return unknown toReasonUnknown.CANCELLED.- Returns:
- Should the current check be aborted.
-