Method | Description | |
---|---|---|
Add ( ) : void |
Alias for Assert.
|
|
Assert ( ) : void |
Assert a constraint (or multiple) into the solver.
|
|
AssertAndTrack ( |
Assert multiple constraints into the solver, and track them (in the unsat) core using the Boolean constants in ps. This API is an alternative to Check with assumptions for extracting unsat cores. Both APIs can be used in the same solver. The unsat core will contain a combination of the Boolean variables provided using AssertAndTrack(BoolExpr[],BoolExpr[]) and the Boolean literals provided using Check with assumptions. |
|
Check ( ) : Status |
Checks whether the assertions in the solver are consistent or not. Model UnsatCore Proof |
|
Pop ( uint n = 1 ) : void |
Backtracks n backtracking points. Note that an exception is thrown if n is not smaller than |
|
Push ( ) : void |
Creates a backtracking point.
|
|
Reset ( ) : void |
Resets the Solver. This removes all assertions from the solver. |
|
ToString ( ) : string |
A string representation of the solver.
|
Method | Description | |
---|---|---|
DecRef ( |
||
IncRef ( |
||
Solver ( |
public AssertAndTrack ( |
||
constraints | ||
ps | ||
return | void |