![]() |
Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
|
Definition at line 72 of file all_different.h.
#include <all_different.h>
Public Member Functions | |
| AllDifferentConstraint (absl::Span< const IntegerVariable > variables, Model *model) | |
| AllDifferentConstraint (int num_nodes, absl::Span< const int > tails, absl::Span< const int > heads, absl::Span< const Literal > literals, Model *model) | |
| bool | Propagate () final |
| void | RegisterWith (GenericLiteralWatcher *watcher) |
| operations_research::sat::AllDifferentConstraint::AllDifferentConstraint | ( | absl::Span< const IntegerVariable > | variables, |
| Model * | model ) |
Definition at line 113 of file all_different.cc.
| operations_research::sat::AllDifferentConstraint::AllDifferentConstraint | ( | int | num_nodes, |
| absl::Span< const int > | tails, | ||
| absl::Span< const int > | heads, | ||
| absl::Span< const Literal > | literals, | ||
| Model * | model ) |
Definition at line 166 of file all_different.cc.
|
finalvirtual |
Implements operations_research::sat::PropagatorInterface.
Definition at line 259 of file all_different.cc.
| void operations_research::sat::AllDifferentConstraint::RegisterWith | ( | GenericLiteralWatcher * | watcher | ) |
Definition at line 187 of file all_different.cc.