Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::sat::IndexReferences Struct Reference

Detailed Description

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

Member Data Documentation

◆ literals

std::vector<int> operations_research::sat::IndexReferences::literals

Definition at line 80 of file cp_model_utils.h.

◆ variables

std::vector<int> operations_research::sat::IndexReferences::variables

Definition at line 79 of file cp_model_utils.h.


The documentation for this struct was generated from the following file: