public final class SatSolver
extends java.lang.Object
The internal solver calls external one for every constraint it is unable to solve. It is able to solve constraints of the following kinds:
true
false
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clear solver's internal data.
|
static SatSolver |
getInstance()
Returns an instance of the satisfiability solver.
|
boolean |
isSat(ru.ispras.fortress.expression.Node expr)
Checks whether the specified expression is satisfiable.
|
public static SatSolver getInstance()
public void clear()
public boolean isSat(ru.ispras.fortress.expression.Node expr)
expr
- Expression to be checked.true
if the expression is satisfiable, false
otherwise.