#include "msatInt.h"
Go to the source code of this file.
Functions | |
| int | Msat_SolverAssume (Msat_Solver_t *p, Msat_Lit_t Lit) |
| FUNCTION DEFINITIONS ///. | |
| void | Msat_SolverCancelUntil (Msat_Solver_t *p, int Level) |
| int | Msat_SolverEnqueue (Msat_Solver_t *p, Msat_Lit_t Lit, Msat_Clause_t *pC) |
| Msat_Clause_t * | Msat_SolverPropagate (Msat_Solver_t *p) |
| int | Msat_SolverSimplifyDB (Msat_Solver_t *p) |
| void | Msat_SolverRemoveLearned (Msat_Solver_t *p) |
| void | Msat_SolverRemoveMarked (Msat_Solver_t *p) |
| Msat_Type_t | Msat_SolverSearch (Msat_Solver_t *p, int nConfLimit, int nLearnedLimit, int nBackTrackLimit, Msat_SearchParams_t *pPars) |
| int Msat_SolverAssume | ( | Msat_Solver_t * | p, |
| Msat_Lit_t | Lit ) |
FUNCTION DEFINITIONS ///.
Function*************************************************************
Synopsis [Makes the next assumption (Lit).]
Description [Returns FALSE if immediate conflict.]
SideEffects []
SeeAlso []
Definition at line 51 of file msatSolverSearch.c.


| void Msat_SolverCancelUntil | ( | Msat_Solver_t * | p, |
| int | Level ) |
Function*************************************************************
Synopsis [Reverts to the state at given level.]
Description []
SideEffects []
SeeAlso []
Definition at line 128 of file msatSolverSearch.c.


| int Msat_SolverEnqueue | ( | Msat_Solver_t * | p, |
| Msat_Lit_t | Lit, | ||
| Msat_Clause_t * | pC ) |
Function*************************************************************
Synopsis [Enqueues one variable assignment.]
Description [Puts a new fact on the propagation queue and immediately updates the variable value. Should a conflict arise, FALSE is returned. Otherwise returns TRUE.]
SideEffects []
SeeAlso []
Definition at line 173 of file msatSolverSearch.c.


| Msat_Clause_t * Msat_SolverPropagate | ( | Msat_Solver_t * | p | ) |
Function*************************************************************
Synopsis [Propagates the assignments in the queue.]
Description [Propagates all enqueued facts. If a conflict arises, the conflicting clause is returned, otherwise NULL.]
SideEffects [The propagation queue is empty, even if there was a conflict.]
SeeAlso []
Definition at line 217 of file msatSolverSearch.c.


| void Msat_SolverRemoveLearned | ( | Msat_Solver_t * | p | ) |
Function*************************************************************
Synopsis [Removes the learned clauses.]
Description []
SideEffects []
SeeAlso []
Definition at line 371 of file msatSolverSearch.c.

| void Msat_SolverRemoveMarked | ( | Msat_Solver_t * | p | ) |
Function*************************************************************
Synopsis [Removes the recently added clauses.]
Description []
SideEffects []
SeeAlso []
Definition at line 403 of file msatSolverSearch.c.

| Msat_Type_t Msat_SolverSearch | ( | Msat_Solver_t * | p, |
| int | nConfLimit, | ||
| int | nLearnedLimit, | ||
| int | nBackTrackLimit, | ||
| Msat_SearchParams_t * | pPars ) |
Function*************************************************************
Synopsis [The search procedure called between the restarts.]
Description [Search for a satisfying solution as long as the number of conflicts does not exceed the limit (nConfLimit) while keeping the number of learnt clauses below the provided limit (nLearnedLimit). NOTE! Use negative value for nConfLimit or nLearnedLimit to indicate infinity.]
SideEffects []
SeeAlso []
Definition at line 535 of file msatSolverSearch.c.


| int Msat_SolverSimplifyDB | ( | Msat_Solver_t * | p | ) |
Function*************************************************************
Synopsis [Simplifies the data base.]
Description [Simplify all constraints according to the current top-level assigment (redundant constraints may be removed altogether).]
SideEffects []
SeeAlso []
Definition at line 282 of file msatSolverSearch.c.
