Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
#include <presolve_context.h>
Public Member Functions | |
SavedLiteral ()=default | |
SavedLiteral (int ref) | |
int | Get (PresolveContext *context) const |
When storing a reference to a literal, it is important not to forget when reading it back to take its representative. Otherwise, we might introduce literal that have already been removed, which will break invariants in a bunch of places.
Definition at line 58 of file presolve_context.h.
|
default |
|
inlineexplicit |
Definition at line 61 of file presolve_context.h.
int operations_research::sat::SavedLiteral::Get | ( | PresolveContext * | context | ) | const |
Definition at line 64 of file presolve_context.cc.