![]() |
Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
|
#include <cstdint>#include <functional>#include <vector>#include "absl/log/check.h"#include "absl/types/span.h"#include "ortools/base/logging.h"#include "ortools/sat/integer.h"#include "ortools/sat/integer_base.h"#include "ortools/sat/model.h"#include "ortools/sat/sat_base.h"Go to the source code of this file.
Classes | |
| class | operations_research::sat::BooleanXorPropagator |
| class | operations_research::sat::GreaterThanAtLeastOneOfPropagator |
Namespaces | |
| namespace | operations_research |
| In SWIG mode, we don't want anything besides these top-level includes. | |
| namespace | operations_research::sat |
Functions | |
| std::vector< IntegerValue > | operations_research::sat::ToIntegerValueVector (absl::Span< const int64_t > input) |
| std::function< void(Model *)> | operations_research::sat::LiteralXorIs (const std::vector< Literal > &literals, bool value) |
| Enforces the XOR of a set of literals to be equal to the given value. | |
| std::function< void(Model *)> | operations_research::sat::GreaterThanAtLeastOneOf (IntegerVariable target_var, const absl::Span< const IntegerVariable > vars, const absl::Span< const IntegerValue > offsets, const absl::Span< const Literal > selectors, const absl::Span< const Literal > enforcements) |
| std::function< void(Model *)> | operations_research::sat::PartialIsOneOfVar (IntegerVariable target_var, absl::Span< const IntegerVariable > vars, absl::Span< const Literal > selectors) |