![]() |
OR-Tools
9.6
|
Definition at line 146 of file simplification.h.
Public Types | |
| typedef int32_t | ClauseIndex |
Public Member Functions | |
| SatPresolver (SatPostsolver *postsolver, SolverLogger *logger) | |
| void | SetParameters (const SatParameters ¶ms) |
| void | SetTimeLimit (TimeLimit *time_limit) |
| void | SetEquivalentLiteralMapping (const absl::StrongVector< LiteralIndex, LiteralIndex > &mapping) |
| void | SetNumVariables (int num_variables) |
| void | AddBinaryClause (Literal a, Literal b) |
| void | AddClause (absl::Span< const Literal > clause) |
| bool | Presolve () |
| bool | Presolve (const std::vector< bool > &var_that_can_be_removed) |
| int | NumClauses () const |
| const std::vector< Literal > & | Clause (ClauseIndex ci) const |
| int | NumVariables () const |
| absl::StrongVector< BooleanVariable, BooleanVariable > | VariableMapping () const |
| void | LoadProblemIntoSatSolver (SatSolver *solver) |
| bool | ProcessClauseToSimplifyOthers (ClauseIndex clause_index) |
| bool | CrossProduct (Literal x) |
| void | PresolveWithBva () |
| void | SetDratProofHandler (DratProofHandler *drat_proof_handler) |
| typedef int32_t ClauseIndex |
Definition at line 149 of file simplification.h.
|
inlineexplicit |
Definition at line 151 of file simplification.h.
Definition at line 169 of file simplification.cc.
| void AddClause | ( | absl::Span< const Literal > | clause | ) |
Definition at line 171 of file simplification.cc.
|
inline |
Definition at line 186 of file simplification.h.
| bool CrossProduct | ( | Literal | x | ) |
Definition at line 711 of file simplification.cc.
| void LoadProblemIntoSatSolver | ( | SatSolver * | solver | ) |
Definition at line 271 of file simplification.cc.
|
inline |
Definition at line 185 of file simplification.h.
|
inline |
Definition at line 192 of file simplification.h.
| bool Presolve | ( | ) |
Definition at line 329 of file simplification.cc.
| bool Presolve | ( | const std::vector< bool > & | var_that_can_be_removed | ) |
Definition at line 336 of file simplification.cc.
| void PresolveWithBva | ( | ) |
Definition at line 383 of file simplification.cc.
| bool ProcessClauseToSimplifyOthers | ( | ClauseIndex | clause_index | ) |
Definition at line 635 of file simplification.cc.
|
inline |
Definition at line 225 of file simplification.h.
|
inline |
Definition at line 162 of file simplification.h.
| void SetNumVariables | ( | int | num_variables | ) |
Definition at line 226 of file simplification.cc.
|
inline |
Definition at line 157 of file simplification.h.
|
inline |
Definition at line 158 of file simplification.h.
| absl::StrongVector< BooleanVariable, BooleanVariable > VariableMapping | ( | ) | const |
Definition at line 256 of file simplification.cc.