-
- All Superinterfaces:
Handler
- All Known Implementing Classes:
TimeoutSATHandler
public interface SATHandler extends Handler
Interface for a handler for SAT solvers.- Since:
- 1.0
- Version:
- 2.1.0
-
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description default booleandetectedConflict()This method is called every time a conflict is found.default voidfinishedSolving()This method is called when the SAT solver finished solving.static voidfinishSolving(SATHandler handler)Null-safe helper method to callfinishedSolving()on a handler.
-
-
-
Method Detail
-
detectedConflict
default boolean detectedConflict()
This method is called every time a conflict is found.- Returns:
trueif the SAT solving should be continued, otherwisefalse
-
finishedSolving
default void finishedSolving()
This method is called when the SAT solver finished solving.
-
finishSolving
static void finishSolving(SATHandler handler)
Null-safe helper method to callfinishedSolving()on a handler.- Parameters:
handler- the handler to finished, may benull
-
-