Definition at line 33 of file enforcement_helper.h.
#include <enforcement_helper.h>
|
| | EnforcementHelper (Model *model) |
| EnforcementId | Register (absl::Span< const Literal > enforcement_literals, GenericLiteralWatcher *watcher, int literal_watcher_id) |
| void | AddEnforcementReason (EnforcementId id, std::vector< Literal > *reason) const |
| ABSL_MUST_USE_RESULT bool | PropagateWhenFalse (EnforcementId id, absl::Span< const Literal > literal_reason, absl::Span< const IntegerLiteral > integer_reason) |
| ABSL_MUST_USE_RESULT bool | Enqueue (EnforcementId id, IntegerLiteral i_lit, absl::Span< const Literal > literal_reason, absl::Span< const IntegerLiteral > integer_reason) |
| ABSL_MUST_USE_RESULT bool | SafeEnqueue (EnforcementId id, IntegerLiteral i_lit, absl::Span< const IntegerLiteral > integer_reason) |
| ABSL_MUST_USE_RESULT bool | ConditionalEnqueue (EnforcementId id, Literal lit, IntegerLiteral i_lit, absl::Span< const Literal > literal_reason, absl::Span< const IntegerLiteral > integer_reason) |
| ABSL_MUST_USE_RESULT bool | EnqueueLiteral (EnforcementId id, Literal literal, absl::Span< const Literal > literal_reason, absl::Span< const IntegerLiteral > integer_reason) |
| bool | ReportConflict (EnforcementId id, absl::Span< const IntegerLiteral > integer_reason) |
| bool | ReportConflict (EnforcementId id, absl::Span< const Literal > literal_reason, absl::Span< const IntegerLiteral > integer_reason) |
| EnforcementStatus | Status (EnforcementId id) const |
| absl::Span< const Literal > | GetEnforcementLiterals (EnforcementId id) const |
◆ EnforcementHelper()
| operations_research::sat::EnforcementHelper::EnforcementHelper |
( |
Model * | model | ) |
|
|
explicit |
◆ AddEnforcementReason()
| void operations_research::sat::EnforcementHelper::AddEnforcementReason |
( |
EnforcementId | id, |
|
|
std::vector< Literal > * | reason ) const |
|
inline |
◆ ConditionalEnqueue()
| bool operations_research::sat::EnforcementHelper::ConditionalEnqueue |
( |
EnforcementId | id, |
|
|
Literal | lit, |
|
|
IntegerLiteral | i_lit, |
|
|
absl::Span< const Literal > | literal_reason, |
|
|
absl::Span< const IntegerLiteral > | integer_reason ) |
◆ Enqueue()
| bool operations_research::sat::EnforcementHelper::Enqueue |
( |
EnforcementId | id, |
|
|
IntegerLiteral | i_lit, |
|
|
absl::Span< const Literal > | literal_reason, |
|
|
absl::Span< const IntegerLiteral > | integer_reason ) |
◆ EnqueueLiteral()
| bool operations_research::sat::EnforcementHelper::EnqueueLiteral |
( |
EnforcementId | id, |
|
|
Literal | literal, |
|
|
absl::Span< const Literal > | literal_reason, |
|
|
absl::Span< const IntegerLiteral > | integer_reason ) |
◆ GetEnforcementLiterals()
| absl::Span< const Literal > operations_research::sat::EnforcementHelper::GetEnforcementLiterals |
( |
EnforcementId | id | ) |
const |
|
inline |
◆ PropagateWhenFalse()
| bool operations_research::sat::EnforcementHelper::PropagateWhenFalse |
( |
EnforcementId | id, |
|
|
absl::Span< const Literal > | literal_reason, |
|
|
absl::Span< const IntegerLiteral > | integer_reason ) |
◆ Register()
| EnforcementId operations_research::sat::EnforcementHelper::Register |
( |
absl::Span< const Literal > | enforcement_literals, |
|
|
GenericLiteralWatcher * | watcher, |
|
|
int | literal_watcher_id ) |
◆ ReportConflict() [1/2]
| bool operations_research::sat::EnforcementHelper::ReportConflict |
( |
EnforcementId | id, |
|
|
absl::Span< const IntegerLiteral > | integer_reason ) |
|
inline |
◆ ReportConflict() [2/2]
| bool operations_research::sat::EnforcementHelper::ReportConflict |
( |
EnforcementId | id, |
|
|
absl::Span< const Literal > | literal_reason, |
|
|
absl::Span< const IntegerLiteral > | integer_reason ) |
◆ SafeEnqueue()
| bool operations_research::sat::EnforcementHelper::SafeEnqueue |
( |
EnforcementId | id, |
|
|
IntegerLiteral | i_lit, |
|
|
absl::Span< const IntegerLiteral > | integer_reason ) |
◆ Status()
| EnforcementStatus operations_research::sat::EnforcementHelper::Status |
( |
EnforcementId | id | ) |
const |
|
inline |
The documentation for this class was generated from the following files: