Definition at line 247 of file constraint_violation.h.
#include <constraint_violation.h>
◆ CompiledConstraint()
| operations_research::sat::CompiledConstraint::CompiledConstraint |
( |
| ) |
|
|
default |
◆ ~CompiledConstraint()
| virtual operations_research::sat::CompiledConstraint::~CompiledConstraint |
( |
| ) |
|
|
virtualdefault |
◆ ComputeViolation()
| virtual int64_t operations_research::sat::CompiledConstraint::ComputeViolation |
( |
absl::Span< const int64_t > | solution | ) |
|
|
protectedpure virtual |
◆ InitializeViolation()
| void operations_research::sat::CompiledConstraint::InitializeViolation |
( |
absl::Span< const int64_t > | solution | ) |
|
◆ PerformMove()
| void operations_research::sat::CompiledConstraint::PerformMove |
( |
int | var, |
|
|
int64_t | old_value, |
|
|
absl::Span< const int64_t > | solution_with_new_value ) |
|
virtual |
◆ UsedVariables()
| virtual std::vector< int > operations_research::sat::CompiledConstraint::UsedVariables |
( |
const CpModelProto & | model_proto | ) |
const |
|
pure virtual |
◆ violation()
| int64_t operations_research::sat::CompiledConstraint::violation |
( |
| ) |
const |
|
inline |
◆ ViolationDelta()
| int64_t operations_research::sat::CompiledConstraint::ViolationDelta |
( |
int | var, |
|
|
int64_t | old_value, |
|
|
absl::Span< const int64_t > | solution_with_new_value ) |
|
virtual |
◆ violation_
| int64_t operations_research::sat::CompiledConstraint::violation_ |
|
protected |
The documentation for this class was generated from the following files: