Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
sat_base.h File Reference
#include <algorithm>
#include <cstdint>
#include <deque>
#include <functional>
#include <ostream>
#include <string>
#include <utility>
#include <vector>
#include "absl/base/attributes.h"
#include "absl/log/check.h"
#include "absl/strings/str_format.h"
#include "absl/types/span.h"
#include "ortools/base/logging.h"
#include "ortools/base/strong_vector.h"
#include "ortools/util/bitset.h"
#include "ortools/util/strong_integers.h"

Go to the source code of this file.

Classes

class  operations_research::sat::Literal
 
class  operations_research::sat::VariablesAssignment
 
class  operations_research::sat::AssignmentView
 
struct  operations_research::sat::AssignmentInfo
 Information about a variable assignment. More...
 
struct  operations_research::sat::AssignmentType
 
class  operations_research::sat::Trail
 
class  operations_research::sat::SatPropagator
 Base class for all the SAT constraints. More...
 

Namespaces

namespace  operations_research
 In SWIG mode, we don't want anything besides these top-level includes.
 
namespace  operations_research::sat
 

Functions

 operations_research::sat::DEFINE_STRONG_INDEX_TYPE (BooleanVariable)
 Index of a variable (>= 0).
 
const BooleanVariable operations_research::sat::kNoBooleanVariable (-1)
 
 operations_research::sat::DEFINE_STRONG_INDEX_TYPE (LiteralIndex)
 Index of a literal (>= 0), see Literal below.
 
const LiteralIndex operations_research::sat::kNoLiteralIndex (-1)
 
const LiteralIndex operations_research::sat::kTrueLiteralIndex (-2)
 
const LiteralIndex operations_research::sat::kFalseLiteralIndex (-3)
 
std::ostream & operations_research::sat::operator<< (std::ostream &os, Literal literal)
 
template<typename Sink , typename... T>
void operations_research::sat::AbslStringify (Sink &sink, Literal arg)
 
std::ostream & operations_research::sat::operator<< (std::ostream &os, absl::Span< const Literal > literals)
 
std::vector< Literaloperations_research::sat::Literals (absl::Span< const int > input)