![]() |
Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
|
Collects all the references used by a constraint. This function is used in a few places to have a "generic" code dealing with constraints. Note that the enforcement_literal is NOT counted here and that the vectors can have duplicates.
Definition at line 78 of file cp_model_utils.h.
#include <cp_model_utils.h>
Public Attributes | |
std::vector< int > | variables |
std::vector< int > | literals |
std::vector<int> operations_research::sat::IndexReferences::literals |
Definition at line 80 of file cp_model_utils.h.
std::vector<int> operations_research::sat::IndexReferences::variables |
Definition at line 79 of file cp_model_utils.h.