Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
drat_checker.h File Reference
#include <stddef.h>
#include <cstdint>
#include <limits>
#include <memory>
#include <string>
#include <vector>
#include "absl/container/flat_hash_set.h"
#include "absl/strings/string_view.h"
#include "absl/types/span.h"
#include "ortools/base/strong_vector.h"
#include "ortools/sat/sat_base.h"
#include "ortools/util/strong_integers.h"

Go to the source code of this file.

Classes

class  operations_research::sat::DratChecker
 

Namespaces

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

Enumerations

enum  operations_research::sat::SatFormat { operations_research::sat::DIMACS , operations_research::sat::DRAT }
 The file formats that can be used to save a list of clauses. More...
 

Functions

 operations_research::sat::DEFINE_STRONG_INDEX_TYPE (ClauseIndex)
 Index of a clause (>= 0).
 
const ClauseIndex operations_research::sat::kNoClauseIndex (-1)
 
bool operations_research::sat::ContainsLiteral (absl::Span< const Literal > clause, Literal literal)
 
bool operations_research::sat::Resolve (absl::Span< const Literal > clause, absl::Span< const Literal > other_clause, Literal complementary_literal, VariablesAssignment *assignment, std::vector< Literal > *resolvent)
 
bool operations_research::sat::AddProblemClauses (const std::string &file_path, DratChecker *drat_checker)
 
bool operations_research::sat::AddInferedAndDeletedClauses (const std::string &file_path, DratChecker *drat_checker)
 
bool operations_research::sat::PrintClauses (const std::string &file_path, SatFormat format, absl::Span< const std::vector< Literal > > clauses, int num_variables)