19#if !defined(__PORTABLE_PLATFORM__)
22#include "absl/status/status.h"
23#include "absl/strings/str_format.h"
24#include "absl/types/span.h"
31 if (output_ !=
nullptr) {
32#if !defined(__PORTABLE_PLATFORM__)
48void DratWriter::WriteClause(absl::Span<const Literal> clause) {
50 absl::StrAppendFormat(&buffer_,
"%d ",
literal.SignedValue());
53 if (buffer_.size() > 10000) {
54#if !defined(__PORTABLE_PLATFORM__)
void DeleteClause(absl::Span< const Literal > clause)
void AddClause(absl::Span< const Literal > clause)
absl::Status WriteString(File *file, const absl::string_view &contents, int flags)
Collection of objects used to extend the Constraint Solver library.