Definition at line 287 of file constraint_violation.h.
#include <constraint_violation.h>
◆ CompiledConstraintWithProto()
| operations_research::sat::CompiledConstraintWithProto::CompiledConstraintWithProto |
( |
const ConstraintProto & | ct_proto | ) |
|
|
explicit |
◆ ~CompiledConstraintWithProto()
| operations_research::sat::CompiledConstraintWithProto::~CompiledConstraintWithProto |
( |
| ) |
|
|
overridedefault |
◆ ComputeViolation()
| int64_t operations_research::sat::CompiledConstraintWithProto::ComputeViolation |
( |
absl::Span< const int64_t > | solution | ) |
|
|
finalvirtual |
◆ ComputeViolationWhenEnforced()
| virtual int64_t operations_research::sat::CompiledConstraintWithProto::ComputeViolationWhenEnforced |
( |
absl::Span< const int64_t > | solution | ) |
|
|
protectedpure virtual |
◆ ct_proto()
| const ConstraintProto & operations_research::sat::CompiledConstraintWithProto::ct_proto |
( |
| ) |
const |
|
inline |
◆ UsedVariables()
| std::vector< int > operations_research::sat::CompiledConstraintWithProto::UsedVariables |
( |
const CpModelProto & | model_proto | ) |
const |
|
finalvirtual |
◆ ViolationDelta()
| int64_t operations_research::sat::CompiledConstraintWithProto::ViolationDelta |
( |
int | var, |
|
|
int64_t | old_value, |
|
|
absl::Span< const int64_t > | solution_with_new_value ) |
|
finalvirtual |
◆ ViolationDeltaWhenEnforced()
| int64_t operations_research::sat::CompiledConstraintWithProto::ViolationDeltaWhenEnforced |
( |
int | var, |
|
|
int64_t | old_value, |
|
|
absl::Span< const int64_t > | solution_with_new_value ) |
|
protectedvirtual |
The documentation for this class was generated from the following files: