Definition at line 394 of file pb_constraint.h.
#include <pb_constraint.h>
|
| | UpperBoundedLinearConstraint (const std::vector< Literal > &enforcement_literals, const std::vector< LiteralWithCoeff > &cst) |
| EnforcementId | enforcement_id () const |
| void | set_enforcement_id (EnforcementId enforcement_id) |
| bool | HasIdenticalTermsAndEnforcement (absl::Span< const Literal > enforcement_literals, absl::Span< const LiteralWithCoeff > cst, EnforcementPropagator *enforcement_propagator) |
| Coefficient | Rhs () const |
| bool | InitializeRhs (EnforcementStatus enforcement_status, absl::Span< const Literal > enforcement_literals, Coefficient rhs, int trail_index, Coefficient *threshold, Trail *trail, PbConstraintsEnqueueHelper *helper) |
| bool | Propagate (int trail_index, Coefficient *threshold, Trail *trail, EnforcementStatus enforcement_status, absl::Span< const Literal > enforcement_literals, PbConstraintsEnqueueHelper *helper, bool *need_untrail_inspection=nullptr) |
| void | Untrail (Coefficient *threshold, int trail_index) |
| void | FillReason (const Trail &trail, int source_trail_index, absl::Span< const Literal > enforcement_literals, BooleanVariable propagated_variable, std::vector< std::tuple< int, int, int > > *temporary_tuples, std::vector< Literal > *reason) |
| void | ResolvePBConflict (const Trail &trail, BooleanVariable var, MutableUpperBoundedLinearConstraint *conflict, Coefficient *conflict_slack) |
| void | AddToConflict (MutableUpperBoundedLinearConstraint *conflict) |
| Coefficient | ComputeCancelation (const Trail &trail, int trail_index, const MutableUpperBoundedLinearConstraint &conflict) |
| void | MarkForDeletion () |
| bool | is_marked_for_deletion () const |
| void | set_is_learned (bool is_learned) |
| bool | is_learned () const |
| bool | is_used_as_a_reason () const |
| void | set_activity (double activity) |
| double | activity () const |
| uint64_t | hash () const |
| int | already_propagated_end () const |
◆ UpperBoundedLinearConstraint()
| operations_research::sat::UpperBoundedLinearConstraint::UpperBoundedLinearConstraint |
( |
const std::vector< Literal > & | enforcement_literals, |
|
|
const std::vector< LiteralWithCoeff > & | cst ) |
◆ activity()
| double operations_research::sat::UpperBoundedLinearConstraint::activity |
( |
| ) |
const |
|
inline |
◆ AddToConflict()
◆ already_propagated_end()
| int operations_research::sat::UpperBoundedLinearConstraint::already_propagated_end |
( |
| ) |
const |
|
inline |
◆ ComputeCancelation()
◆ enforcement_id()
| EnforcementId operations_research::sat::UpperBoundedLinearConstraint::enforcement_id |
( |
| ) |
const |
|
inline |
◆ FillReason()
| void operations_research::sat::UpperBoundedLinearConstraint::FillReason |
( |
const Trail & | trail, |
|
|
int | source_trail_index, |
|
|
absl::Span< const Literal > | enforcement_literals, |
|
|
BooleanVariable | propagated_variable, |
|
|
std::vector< std::tuple< int, int, int > > * | temporary_tuples, |
|
|
std::vector< Literal > * | reason ) |
◆ hash()
| uint64_t operations_research::sat::UpperBoundedLinearConstraint::hash |
( |
| ) |
const |
|
inline |
◆ HasIdenticalTermsAndEnforcement()
| bool operations_research::sat::UpperBoundedLinearConstraint::HasIdenticalTermsAndEnforcement |
( |
absl::Span< const Literal > | enforcement_literals, |
|
|
absl::Span< const LiteralWithCoeff > | cst, |
|
|
EnforcementPropagator * | enforcement_propagator ) |
◆ InitializeRhs()
| bool operations_research::sat::UpperBoundedLinearConstraint::InitializeRhs |
( |
EnforcementStatus | enforcement_status, |
|
|
absl::Span< const Literal > | enforcement_literals, |
|
|
Coefficient | rhs, |
|
|
int | trail_index, |
|
|
Coefficient * | threshold, |
|
|
Trail * | trail, |
|
|
PbConstraintsEnqueueHelper * | helper ) |
◆ is_learned()
| bool operations_research::sat::UpperBoundedLinearConstraint::is_learned |
( |
| ) |
const |
|
inline |
◆ is_marked_for_deletion()
| bool operations_research::sat::UpperBoundedLinearConstraint::is_marked_for_deletion |
( |
| ) |
const |
|
inline |
◆ is_used_as_a_reason()
| bool operations_research::sat::UpperBoundedLinearConstraint::is_used_as_a_reason |
( |
| ) |
const |
|
inline |
◆ MarkForDeletion()
| void operations_research::sat::UpperBoundedLinearConstraint::MarkForDeletion |
( |
| ) |
|
|
inline |
◆ Propagate()
| bool operations_research::sat::UpperBoundedLinearConstraint::Propagate |
( |
int | trail_index, |
|
|
Coefficient * | threshold, |
|
|
Trail * | trail, |
|
|
EnforcementStatus | enforcement_status, |
|
|
absl::Span< const Literal > | enforcement_literals, |
|
|
PbConstraintsEnqueueHelper * | helper, |
|
|
bool * | need_untrail_inspection = nullptr ) |
◆ ResolvePBConflict()
| void operations_research::sat::UpperBoundedLinearConstraint::ResolvePBConflict |
( |
const Trail & | trail, |
|
|
BooleanVariable | var, |
|
|
MutableUpperBoundedLinearConstraint * | conflict, |
|
|
Coefficient * | conflict_slack ) |
◆ Rhs()
| Coefficient operations_research::sat::UpperBoundedLinearConstraint::Rhs |
( |
| ) |
const |
|
inline |
◆ set_activity()
| void operations_research::sat::UpperBoundedLinearConstraint::set_activity |
( |
double | activity | ) |
|
|
inline |
◆ set_enforcement_id()
| void operations_research::sat::UpperBoundedLinearConstraint::set_enforcement_id |
( |
EnforcementId | enforcement_id | ) |
|
|
inline |
◆ set_is_learned()
| void operations_research::sat::UpperBoundedLinearConstraint::set_is_learned |
( |
bool | is_learned | ) |
|
|
inline |
◆ Untrail()
| void operations_research::sat::UpperBoundedLinearConstraint::Untrail |
( |
Coefficient * | threshold, |
|
|
int | trail_index ) |
The documentation for this class was generated from the following files: