This implement the implicit contract needed by the SatCnfReader class.
More...
#include <sat_cnf_reader.h>
This implement the implicit contract needed by the SatCnfReader class.
Definition at line 90 of file sat_cnf_reader.h.
◆ CpModelProtoWrapper()
operations_research::sat::CpModelProtoWrapper::CpModelProtoWrapper |
( |
CpModelProto * | p | ) |
|
|
inlineexplicit |
◆ AddConstraint()
void operations_research::sat::CpModelProtoWrapper::AddConstraint |
( |
absl::Span< const int > | clause, |
|
|
bool | last_is_slack = false ) |
|
inline |
◆ AddObjectiveTerm()
void operations_research::sat::CpModelProtoWrapper::AddObjectiveTerm |
( |
int | literal, |
|
|
int64_t | value ) |
|
inline |
◆ LiteralToRef()
int operations_research::sat::CpModelProtoWrapper::LiteralToRef |
( |
int | signed_value | ) |
|
|
inline |
◆ SetObjectiveOffset()
void operations_research::sat::CpModelProtoWrapper::SetObjectiveOffset |
( |
int64_t | offset | ) |
|
|
inline |
◆ SetSizeAndPostprocess()
void operations_research::sat::CpModelProtoWrapper::SetSizeAndPostprocess |
( |
int | num_variables, |
|
|
int | num_slacks ) |
|
inline |
The documentation for this class was generated from the following file: