Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::sat::BooleanAssignment Class Referencefinal

Detailed Description

Definition at line 600 of file boolean_problem.pb.h.

#include <boolean_problem.pb.h>

Inheritance diagram for operations_research::sat::BooleanAssignment:

Classes

class  _Internal

Public Types

enum  : int { kLiteralsFieldNumber = 1 }
 nested types -------------------------------------------------— More...

Public Member Functions

 BooleanAssignment ()
 ~BooleanAssignment () PROTOBUF_FINAL
template<typename = void>
PROTOBUF_CONSTEXPR BooleanAssignment (::google::protobuf::internal::ConstantInitialized)
 BooleanAssignment (const BooleanAssignment &from)
 BooleanAssignment (BooleanAssignment &&from) noexcept
BooleanAssignmentoperator= (const BooleanAssignment &from)
BooleanAssignmentoperator= (BooleanAssignment &&from) noexcept
const ::google::protobuf::UnknownFieldSet & unknown_fields () const ABSL_ATTRIBUTE_LIFETIME_BOUND
inline ::google::protobuf::UnknownFieldSet *PROTOBUF_NONNULL mutable_unknown_fields () ABSL_ATTRIBUTE_LIFETIME_BOUND
void Swap (BooleanAssignment *PROTOBUF_NONNULL other)
void UnsafeArenaSwap (BooleanAssignment *PROTOBUF_NONNULL other)
BooleanAssignment *PROTOBUF_NONNULL New (::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
 implements Message -------------------------------------------—
void CopyFrom (const BooleanAssignment &from)
void MergeFrom (const BooleanAssignment &from)
bool IsInitialized () const
ABSL_ATTRIBUTE_REINITIALIZES void Clear () PROTOBUF_FINAL
::size_t ByteSizeLong () const final
::uint8_t *PROTOBUF_NONNULL _InternalSerialize (::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
int GetCachedSize () const
::google::protobuf::Metadata GetMetadata () const
int literals_size () const
 repeated int32 literals = 1;
void clear_literals ()
::int32_t literals (int index) const
void set_literals (int index, ::int32_t value)
void add_literals (::int32_t value)
const ::google::protobuf::RepeatedField<::int32_t > & literals () const
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL mutable_literals ()
template<typename>
PROTOBUF_CONSTEXPR BooleanAssignment (::_pbi::ConstantInitialized)

Static Public Member Functions

static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor ()
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor ()
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection ()
static const BooleanAssignmentdefault_instance ()
static constexpr auto InternalGenerateClassData_ ()

Static Public Attributes

static constexpr int kIndexInFileMessages = 2

Protected Member Functions

 BooleanAssignment (::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
 BooleanAssignment (::google::protobuf::Arena *PROTOBUF_NULLABLE arena, const BooleanAssignment &from)
 BooleanAssignment (::google::protobuf::Arena *PROTOBUF_NULLABLE arena, BooleanAssignment &&from) noexcept
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData () const PROTOBUF_FINAL

Static Protected Member Functions

static void *PROTOBUF_NONNULL PlacementNew_ (const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
static constexpr auto InternalNewImpl_ ()

Friends

class ::google::protobuf::internal::TcParser
class ::google::protobuf::MessageLite
class ::google::protobuf::Arena
template<typename T>
class ::google::protobuf::Arena::InternalHelper
struct ::TableStruct_ortools_2fsat_2fboolean_5fproblem_2eproto
void swap (BooleanAssignment &a, BooleanAssignment &b)

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int

nested types -------------------------------------------------—

accessors ----------------------------------------------------—

Enumerator
kLiteralsFieldNumber 

Definition at line 742 of file boolean_problem.pb.h.

Constructor & Destructor Documentation

◆ BooleanAssignment() [1/8]

operations_research::sat::BooleanAssignment::BooleanAssignment ( )
inline

Definition at line 603 of file boolean_problem.pb.h.

◆ ~BooleanAssignment()

operations_research::sat::BooleanAssignment::~BooleanAssignment ( )

@protoc_insertion_point(destructor:operations_research.sat.BooleanAssignment)

Definition at line 1040 of file boolean_problem.pb.cc.

◆ BooleanAssignment() [2/8]

template<typename = void>
PROTOBUF_CONSTEXPR operations_research::sat::BooleanAssignment::BooleanAssignment ( ::google::protobuf::internal::ConstantInitialized )
explicit

◆ BooleanAssignment() [3/8]

operations_research::sat::BooleanAssignment::BooleanAssignment ( const BooleanAssignment & from)
inline

Definition at line 616 of file boolean_problem.pb.h.

◆ BooleanAssignment() [4/8]

operations_research::sat::BooleanAssignment::BooleanAssignment ( BooleanAssignment && from)
inlinenoexcept

Definition at line 617 of file boolean_problem.pb.h.

◆ BooleanAssignment() [5/8]

operations_research::sat::BooleanAssignment::BooleanAssignment ( ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
explicitprotected

@protoc_insertion_point(arena_constructor:operations_research.sat.BooleanAssignment)

Definition at line 999 of file boolean_problem.pb.cc.

◆ BooleanAssignment() [6/8]

operations_research::sat::BooleanAssignment::BooleanAssignment ( ::google::protobuf::Arena *PROTOBUF_NULLABLE arena,
const BooleanAssignment & from )
protected

@protoc_insertion_point(copy_constructor:operations_research.sat.BooleanAssignment)

Definition at line 1015 of file boolean_problem.pb.cc.

◆ BooleanAssignment() [7/8]

operations_research::sat::BooleanAssignment::BooleanAssignment ( ::google::protobuf::Arena *PROTOBUF_NULLABLE arena,
BooleanAssignment && from )
inlineprotectednoexcept

Definition at line 724 of file boolean_problem.pb.h.

◆ BooleanAssignment() [8/8]

template<typename>
PROTOBUF_CONSTEXPR operations_research::sat::BooleanAssignment::BooleanAssignment ( ::_pbi::ConstantInitialized )

Definition at line 95 of file boolean_problem.pb.cc.

Member Function Documentation

◆ _InternalSerialize()

uint8_t *PROTOBUF_NONNULL operations_research::sat::BooleanAssignment::_InternalSerialize ( ::uint8_t *PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream ) const
final

@protoc_insertion_point(serialize_to_array_start:operations_research.sat.BooleanAssignment)

repeated int32 literals = 1;

@protoc_insertion_point(serialize_to_array_end:operations_research.sat.BooleanAssignment)

Definition at line 1156 of file boolean_problem.pb.cc.

◆ add_literals()

void operations_research::sat::BooleanAssignment::add_literals ( ::int32_t value)
inline

@protoc_insertion_point(field_add:operations_research.sat.BooleanAssignment.literals)

Definition at line 1511 of file boolean_problem.pb.h.

◆ ByteSizeLong()

size_t operations_research::sat::BooleanAssignment::ByteSizeLong ( ) const
final

@protoc_insertion_point(message_byte_size_start:operations_research.sat.BooleanAssignment)

Prevent compiler warnings about cached_has_bits being unused

repeated int32 literals = 1;

Definition at line 1185 of file boolean_problem.pb.cc.

◆ Clear()

PROTOBUF_NOINLINE void operations_research::sat::BooleanAssignment::Clear ( )

@protoc_insertion_point(message_clear_start:operations_research.sat.BooleanAssignment)

Prevent compiler warnings about cached_has_bits being unused

Definition at line 1139 of file boolean_problem.pb.cc.

◆ clear_literals()

void operations_research::sat::BooleanAssignment::clear_literals ( )
inline

Definition at line 1499 of file boolean_problem.pb.h.

◆ CopyFrom()

void operations_research::sat::BooleanAssignment::CopyFrom ( const BooleanAssignment & from)

@protoc_insertion_point(class_specific_copy_from_start:operations_research.sat.BooleanAssignment)

Definition at line 1222 of file boolean_problem.pb.cc.

◆ default_instance()

const BooleanAssignment & operations_research::sat::BooleanAssignment::default_instance ( )
inlinestatic

Definition at line 651 of file boolean_problem.pb.h.

◆ descriptor()

const ::google::protobuf::Descriptor *PROTOBUF_NONNULL operations_research::sat::BooleanAssignment::descriptor ( )
inlinestatic

Definition at line 642 of file boolean_problem.pb.h.

◆ GetCachedSize()

int operations_research::sat::BooleanAssignment::GetCachedSize ( ) const
inline

Definition at line 710 of file boolean_problem.pb.h.

◆ GetClassData()

PROTOBUF_ATTRIBUTE_WEAKconst::google::protobuf::internal::ClassData *PROTOBUF_NONNULL operations_research::sat::BooleanAssignment::GetClassData ( ) const
protected

Definition at line 1100 of file boolean_problem.pb.cc.

◆ GetDescriptor()

const ::google::protobuf::Descriptor *PROTOBUF_NONNULL operations_research::sat::BooleanAssignment::GetDescriptor ( )
inlinestatic

Definition at line 645 of file boolean_problem.pb.h.

◆ GetMetadata()

google::protobuf::Metadata operations_research::sat::BooleanAssignment::GetMetadata ( ) const

Definition at line 1236 of file boolean_problem.pb.cc.

◆ GetReflection()

const ::google::protobuf::Reflection *PROTOBUF_NONNULL operations_research::sat::BooleanAssignment::GetReflection ( )
inlinestatic

Definition at line 648 of file boolean_problem.pb.h.

◆ InternalGenerateClassData_()

auto operations_research::sat::BooleanAssignment::InternalGenerateClassData_ ( )
staticconstexpr

Definition at line 1072 of file boolean_problem.pb.cc.

◆ InternalNewImpl_()

auto operations_research::sat::BooleanAssignment::InternalNewImpl_ ( )
staticconstexprprotected

Definition at line 1056 of file boolean_problem.pb.cc.

◆ IsInitialized()

bool operations_research::sat::BooleanAssignment::IsInitialized ( ) const
inline

Definition at line 686 of file boolean_problem.pb.h.

◆ literals() [1/2]

const::google::protobuf::RepeatedField<::int32_t > & operations_research::sat::BooleanAssignment::literals ( ) const
inline

@protoc_insertion_point(field_list:operations_research.sat.BooleanAssignment.literals)

Definition at line 1516 of file boolean_problem.pb.h.

◆ literals() [2/2]

int32_t operations_research::sat::BooleanAssignment::literals ( int index) const
inline

@protoc_insertion_point(field_get:operations_research.sat.BooleanAssignment.literals)

Definition at line 1503 of file boolean_problem.pb.h.

◆ literals_size()

int operations_research::sat::BooleanAssignment::literals_size ( ) const
inline

repeated int32 literals = 1;

Definition at line 1496 of file boolean_problem.pb.h.

◆ MergeFrom()

void operations_research::sat::BooleanAssignment::MergeFrom ( const BooleanAssignment & from)
inline

Definition at line 679 of file boolean_problem.pb.h.

◆ mutable_literals()

google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL operations_research::sat::BooleanAssignment::mutable_literals ( )
inline

@protoc_insertion_point(field_mutable_list:operations_research.sat.BooleanAssignment.literals)

Definition at line 1521 of file boolean_problem.pb.h.

◆ mutable_unknown_fields()

inline ::google::protobuf::UnknownFieldSet *PROTOBUF_NONNULL operations_research::sat::BooleanAssignment::mutable_unknown_fields ( )
inline

Definition at line 637 of file boolean_problem.pb.h.

◆ New()

BooleanAssignment *PROTOBUF_NONNULL operations_research::sat::BooleanAssignment::New ( ::google::protobuf::Arena *PROTOBUF_NULLABLE arena = nullptr) const
inline

implements Message -------------------------------------------—

Definition at line 673 of file boolean_problem.pb.h.

◆ operator=() [1/2]

BooleanAssignment & operations_research::sat::BooleanAssignment::operator= ( BooleanAssignment && from)
inlinenoexcept

Definition at line 623 of file boolean_problem.pb.h.

◆ operator=() [2/2]

BooleanAssignment & operations_research::sat::BooleanAssignment::operator= ( const BooleanAssignment & from)
inline

Definition at line 619 of file boolean_problem.pb.h.

◆ PlacementNew_()

void *PROTOBUF_NONNULL operations_research::sat::BooleanAssignment::PlacementNew_ ( const void * PROTOBUF_NONNULL,
void *PROTOBUF_NONNULL mem,
::google::protobuf::Arena *PROTOBUF_NULLABLE arena )
inlinestaticprotected

Definition at line 1051 of file boolean_problem.pb.cc.

◆ set_literals()

void operations_research::sat::BooleanAssignment::set_literals ( int index,
::int32_t value )
inline

@protoc_insertion_point(field_set:operations_research.sat.BooleanAssignment.literals)

Definition at line 1507 of file boolean_problem.pb.h.

◆ Swap()

void operations_research::sat::BooleanAssignment::Swap ( BooleanAssignment *PROTOBUF_NONNULL other)
inline

Definition at line 657 of file boolean_problem.pb.h.

◆ unknown_fields()

const ::google::protobuf::UnknownFieldSet & operations_research::sat::BooleanAssignment::unknown_fields ( ) const
inline

Definition at line 633 of file boolean_problem.pb.h.

◆ UnsafeArenaSwap()

void operations_research::sat::BooleanAssignment::UnsafeArenaSwap ( BooleanAssignment *PROTOBUF_NONNULL other)
inline

Definition at line 665 of file boolean_problem.pb.h.

◆ ::google::protobuf::Arena

friend class ::google::protobuf::Arena
friend

Definition at line 773 of file boolean_problem.pb.h.

◆ ::google::protobuf::Arena::InternalHelper

template<typename T>
friend class ::google::protobuf::Arena::InternalHelper
friend

Definition at line 775 of file boolean_problem.pb.h.

◆ ::google::protobuf::internal::TcParser

friend class ::google::protobuf::internal::TcParser
friend

Definition at line 766 of file boolean_problem.pb.h.

◆ ::google::protobuf::MessageLite

friend class ::google::protobuf::MessageLite
friend

Definition at line 772 of file boolean_problem.pb.h.

◆ ::TableStruct_ortools_2fsat_2fboolean_5fproblem_2eproto

Definition at line 792 of file boolean_problem.pb.h.

◆ swap

void swap ( BooleanAssignment & a,
BooleanAssignment & b )
friend

Definition at line 656 of file boolean_problem.pb.h.

Member Data Documentation

◆ _impl_

Impl_ operations_research::sat::BooleanAssignment::_impl_

Definition at line 791 of file boolean_problem.pb.h.

◆ kIndexInFileMessages

int operations_research::sat::BooleanAssignment::kIndexInFileMessages = 2
staticconstexpr

Definition at line 655 of file boolean_problem.pb.h.


The documentation for this class was generated from the following files: