4 #ifndef PROTOBUF_INCLUDED_ortools_2fsat_2fcp_5fmodel_2eproto 5 #define PROTOBUF_INCLUDED_ortools_2fsat_2fcp_5fmodel_2eproto 10 #include <google/protobuf/port_def.inc> 11 #if PROTOBUF_VERSION < 3007000 12 #error This file was generated by a newer version of protoc which is 13 #error incompatible with your Protocol Buffer headers. Please update 16 #if 3007001 < PROTOBUF_MIN_PROTOC_VERSION 17 #error This file was generated by an older version of protoc which is 18 #error incompatible with your Protocol Buffer headers. Please 19 #error regenerate this file with a newer version of protoc. 22 #include <google/protobuf/port_undef.inc> 23 #include <google/protobuf/io/coded_stream.h> 24 #include <google/protobuf/arena.h> 25 #include <google/protobuf/arenastring.h> 26 #include <google/protobuf/generated_message_table_driven.h> 27 #include <google/protobuf/generated_message_util.h> 28 #include <google/protobuf/inlined_string_field.h> 29 #include <google/protobuf/metadata.h> 30 #include <google/protobuf/message.h> 31 #include <google/protobuf/repeated_field.h> 32 #include <google/protobuf/extension_set.h> 33 #include <google/protobuf/generated_enum_reflection.h> 34 #include <google/protobuf/unknown_field_set.h> 36 #include <google/protobuf/port_def.inc> 37 #define PROTOBUF_INTERNAL_EXPORT_ortools_2fsat_2fcp_5fmodel_2eproto 41 static const ::google::protobuf::internal::ParseTableField entries[]
43 static const ::google::protobuf::internal::AuxillaryParseTableField aux[]
45 static const ::google::protobuf::internal::ParseTable schema[24]
49 static const ::google::protobuf::uint32
offsets[];
54 class AllDifferentConstraintProto;
55 class AllDifferentConstraintProtoDefaultTypeInternal;
57 class AutomatonConstraintProto;
58 class AutomatonConstraintProtoDefaultTypeInternal;
60 class BoolArgumentProto;
61 class BoolArgumentProtoDefaultTypeInternal;
63 class CircuitConstraintProto;
64 class CircuitConstraintProtoDefaultTypeInternal;
66 class CircuitCoveringConstraintProto;
67 class CircuitCoveringConstraintProtoDefaultTypeInternal;
69 class ConstraintProto;
70 class ConstraintProtoDefaultTypeInternal;
73 class CpModelProtoDefaultTypeInternal;
75 class CpObjectiveProto;
76 class CpObjectiveProtoDefaultTypeInternal;
78 class CpSolverResponse;
79 class CpSolverResponseDefaultTypeInternal;
81 class CumulativeConstraintProto;
82 class CumulativeConstraintProtoDefaultTypeInternal;
84 class DecisionStrategyProto;
85 class DecisionStrategyProtoDefaultTypeInternal;
87 class DecisionStrategyProto_AffineTransformation;
88 class DecisionStrategyProto_AffineTransformationDefaultTypeInternal;
90 class ElementConstraintProto;
91 class ElementConstraintProtoDefaultTypeInternal;
93 class IntegerArgumentProto;
94 class IntegerArgumentProtoDefaultTypeInternal;
96 class IntegerVariableProto;
97 class IntegerVariableProtoDefaultTypeInternal;
99 class IntervalConstraintProto;
100 class IntervalConstraintProtoDefaultTypeInternal;
102 class InverseConstraintProto;
103 class InverseConstraintProtoDefaultTypeInternal;
105 class LinearConstraintProto;
106 class LinearConstraintProtoDefaultTypeInternal;
108 class NoOverlap2DConstraintProto;
109 class NoOverlap2DConstraintProtoDefaultTypeInternal;
111 class NoOverlapConstraintProto;
112 class NoOverlapConstraintProtoDefaultTypeInternal;
114 class PartialVariableAssignment;
115 class PartialVariableAssignmentDefaultTypeInternal;
117 class ReservoirConstraintProto;
118 class ReservoirConstraintProtoDefaultTypeInternal;
120 class RoutesConstraintProto;
121 class RoutesConstraintProtoDefaultTypeInternal;
123 class TableConstraintProto;
124 class TableConstraintProtoDefaultTypeInternal;
175 return ::google::protobuf::internal::NameOfEnum(
180 return ::google::protobuf::internal::ParseNamedEnum<DecisionStrategyProto_VariableSelectionStrategy>(
198 return ::google::protobuf::internal::NameOfEnum(
203 return ::google::protobuf::internal::ParseNamedEnum<DecisionStrategyProto_DomainReductionStrategy>(
222 return ::google::protobuf::internal::NameOfEnum(
227 return ::google::protobuf::internal::ParseNamedEnum<CpSolverStatus>(
232 class IntegerVariableProto :
233 public ::google::protobuf::Message {
247 *
this = ::std::move(from);
251 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
252 if (
this != &from) InternalSwap(&from);
259 static const ::google::protobuf::Descriptor*
descriptor() {
266 return reinterpret_cast<const IntegerVariableProto*>(
280 return CreateMaybeMessage<IntegerVariableProto>(
nullptr);
284 return CreateMaybeMessage<IntegerVariableProto>(arena);
286 void CopyFrom(const ::google::protobuf::Message& from)
final;
287 void MergeFrom(const ::google::protobuf::Message& from)
final;
290 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
294 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER 295 static const char* _InternalParse(
const char* begin,
const char* end,
void*
object, ::google::protobuf::internal::ParseContext* ctx);
296 ::google::protobuf::internal::ParseFunc _ParseFunc() const final {
return _InternalParse; }
299 ::google::protobuf::io::CodedInputStream* input)
final;
300 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER 302 ::google::protobuf::io::CodedOutputStream* output)
const final;
304 ::google::protobuf::uint8* target)
const final;
305 int GetCachedSize() const final {
return _cached_size_.Get(); }
310 void SetCachedSize(
int size)
const final;
313 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
316 inline void* MaybeArenaPtr()
const {
321 ::google::protobuf::Metadata
GetMetadata() const final;
334 const ::
google::protobuf::RepeatedField< ::
google::protobuf::int64 >&
336 ::
google::protobuf::RepeatedField< ::
google::protobuf::int64 >*
342 const ::std::
string&
name() const;
343 void set_name(const ::std::
string& value);
345 void set_name(::std::string&& value);
348 void set_name(
const char* value,
size_t size);
357 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
358 ::google::protobuf::RepeatedField< ::google::protobuf::int64 > domain_;
359 mutable std::atomic<int> _domain_cached_byte_size_;
360 ::google::protobuf::internal::ArenaStringPtr name_;
361 mutable ::google::protobuf::internal::CachedSize _cached_size_;
362 friend struct ::TableStruct_ortools_2fsat_2fcp_5fmodel_2eproto;
367 public ::google::protobuf::Message {
381 *
this = ::std::move(from);
385 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
386 if (
this != &from) InternalSwap(&from);
393 static const ::google::protobuf::Descriptor*
descriptor() {
400 return reinterpret_cast<const BoolArgumentProto*>(
414 return CreateMaybeMessage<BoolArgumentProto>(
nullptr);
418 return CreateMaybeMessage<BoolArgumentProto>(arena);
420 void CopyFrom(const ::google::protobuf::Message& from)
final;
421 void MergeFrom(const ::google::protobuf::Message& from)
final;
424 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
428 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER 429 static const char* _InternalParse(
const char* begin,
const char* end,
void*
object, ::google::protobuf::internal::ParseContext* ctx);
430 ::google::protobuf::internal::ParseFunc _ParseFunc() const final {
return _InternalParse; }
433 ::google::protobuf::io::CodedInputStream* input)
final;
434 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER 436 ::google::protobuf::io::CodedOutputStream* output)
const final;
438 ::google::protobuf::uint8* target)
const final;
439 int GetCachedSize() const final {
return _cached_size_.Get(); }
444 void SetCachedSize(
int size)
const final;
447 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
450 inline void* MaybeArenaPtr()
const {
455 ::google::protobuf::Metadata
GetMetadata() const final;
468 const ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 >&
470 ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 >*
477 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
478 ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 > literals_;
479 mutable std::atomic<
int> _literals_cached_byte_size_;
480 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
486 public ::
google::protobuf::Message {
500 *
this = ::std::move(from);
503 inline IntegerArgumentProto&
operator=(IntegerArgumentProto&& from) noexcept {
504 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
505 if (
this != &from) InternalSwap(&from);
512 static const ::google::protobuf::Descriptor*
descriptor() {
519 return reinterpret_cast<const IntegerArgumentProto*>(
533 return CreateMaybeMessage<IntegerArgumentProto>(
nullptr);
537 return CreateMaybeMessage<IntegerArgumentProto>(arena);
539 void CopyFrom(const ::google::protobuf::Message& from)
final;
540 void MergeFrom(const ::google::protobuf::Message& from)
final;
543 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
547 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER 548 static const char* _InternalParse(
const char* begin,
const char* end,
void*
object, ::google::protobuf::internal::ParseContext* ctx);
549 ::google::protobuf::internal::ParseFunc _ParseFunc() const final {
return _InternalParse; }
552 ::google::protobuf::io::CodedInputStream* input)
final;
553 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER 555 ::google::protobuf::io::CodedOutputStream* output)
const final;
557 ::google::protobuf::uint8* target)
const final;
558 int GetCachedSize() const final {
return _cached_size_.Get(); }
563 void SetCachedSize(
int size)
const final;
566 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
569 inline void* MaybeArenaPtr()
const {
574 ::google::protobuf::Metadata
GetMetadata() const final;
581 int vars_size() const;
583 static const
int kVarsFieldNumber = 2;
584 ::
google::protobuf::int32 vars(
int index) const;
585 void set_vars(
int index, ::
google::protobuf::int32 value);
586 void add_vars(::
google::protobuf::int32 value);
587 const ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 >&
589 ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 >*
594 static const
int kTargetFieldNumber = 1;
595 ::
google::protobuf::int32 target() const;
596 void set_target(::
google::protobuf::int32 value);
602 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
603 ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 > vars_;
604 mutable std::atomic<
int> _vars_cached_byte_size_;
605 ::
google::protobuf::int32 target_;
606 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
612 public ::
google::protobuf::Message {
626 *
this = ::std::move(from);
630 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
631 if (
this != &from) InternalSwap(&from);
638 static const ::google::protobuf::Descriptor*
descriptor() {
645 return reinterpret_cast<const AllDifferentConstraintProto*>(
659 return CreateMaybeMessage<AllDifferentConstraintProto>(
nullptr);
663 return CreateMaybeMessage<AllDifferentConstraintProto>(arena);
665 void CopyFrom(const ::google::protobuf::Message& from)
final;
666 void MergeFrom(const ::google::protobuf::Message& from)
final;
669 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
673 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER 674 static const char* _InternalParse(
const char* begin,
const char* end,
void*
object, ::google::protobuf::internal::ParseContext* ctx);
675 ::google::protobuf::internal::ParseFunc _ParseFunc() const final {
return _InternalParse; }
678 ::google::protobuf::io::CodedInputStream* input)
final;
679 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER 681 ::google::protobuf::io::CodedOutputStream* output)
const final;
683 ::google::protobuf::uint8* target)
const final;
684 int GetCachedSize() const final {
return _cached_size_.Get(); }
689 void SetCachedSize(
int size)
const final;
692 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
695 inline void* MaybeArenaPtr()
const {
700 ::google::protobuf::Metadata
GetMetadata() const final;
707 int vars_size() const;
709 static const
int kVarsFieldNumber = 1;
710 ::
google::protobuf::int32 vars(
int index) const;
711 void set_vars(
int index, ::
google::protobuf::int32 value);
712 void add_vars(::
google::protobuf::int32 value);
715 ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 >*
722 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
723 ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 > vars_;
724 mutable std::atomic<
int> _vars_cached_byte_size_;
725 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
731 public ::
google::protobuf::Message {
745 *
this = ::std::move(from);
749 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
750 if (
this != &from) InternalSwap(&from);
757 static const ::google::protobuf::Descriptor*
descriptor() {
764 return reinterpret_cast<const LinearConstraintProto*>(
778 return CreateMaybeMessage<LinearConstraintProto>(
nullptr);
782 return CreateMaybeMessage<LinearConstraintProto>(arena);
784 void CopyFrom(const ::google::protobuf::Message& from)
final;
785 void MergeFrom(const ::google::protobuf::Message& from)
final;
788 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
792 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER 793 static const char* _InternalParse(
const char* begin,
const char* end,
void*
object, ::google::protobuf::internal::ParseContext* ctx);
794 ::google::protobuf::internal::ParseFunc _ParseFunc() const final {
return _InternalParse; }
797 ::google::protobuf::io::CodedInputStream* input)
final;
798 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER 800 ::google::protobuf::io::CodedOutputStream* output)
const final;
802 ::google::protobuf::uint8* target)
const final;
803 int GetCachedSize() const final {
return _cached_size_.Get(); }
808 void SetCachedSize(
int size)
const final;
811 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
814 inline void* MaybeArenaPtr()
const {
819 ::google::protobuf::Metadata
GetMetadata() const final;
826 int vars_size() const;
828 static const
int kVarsFieldNumber = 1;
829 ::
google::protobuf::int32 vars(
int index) const;
830 void set_vars(
int index, ::
google::protobuf::int32 value);
831 void add_vars(::
google::protobuf::int32 value);
832 const ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 >&
834 ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 >*
838 int coeffs_size() const;
840 static const
int kCoeffsFieldNumber = 2;
841 ::
google::protobuf::int64 coeffs(
int index) const;
842 void set_coeffs(
int index, ::
google::protobuf::int64 value);
843 void add_coeffs(::
google::protobuf::int64 value);
844 const ::
google::protobuf::RepeatedField< ::
google::protobuf::int64 >&
846 ::
google::protobuf::RepeatedField< ::
google::protobuf::int64 >*
850 int domain_size() const;
852 static const
int kDomainFieldNumber = 3;
853 ::
google::protobuf::int64 domain(
int index) const;
854 void set_domain(
int index, ::
google::protobuf::int64 value);
855 void add_domain(::
google::protobuf::int64 value);
856 const ::
google::protobuf::RepeatedField< ::
google::protobuf::int64 >&
858 ::
google::protobuf::RepeatedField< ::
google::protobuf::int64 >*
865 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
866 ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 > vars_;
867 mutable std::atomic<
int> _vars_cached_byte_size_;
868 ::
google::protobuf::RepeatedField< ::
google::protobuf::int64 > coeffs_;
869 mutable std::atomic<
int> _coeffs_cached_byte_size_;
870 ::
google::protobuf::RepeatedField< ::
google::protobuf::int64 > domain_;
871 mutable std::atomic<
int> _domain_cached_byte_size_;
872 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
892 *
this = ::std::move(from);
896 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
897 if (
this != &from) InternalSwap(&from);
904 static const ::google::protobuf::Descriptor*
descriptor() {
911 return reinterpret_cast<const ElementConstraintProto*>(
925 return CreateMaybeMessage<ElementConstraintProto>(
nullptr);
929 return CreateMaybeMessage<ElementConstraintProto>(arena);
931 void CopyFrom(const ::google::protobuf::Message& from)
final;
932 void MergeFrom(const ::google::protobuf::Message& from)
final;
935 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
939 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER 940 static const char* _InternalParse(
const char* begin,
const char* end,
void*
object, ::google::protobuf::internal::ParseContext* ctx);
941 ::google::protobuf::internal::ParseFunc _ParseFunc() const final {
return _InternalParse; }
944 ::google::protobuf::io::CodedInputStream* input)
final;
945 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER 947 ::google::protobuf::io::CodedOutputStream* output)
const final;
949 ::google::protobuf::uint8* target)
const final;
950 int GetCachedSize() const final {
return _cached_size_.Get(); }
955 void SetCachedSize(
int size)
const final;
958 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
961 inline void* MaybeArenaPtr()
const {
966 ::google::protobuf::Metadata
GetMetadata() const final;
973 int vars_size() const;
975 static const
int kVarsFieldNumber = 3;
976 ::
google::protobuf::int32 vars(
int index) const;
977 void set_vars(
int index, ::
google::protobuf::int32 value);
978 void add_vars(::
google::protobuf::int32 value);
979 const ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 >&
986 static const
int kIndexFieldNumber = 1;
987 ::
google::protobuf::int32 index() const;
988 void set_index(::
google::protobuf::int32 value);
992 static const
int kTargetFieldNumber = 2;
993 ::
google::protobuf::int32 target() const;
994 void set_target(::
google::protobuf::int32 value);
1000 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1001 ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 > vars_;
1002 mutable std::atomic<
int> _vars_cached_byte_size_;
1003 ::
google::protobuf::int32 index_;
1004 ::
google::protobuf::int32 target_;
1005 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
1011 public ::
google::protobuf::Message {
1025 *
this = ::std::move(from);
1029 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1030 if (
this != &from) InternalSwap(&from);
1037 static const ::google::protobuf::Descriptor*
descriptor() {
1044 return reinterpret_cast<const IntervalConstraintProto*>(
1058 return CreateMaybeMessage<IntervalConstraintProto>(
nullptr);
1062 return CreateMaybeMessage<IntervalConstraintProto>(arena);
1064 void CopyFrom(const ::google::protobuf::Message& from)
final;
1065 void MergeFrom(const ::google::protobuf::Message& from)
final;
1068 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
1072 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER 1073 static const char* _InternalParse(
const char* begin,
const char* end,
void*
object, ::google::protobuf::internal::ParseContext* ctx);
1074 ::google::protobuf::internal::ParseFunc _ParseFunc() const final {
return _InternalParse; }
1077 ::google::protobuf::io::CodedInputStream* input)
final;
1078 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER 1080 ::google::protobuf::io::CodedOutputStream* output)
const final;
1082 ::google::protobuf::uint8* target)
const final;
1083 int GetCachedSize() const final {
return _cached_size_.Get(); }
1088 void SetCachedSize(
int size)
const final;
1089 void InternalSwap(IntervalConstraintProto* other);
1091 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1094 inline void* MaybeArenaPtr()
const {
1099 ::google::protobuf::Metadata
GetMetadata() const final;
1107 static const
int kStartFieldNumber = 1;
1108 ::
google::protobuf::int32 start() const;
1109 void set_start(::
google::protobuf::int32 value);
1113 static const
int kEndFieldNumber = 2;
1115 void set_end(::
google::protobuf::int32 value);
1119 static const
int kSizeFieldNumber = 3;
1121 void set_size(::
google::protobuf::int32 value);
1125 class HasBitSetters;
1127 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1128 ::
google::protobuf::int32 start_;
1129 ::
google::protobuf::int32 end_;
1130 ::
google::protobuf::int32 size_;
1131 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
1137 public ::
google::protobuf::Message {
1151 *
this = ::std::move(from);
1155 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1156 if (
this != &from) InternalSwap(&from);
1163 static const ::google::protobuf::Descriptor*
descriptor() {
1170 return reinterpret_cast<const NoOverlapConstraintProto*>(
1184 return CreateMaybeMessage<NoOverlapConstraintProto>(
nullptr);
1188 return CreateMaybeMessage<NoOverlapConstraintProto>(arena);
1190 void CopyFrom(const ::google::protobuf::Message& from)
final;
1191 void MergeFrom(const ::google::protobuf::Message& from)
final;
1194 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
1198 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER 1199 static const char* _InternalParse(
const char* begin,
const char* end,
void*
object, ::google::protobuf::internal::ParseContext* ctx);
1200 ::google::protobuf::internal::ParseFunc _ParseFunc() const final {
return _InternalParse; }
1203 ::google::protobuf::io::CodedInputStream* input)
final;
1204 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER 1206 ::google::protobuf::io::CodedOutputStream* output)
const final;
1208 ::google::protobuf::uint8* target)
const final;
1209 int GetCachedSize() const final {
return _cached_size_.Get(); }
1214 void SetCachedSize(
int size)
const final;
1215 void InternalSwap(NoOverlapConstraintProto* other);
1217 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1220 inline void* MaybeArenaPtr()
const {
1225 ::google::protobuf::Metadata
GetMetadata() const final;
1232 int intervals_size() const;
1233 void clear_intervals();
1234 static const
int kIntervalsFieldNumber = 1;
1235 ::
google::protobuf::int32 intervals(
int index) const;
1236 void set_intervals(
int index, ::
google::protobuf::int32 value);
1237 void add_intervals(::
google::protobuf::int32 value);
1238 const ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 >&
1240 ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 >*
1241 mutable_intervals();
1245 class HasBitSetters;
1247 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1248 ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 > intervals_;
1249 mutable std::atomic<
int> _intervals_cached_byte_size_;
1250 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
1256 public ::
google::protobuf::Message {
1270 *
this = ::std::move(from);
1274 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1275 if (
this != &from) InternalSwap(&from);
1282 static const ::google::protobuf::Descriptor*
descriptor() {
1289 return reinterpret_cast<const NoOverlap2DConstraintProto*>(
1303 return CreateMaybeMessage<NoOverlap2DConstraintProto>(
nullptr);
1307 return CreateMaybeMessage<NoOverlap2DConstraintProto>(arena);
1309 void CopyFrom(const ::google::protobuf::Message& from)
final;
1310 void MergeFrom(const ::google::protobuf::Message& from)
final;
1313 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
1317 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER 1318 static const char* _InternalParse(
const char* begin,
const char* end,
void*
object, ::google::protobuf::internal::ParseContext* ctx);
1319 ::google::protobuf::internal::ParseFunc _ParseFunc() const final {
return _InternalParse; }
1322 ::google::protobuf::io::CodedInputStream* input)
final;
1323 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER 1325 ::google::protobuf::io::CodedOutputStream* output)
const final;
1327 ::google::protobuf::uint8* target)
const final;
1328 int GetCachedSize() const final {
return _cached_size_.Get(); }
1333 void SetCachedSize(
int size)
const final;
1334 void InternalSwap(NoOverlap2DConstraintProto* other);
1336 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1339 inline void* MaybeArenaPtr()
const {
1344 ::google::protobuf::Metadata
GetMetadata() const final;
1351 int x_intervals_size() const;
1352 void clear_x_intervals();
1353 static const
int kXIntervalsFieldNumber = 1;
1354 ::
google::protobuf::int32 x_intervals(
int index) const;
1355 void set_x_intervals(
int index, ::
google::protobuf::int32 value);
1356 void add_x_intervals(::
google::protobuf::int32 value);
1357 const ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 >&
1358 x_intervals() const;
1359 ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 >*
1360 mutable_x_intervals();
1363 int y_intervals_size() const;
1364 void clear_y_intervals();
1365 static const
int kYIntervalsFieldNumber = 2;
1366 ::
google::protobuf::int32 y_intervals(
int index) const;
1367 void set_y_intervals(
int index, ::
google::protobuf::int32 value);
1368 void add_y_intervals(::
google::protobuf::int32 value);
1369 const ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 >&
1370 y_intervals() const;
1371 ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 >*
1372 mutable_y_intervals();
1376 class HasBitSetters;
1378 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1379 ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 > x_intervals_;
1380 mutable std::atomic<
int> _x_intervals_cached_byte_size_;
1381 ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 > y_intervals_;
1382 mutable std::atomic<
int> _y_intervals_cached_byte_size_;
1383 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
1389 public ::
google::protobuf::Message {
1403 *
this = ::std::move(from);
1407 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1408 if (
this != &from) InternalSwap(&from);
1415 static const ::google::protobuf::Descriptor*
descriptor() {
1422 return reinterpret_cast<const CumulativeConstraintProto*>(
1436 return CreateMaybeMessage<CumulativeConstraintProto>(
nullptr);
1440 return CreateMaybeMessage<CumulativeConstraintProto>(arena);
1442 void CopyFrom(const ::google::protobuf::Message& from)
final;
1443 void MergeFrom(const ::google::protobuf::Message& from)
final;
1446 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
1450 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER 1451 static const char* _InternalParse(
const char* begin,
const char* end,
void*
object, ::google::protobuf::internal::ParseContext* ctx);
1452 ::google::protobuf::internal::ParseFunc _ParseFunc() const final {
return _InternalParse; }
1455 ::google::protobuf::io::CodedInputStream* input)
final;
1456 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER 1458 ::google::protobuf::io::CodedOutputStream* output)
const final;
1460 ::google::protobuf::uint8* target)
const final;
1461 int GetCachedSize() const final {
return _cached_size_.Get(); }
1466 void SetCachedSize(
int size)
const final;
1467 void InternalSwap(CumulativeConstraintProto* other);
1469 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1472 inline void* MaybeArenaPtr()
const {
1477 ::google::protobuf::Metadata
GetMetadata() const final;
1484 int intervals_size() const;
1485 void clear_intervals();
1486 static const
int kIntervalsFieldNumber = 2;
1487 ::
google::protobuf::int32 intervals(
int index) const;
1488 void set_intervals(
int index, ::
google::protobuf::int32 value);
1489 void add_intervals(::
google::protobuf::int32 value);
1490 const ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 >&
1492 ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 >*
1493 mutable_intervals();
1496 int demands_size() const;
1497 void clear_demands();
1498 static const
int kDemandsFieldNumber = 3;
1499 ::
google::protobuf::int32 demands(
int index) const;
1500 void set_demands(
int index, ::
google::protobuf::int32 value);
1501 void add_demands(::
google::protobuf::int32 value);
1502 const ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 >&
1504 ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 >*
1508 void clear_capacity();
1509 static const
int kCapacityFieldNumber = 1;
1510 ::
google::protobuf::int32 capacity() const;
1511 void set_capacity(::
google::protobuf::int32 value);
1515 class HasBitSetters;
1517 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1518 ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 > intervals_;
1519 mutable std::atomic<
int> _intervals_cached_byte_size_;
1520 ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 > demands_;
1521 mutable std::atomic<
int> _demands_cached_byte_size_;
1522 ::
google::protobuf::int32 capacity_;
1523 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
1529 public ::
google::protobuf::Message {
1543 *
this = ::std::move(from);
1546 inline ReservoirConstraintProto&
operator=(ReservoirConstraintProto&& from) noexcept {
1547 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1548 if (
this != &from) InternalSwap(&from);
1555 static const ::google::protobuf::Descriptor*
descriptor() {
1562 return reinterpret_cast<const ReservoirConstraintProto*>(
1576 return CreateMaybeMessage<ReservoirConstraintProto>(
nullptr);
1580 return CreateMaybeMessage<ReservoirConstraintProto>(arena);
1582 void CopyFrom(const ::google::protobuf::Message& from)
final;
1583 void MergeFrom(const ::google::protobuf::Message& from)
final;
1586 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
1590 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER 1591 static const char* _InternalParse(
const char* begin,
const char* end,
void*
object, ::google::protobuf::internal::ParseContext* ctx);
1592 ::google::protobuf::internal::ParseFunc _ParseFunc() const final {
return _InternalParse; }
1595 ::google::protobuf::io::CodedInputStream* input)
final;
1596 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER 1598 ::google::protobuf::io::CodedOutputStream* output)
const final;
1600 ::google::protobuf::uint8* target)
const final;
1601 int GetCachedSize() const final {
return _cached_size_.Get(); }
1606 void SetCachedSize(
int size)
const final;
1607 void InternalSwap(ReservoirConstraintProto* other);
1609 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1612 inline void* MaybeArenaPtr()
const {
1617 ::google::protobuf::Metadata
GetMetadata() const final;
1624 int times_size() const;
1626 static const
int kTimesFieldNumber = 3;
1627 ::
google::protobuf::int32 times(
int index) const;
1628 void set_times(
int index, ::
google::protobuf::int32 value);
1629 void add_times(::
google::protobuf::int32 value);
1630 const ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 >&
1632 ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 >*
1636 int demands_size() const;
1637 void clear_demands();
1638 static const
int kDemandsFieldNumber = 4;
1639 ::
google::protobuf::int64 demands(
int index) const;
1640 void set_demands(
int index, ::
google::protobuf::int64 value);
1641 void add_demands(::
google::protobuf::int64 value);
1642 const ::
google::protobuf::RepeatedField< ::
google::protobuf::int64 >&
1644 ::
google::protobuf::RepeatedField< ::
google::protobuf::int64 >*
1648 int actives_size() const;
1649 void clear_actives();
1650 static const
int kActivesFieldNumber = 5;
1651 ::
google::protobuf::int32 actives(
int index) const;
1652 void set_actives(
int index, ::
google::protobuf::int32 value);
1653 void add_actives(::
google::protobuf::int32 value);
1654 const ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 >&
1656 ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 >*
1660 void clear_min_level();
1661 static const
int kMinLevelFieldNumber = 1;
1662 ::
google::protobuf::int64 min_level() const;
1663 void set_min_level(::
google::protobuf::int64 value);
1666 void clear_max_level();
1667 static const
int kMaxLevelFieldNumber = 2;
1668 ::
google::protobuf::int64 max_level() const;
1669 void set_max_level(::
google::protobuf::int64 value);
1673 class HasBitSetters;
1675 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1676 ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 > times_;
1677 mutable std::atomic<
int> _times_cached_byte_size_;
1679 mutable std::atomic<
int> _demands_cached_byte_size_;
1680 ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 > actives_;
1681 mutable std::atomic<
int> _actives_cached_byte_size_;
1682 ::
google::protobuf::int64 min_level_;
1683 ::
google::protobuf::int64 max_level_;
1684 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
1690 public ::
google::protobuf::Message {
1704 *
this = ::std::move(from);
1708 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1709 if (
this != &from) InternalSwap(&from);
1716 static const ::google::protobuf::Descriptor*
descriptor() {
1723 return reinterpret_cast<const CircuitConstraintProto*>(
1737 return CreateMaybeMessage<CircuitConstraintProto>(
nullptr);
1741 return CreateMaybeMessage<CircuitConstraintProto>(arena);
1743 void CopyFrom(const ::google::protobuf::Message& from)
final;
1744 void MergeFrom(const ::google::protobuf::Message& from)
final;
1747 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
1751 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER 1752 static const char* _InternalParse(
const char* begin,
const char* end,
void*
object, ::google::protobuf::internal::ParseContext* ctx);
1753 ::google::protobuf::internal::ParseFunc _ParseFunc() const final {
return _InternalParse; }
1756 ::google::protobuf::io::CodedInputStream* input)
final;
1757 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER 1759 ::google::protobuf::io::CodedOutputStream* output)
const final;
1761 ::google::protobuf::uint8* target)
const final;
1762 int GetCachedSize() const final {
return _cached_size_.Get(); }
1767 void SetCachedSize(
int size)
const final;
1768 void InternalSwap(CircuitConstraintProto* other);
1770 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1773 inline void* MaybeArenaPtr()
const {
1778 ::google::protobuf::Metadata
GetMetadata() const final;
1785 int tails_size() const;
1787 static const
int kTailsFieldNumber = 3;
1788 ::
google::protobuf::int32 tails(
int index) const;
1789 void set_tails(
int index, ::
google::protobuf::int32 value);
1790 void add_tails(::
google::protobuf::int32 value);
1791 const ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 >&
1793 ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 >*
1797 int heads_size() const;
1799 static const
int kHeadsFieldNumber = 4;
1800 ::
google::protobuf::int32 heads(
int index) const;
1801 void set_heads(
int index, ::
google::protobuf::int32 value);
1802 void add_heads(::
google::protobuf::int32 value);
1803 const ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 >&
1805 ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 >*
1815 const ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 >&
1817 ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 >*
1822 class HasBitSetters;
1824 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1825 ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 > tails_;
1826 mutable std::atomic<
int> _tails_cached_byte_size_;
1827 ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 > heads_;
1828 mutable std::atomic<
int> _heads_cached_byte_size_;
1829 ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 > literals_;
1830 mutable std::atomic<
int> _literals_cached_byte_size_;
1831 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
1837 public ::
google::protobuf::Message {
1851 *
this = ::std::move(from);
1855 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1856 if (
this != &from) InternalSwap(&from);
1863 static const ::google::protobuf::Descriptor*
descriptor() {
1870 return reinterpret_cast<const RoutesConstraintProto*>(
1884 return CreateMaybeMessage<RoutesConstraintProto>(
nullptr);
1888 return CreateMaybeMessage<RoutesConstraintProto>(arena);
1890 void CopyFrom(const ::google::protobuf::Message& from)
final;
1891 void MergeFrom(const ::google::protobuf::Message& from)
final;
1894 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
1898 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER 1899 static const char* _InternalParse(
const char* begin,
const char* end,
void*
object, ::google::protobuf::internal::ParseContext* ctx);
1900 ::google::protobuf::internal::ParseFunc _ParseFunc() const final {
return _InternalParse; }
1903 ::google::protobuf::io::CodedInputStream* input)
final;
1904 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER 1906 ::google::protobuf::io::CodedOutputStream* output)
const final;
1908 ::google::protobuf::uint8* target)
const final;
1909 int GetCachedSize() const final {
return _cached_size_.Get(); }
1914 void SetCachedSize(
int size)
const final;
1915 void InternalSwap(RoutesConstraintProto* other);
1917 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1920 inline void* MaybeArenaPtr()
const {
1925 ::google::protobuf::Metadata
GetMetadata() const final;
1932 int tails_size() const;
1934 static const
int kTailsFieldNumber = 1;
1935 ::
google::protobuf::int32 tails(
int index) const;
1936 void set_tails(
int index, ::
google::protobuf::int32 value);
1937 void add_tails(::
google::protobuf::int32 value);
1938 const ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 >&
1940 ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 >*
1944 int heads_size() const;
1946 static const
int kHeadsFieldNumber = 2;
1947 ::
google::protobuf::int32 heads(
int index) const;
1948 void set_heads(
int index, ::
google::protobuf::int32 value);
1949 void add_heads(::
google::protobuf::int32 value);
1950 const ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 >&
1952 ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 >*
1962 const ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 >&
1964 ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 >*
1968 int demands_size() const;
1969 void clear_demands();
1970 static const
int kDemandsFieldNumber = 4;
1971 ::
google::protobuf::int32 demands(
int index) const;
1972 void set_demands(
int index, ::
google::protobuf::int32 value);
1973 void add_demands(::
google::protobuf::int32 value);
1974 const ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 >&
1976 ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 >*
1980 void clear_capacity();
1981 static const
int kCapacityFieldNumber = 5;
1982 ::
google::protobuf::int64 capacity() const;
1983 void set_capacity(::
google::protobuf::int64 value);
1987 class HasBitSetters;
1989 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1990 ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 > tails_;
1991 mutable std::atomic<
int> _tails_cached_byte_size_;
1992 ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 > heads_;
1993 mutable std::atomic<
int> _heads_cached_byte_size_;
1995 mutable std::atomic<
int> _literals_cached_byte_size_;
1996 ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 > demands_;
1997 mutable std::atomic<
int> _demands_cached_byte_size_;
1998 ::
google::protobuf::int64 capacity_;
1999 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
2005 public ::
google::protobuf::Message {
2019 *
this = ::std::move(from);
2023 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2024 if (
this != &from) InternalSwap(&from);
2031 static const ::google::protobuf::Descriptor*
descriptor() {
2038 return reinterpret_cast<const CircuitCoveringConstraintProto*>(
2044 void Swap(CircuitCoveringConstraintProto* other);
2052 return CreateMaybeMessage<CircuitCoveringConstraintProto>(
nullptr);
2056 return CreateMaybeMessage<CircuitCoveringConstraintProto>(arena);
2058 void CopyFrom(const ::google::protobuf::Message& from)
final;
2059 void MergeFrom(const ::google::protobuf::Message& from)
final;
2062 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
2066 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER 2067 static const char* _InternalParse(
const char* begin,
const char* end,
void*
object, ::google::protobuf::internal::ParseContext* ctx);
2068 ::google::protobuf::internal::ParseFunc _ParseFunc() const final {
return _InternalParse; }
2071 ::google::protobuf::io::CodedInputStream* input)
final;
2072 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER 2074 ::google::protobuf::io::CodedOutputStream* output)
const final;
2076 ::google::protobuf::uint8* target)
const final;
2077 int GetCachedSize() const final {
return _cached_size_.Get(); }
2082 void SetCachedSize(
int size)
const final;
2085 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
2088 inline void* MaybeArenaPtr()
const {
2093 ::google::protobuf::Metadata
GetMetadata() const final;
2100 int nexts_size() const;
2102 static const
int kNextsFieldNumber = 1;
2103 ::
google::protobuf::int32 nexts(
int index) const;
2104 void set_nexts(
int index, ::
google::protobuf::int32 value);
2105 void add_nexts(::
google::protobuf::int32 value);
2106 const ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 >&
2108 ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 >*
2112 int distinguished_nodes_size() const;
2113 void clear_distinguished_nodes();
2114 static const
int kDistinguishedNodesFieldNumber = 2;
2115 ::
google::protobuf::int64 distinguished_nodes(
int index) const;
2116 void set_distinguished_nodes(
int index, ::
google::protobuf::int64 value);
2117 void add_distinguished_nodes(::
google::protobuf::int64 value);
2118 const ::
google::protobuf::RepeatedField< ::
google::protobuf::int64 >&
2119 distinguished_nodes() const;
2120 ::
google::protobuf::RepeatedField< ::
google::protobuf::int64 >*
2121 mutable_distinguished_nodes();
2125 class HasBitSetters;
2127 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2129 mutable std::atomic<
int> _nexts_cached_byte_size_;
2130 ::
google::protobuf::RepeatedField< ::
google::protobuf::int64 > distinguished_nodes_;
2131 mutable std::atomic<
int> _distinguished_nodes_cached_byte_size_;
2132 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
2138 public ::
google::protobuf::Message {
2152 *
this = ::std::move(from);
2156 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2157 if (
this != &from) InternalSwap(&from);
2164 static const ::google::protobuf::Descriptor*
descriptor() {
2171 return reinterpret_cast<const TableConstraintProto*>(
2177 void Swap(TableConstraintProto* other);
2178 friend void swap(TableConstraintProto& a, TableConstraintProto& b) {
2185 return CreateMaybeMessage<TableConstraintProto>(
nullptr);
2189 return CreateMaybeMessage<TableConstraintProto>(arena);
2191 void CopyFrom(const ::google::protobuf::Message& from)
final;
2192 void MergeFrom(const ::google::protobuf::Message& from)
final;
2195 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
2199 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER 2200 static const char* _InternalParse(
const char* begin,
const char* end,
void*
object, ::google::protobuf::internal::ParseContext* ctx);
2201 ::google::protobuf::internal::ParseFunc _ParseFunc() const final {
return _InternalParse; }
2204 ::google::protobuf::io::CodedInputStream* input)
final;
2205 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER 2207 ::google::protobuf::io::CodedOutputStream* output)
const final;
2209 ::google::protobuf::uint8* target)
const final;
2210 int GetCachedSize() const final {
return _cached_size_.Get(); }
2215 void SetCachedSize(
int size)
const final;
2218 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
2221 inline void* MaybeArenaPtr()
const {
2226 ::google::protobuf::Metadata
GetMetadata() const final;
2233 int vars_size() const;
2235 static const
int kVarsFieldNumber = 1;
2236 ::
google::protobuf::int32 vars(
int index) const;
2237 void set_vars(
int index, ::
google::protobuf::int32 value);
2238 void add_vars(::
google::protobuf::int32 value);
2239 const ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 >&
2241 ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 >*
2245 int values_size() const;
2246 void clear_values();
2247 static const
int kValuesFieldNumber = 2;
2248 ::
google::protobuf::int64 values(
int index) const;
2249 void set_values(
int index, ::
google::protobuf::int64 value);
2250 void add_values(::
google::protobuf::int64 value);
2251 const ::
google::protobuf::RepeatedField< ::
google::protobuf::int64 >&
2253 ::
google::protobuf::RepeatedField< ::
google::protobuf::int64 >*
2257 void clear_negated();
2258 static const
int kNegatedFieldNumber = 3;
2259 bool negated() const;
2260 void set_negated(
bool value);
2264 class HasBitSetters;
2266 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2267 ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 > vars_;
2268 mutable std::atomic<
int> _vars_cached_byte_size_;
2269 ::
google::protobuf::RepeatedField< ::
google::protobuf::int64 > values_;
2270 mutable std::atomic<
int> _values_cached_byte_size_;
2272 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
2278 public ::
google::protobuf::Message {
2292 *
this = ::std::move(from);
2296 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2297 if (
this != &from) InternalSwap(&from);
2304 static const ::google::protobuf::Descriptor*
descriptor() {
2311 return reinterpret_cast<const InverseConstraintProto*>(
2317 void Swap(InverseConstraintProto* other);
2318 friend void swap(InverseConstraintProto& a, InverseConstraintProto& b) {
2325 return CreateMaybeMessage<InverseConstraintProto>(
nullptr);
2329 return CreateMaybeMessage<InverseConstraintProto>(arena);
2331 void CopyFrom(const ::google::protobuf::Message& from)
final;
2332 void MergeFrom(const ::google::protobuf::Message& from)
final;
2335 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
2339 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER 2340 static const char* _InternalParse(
const char* begin,
const char* end,
void*
object, ::google::protobuf::internal::ParseContext* ctx);
2341 ::google::protobuf::internal::ParseFunc _ParseFunc() const final {
return _InternalParse; }
2344 ::google::protobuf::io::CodedInputStream* input)
final;
2345 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER 2347 ::google::protobuf::io::CodedOutputStream* output)
const final;
2349 ::google::protobuf::uint8* target)
const final;
2350 int GetCachedSize() const final {
return _cached_size_.Get(); }
2355 void SetCachedSize(
int size)
const final;
2358 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
2361 inline void* MaybeArenaPtr()
const {
2373 int f_direct_size() const;
2374 void clear_f_direct();
2375 static const
int kFDirectFieldNumber = 1;
2376 ::
google::protobuf::int32 f_direct(
int index) const;
2377 void set_f_direct(
int index, ::
google::protobuf::int32 value);
2378 void add_f_direct(::
google::protobuf::int32 value);
2379 const ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 >&
2381 ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 >*
2385 int f_inverse_size() const;
2386 void clear_f_inverse();
2387 static const
int kFInverseFieldNumber = 2;
2388 ::
google::protobuf::int32 f_inverse(
int index) const;
2389 void set_f_inverse(
int index, ::
google::protobuf::int32 value);
2390 void add_f_inverse(::
google::protobuf::int32 value);
2393 ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 >*
2394 mutable_f_inverse();
2398 class HasBitSetters;
2400 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2401 ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 > f_direct_;
2402 mutable std::atomic<
int> _f_direct_cached_byte_size_;
2404 mutable std::atomic<
int> _f_inverse_cached_byte_size_;
2405 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
2411 public ::
google::protobuf::Message {
2425 *
this = ::std::move(from);
2429 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2430 if (
this != &from) InternalSwap(&from);
2437 static const ::google::protobuf::Descriptor*
descriptor() {
2444 return reinterpret_cast<const AutomatonConstraintProto*>(
2450 void Swap(AutomatonConstraintProto* other);
2451 friend void swap(AutomatonConstraintProto& a, AutomatonConstraintProto& b) {
2458 return CreateMaybeMessage<AutomatonConstraintProto>(
nullptr);
2462 return CreateMaybeMessage<AutomatonConstraintProto>(arena);
2464 void CopyFrom(const ::google::protobuf::Message& from)
final;
2465 void MergeFrom(const ::google::protobuf::Message& from)
final;
2468 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
2472 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER 2473 static const char* _InternalParse(
const char* begin,
const char* end,
void*
object, ::google::protobuf::internal::ParseContext* ctx);
2474 ::google::protobuf::internal::ParseFunc _ParseFunc() const final {
return _InternalParse; }
2477 ::google::protobuf::io::CodedInputStream* input)
final;
2478 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER 2480 ::google::protobuf::io::CodedOutputStream* output)
const final;
2482 ::google::protobuf::uint8* target)
const final;
2483 int GetCachedSize() const final {
return _cached_size_.Get(); }
2488 void SetCachedSize(
int size)
const final;
2491 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
2494 inline void* MaybeArenaPtr()
const {
2499 ::google::protobuf::Metadata
GetMetadata() const final;
2506 int final_states_size() const;
2507 void clear_final_states();
2508 static const
int kFinalStatesFieldNumber = 3;
2509 ::
google::protobuf::int64 final_states(
int index) const;
2510 void set_final_states(
int index, ::
google::protobuf::int64 value);
2511 void add_final_states(::
google::protobuf::int64 value);
2512 const ::
google::protobuf::RepeatedField< ::
google::protobuf::int64 >&
2513 final_states() const;
2514 ::
google::protobuf::RepeatedField< ::
google::protobuf::int64 >*
2515 mutable_final_states();
2518 int transition_tail_size() const;
2519 void clear_transition_tail();
2520 static const
int kTransitionTailFieldNumber = 4;
2521 ::
google::protobuf::int64 transition_tail(
int index) const;
2522 void set_transition_tail(
int index, ::
google::protobuf::int64 value);
2523 void add_transition_tail(::
google::protobuf::int64 value);
2524 const ::
google::protobuf::RepeatedField< ::
google::protobuf::int64 >&
2525 transition_tail() const;
2526 ::
google::protobuf::RepeatedField< ::
google::protobuf::int64 >*
2527 mutable_transition_tail();
2530 int transition_head_size() const;
2531 void clear_transition_head();
2532 static const
int kTransitionHeadFieldNumber = 5;
2533 ::
google::protobuf::int64 transition_head(
int index) const;
2534 void set_transition_head(
int index, ::
google::protobuf::int64 value);
2535 void add_transition_head(::
google::protobuf::int64 value);
2536 const ::
google::protobuf::RepeatedField< ::
google::protobuf::int64 >&
2537 transition_head() const;
2538 ::
google::protobuf::RepeatedField< ::
google::protobuf::int64 >*
2539 mutable_transition_head();
2542 int transition_label_size() const;
2543 void clear_transition_label();
2544 static const
int kTransitionLabelFieldNumber = 6;
2545 ::
google::protobuf::int64 transition_label(
int index) const;
2546 void set_transition_label(
int index, ::
google::protobuf::int64 value);
2547 void add_transition_label(::
google::protobuf::int64 value);
2548 const ::
google::protobuf::RepeatedField< ::
google::protobuf::int64 >&
2549 transition_label() const;
2550 ::
google::protobuf::RepeatedField< ::
google::protobuf::int64 >*
2551 mutable_transition_label();
2554 int vars_size() const;
2556 static const
int kVarsFieldNumber = 7;
2557 ::
google::protobuf::int32 vars(
int index) const;
2558 void set_vars(
int index, ::
google::protobuf::int32 value);
2559 void add_vars(::
google::protobuf::int32 value);
2560 const ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 >&
2562 ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 >*
2566 void clear_starting_state();
2567 static const
int kStartingStateFieldNumber = 2;
2568 ::
google::protobuf::int64 starting_state() const;
2569 void set_starting_state(::
google::protobuf::int64 value);
2573 class HasBitSetters;
2575 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2576 ::
google::protobuf::RepeatedField< ::
google::protobuf::int64 > final_states_;
2577 mutable std::atomic<
int> _final_states_cached_byte_size_;
2578 ::
google::protobuf::RepeatedField< ::
google::protobuf::int64 > transition_tail_;
2579 mutable std::atomic<
int> _transition_tail_cached_byte_size_;
2580 ::
google::protobuf::RepeatedField< ::
google::protobuf::int64 > transition_head_;
2581 mutable std::atomic<
int> _transition_head_cached_byte_size_;
2582 ::
google::protobuf::RepeatedField< ::
google::protobuf::int64 > transition_label_;
2583 mutable std::atomic<
int> _transition_label_cached_byte_size_;
2585 mutable std::atomic<
int> _vars_cached_byte_size_;
2586 ::
google::protobuf::int64 starting_state_;
2587 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
2593 public ::
google::protobuf::Message {
2607 *
this = ::std::move(from);
2611 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2612 if (
this != &from) InternalSwap(&from);
2619 static const ::google::protobuf::Descriptor*
descriptor() {
2624 enum ConstraintCase {
2639 kCircuitCovering = 25,
2648 CONSTRAINT_NOT_SET = 0,
2653 return reinterpret_cast<const ConstraintProto*>(
2667 return CreateMaybeMessage<ConstraintProto>(
nullptr);
2671 return CreateMaybeMessage<ConstraintProto>(arena);
2673 void CopyFrom(const ::google::protobuf::Message& from)
final;
2674 void MergeFrom(const ::google::protobuf::Message& from)
final;
2677 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
2681 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER 2682 static const char* _InternalParse(
const char* begin,
const char* end,
void*
object, ::google::protobuf::internal::ParseContext* ctx);
2683 ::google::protobuf::internal::ParseFunc _ParseFunc() const final {
return _InternalParse; }
2686 ::google::protobuf::io::CodedInputStream* input)
final;
2687 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER 2689 ::google::protobuf::io::CodedOutputStream* output)
const final;
2691 ::google::protobuf::uint8* target)
const final;
2692 int GetCachedSize() const final {
return _cached_size_.Get(); }
2697 void SetCachedSize(
int size)
const final;
2700 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
2703 inline void* MaybeArenaPtr()
const {
2708 ::google::protobuf::Metadata
GetMetadata() const final;
2715 int enforcement_literal_size() const;
2716 void clear_enforcement_literal();
2717 static const
int kEnforcementLiteralFieldNumber = 2;
2718 ::
google::protobuf::int32 enforcement_literal(
int index) const;
2719 void set_enforcement_literal(
int index, ::
google::protobuf::int32 value);
2720 void add_enforcement_literal(::
google::protobuf::int32 value);
2721 const ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 >&
2722 enforcement_literal() const;
2723 ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 >*
2724 mutable_enforcement_literal();
2728 static const
int kNameFieldNumber = 1;
2729 const ::std::
string& name() const;
2730 void set_name(const ::std::
string& value);
2732 void set_name(::std::string&& value);
2734 void set_name(
const char* value);
2735 void set_name(
const char* value,
size_t size);
2736 ::std::string* mutable_name();
2737 ::std::string* release_name();
2738 void set_allocated_name(::std::string* name);
2741 bool has_bool_or()
const;
2742 void clear_bool_or();
2743 static const int kBoolOrFieldNumber = 3;
2744 const ::operations_research::sat::BoolArgumentProto& bool_or()
const;
2750 bool has_bool_and()
const;
2751 void clear_bool_and();
2752 static const int kBoolAndFieldNumber = 4;
2753 const ::operations_research::sat::BoolArgumentProto& bool_and()
const;
2759 bool has_at_most_one()
const;
2760 void clear_at_most_one();
2761 static const int kAtMostOneFieldNumber = 26;
2762 const ::operations_research::sat::BoolArgumentProto& at_most_one()
const;
2768 bool has_bool_xor()
const;
2769 void clear_bool_xor();
2770 static const int kBoolXorFieldNumber = 5;
2771 const ::operations_research::sat::BoolArgumentProto& bool_xor()
const;
2777 bool has_int_div()
const;
2778 void clear_int_div();
2779 static const int kIntDivFieldNumber = 7;
2780 const ::operations_research::sat::IntegerArgumentProto& int_div()
const;
2786 bool has_int_mod()
const;
2787 void clear_int_mod();
2788 static const int kIntModFieldNumber = 8;
2789 const ::operations_research::sat::IntegerArgumentProto& int_mod()
const;
2795 bool has_int_max()
const;
2796 void clear_int_max();
2797 static const int kIntMaxFieldNumber = 9;
2798 const ::operations_research::sat::IntegerArgumentProto& int_max()
const;
2804 bool has_int_min()
const;
2805 void clear_int_min();
2806 static const int kIntMinFieldNumber = 10;
2807 const ::operations_research::sat::IntegerArgumentProto& int_min()
const;
2813 bool has_int_prod()
const;
2814 void clear_int_prod();
2815 static const int kIntProdFieldNumber = 11;
2816 const ::operations_research::sat::IntegerArgumentProto& int_prod()
const;
2822 bool has_linear()
const;
2823 void clear_linear();
2824 static const int kLinearFieldNumber = 12;
2825 const ::operations_research::sat::LinearConstraintProto& linear()
const;
2831 bool has_all_diff()
const;
2832 void clear_all_diff();
2833 static const int kAllDiffFieldNumber = 13;
2834 const ::operations_research::sat::AllDifferentConstraintProto& all_diff()
const;
2840 bool has_element()
const;
2841 void clear_element();
2842 static const int kElementFieldNumber = 14;
2843 const ::operations_research::sat::ElementConstraintProto& element()
const;
2849 bool has_circuit()
const;
2850 void clear_circuit();
2851 static const int kCircuitFieldNumber = 15;
2852 const ::operations_research::sat::CircuitConstraintProto& circuit()
const;
2858 bool has_routes()
const;
2859 void clear_routes();
2860 static const int kRoutesFieldNumber = 23;
2861 const ::operations_research::sat::RoutesConstraintProto& routes()
const;
2867 bool has_circuit_covering()
const;
2868 void clear_circuit_covering();
2869 static const int kCircuitCoveringFieldNumber = 25;
2870 const ::operations_research::sat::CircuitCoveringConstraintProto& circuit_covering()
const;
2876 bool has_table()
const;
2878 static const int kTableFieldNumber = 16;
2879 const ::operations_research::sat::TableConstraintProto& table()
const;
2885 bool has_automaton()
const;
2886 void clear_automaton();
2887 static const int kAutomatonFieldNumber = 17;
2888 const ::operations_research::sat::AutomatonConstraintProto& automaton()
const;
2894 bool has_inverse()
const;
2895 void clear_inverse();
2896 static const int kInverseFieldNumber = 18;
2897 const ::operations_research::sat::InverseConstraintProto& inverse()
const;
2903 bool has_reservoir()
const;
2904 void clear_reservoir();
2905 static const int kReservoirFieldNumber = 24;
2906 const ::operations_research::sat::ReservoirConstraintProto& reservoir()
const;
2912 bool has_interval()
const;
2913 void clear_interval();
2914 static const int kIntervalFieldNumber = 19;
2915 const ::operations_research::sat::IntervalConstraintProto& interval()
const;
2921 bool has_no_overlap()
const;
2922 void clear_no_overlap();
2923 static const int kNoOverlapFieldNumber = 20;
2924 const ::operations_research::sat::NoOverlapConstraintProto& no_overlap()
const;
2930 bool has_no_overlap_2d()
const;
2931 void clear_no_overlap_2d();
2932 static const int kNoOverlap2DFieldNumber = 21;
2933 const ::operations_research::sat::NoOverlap2DConstraintProto& no_overlap_2d()
const;
2939 bool has_cumulative()
const;
2940 void clear_cumulative();
2941 static const int kCumulativeFieldNumber = 22;
2942 const ::operations_research::sat::CumulativeConstraintProto& cumulative()
const;
2947 void clear_constraint();
2951 class HasBitSetters;
2952 void set_has_bool_or();
2953 void set_has_bool_and();
2954 void set_has_at_most_one();
2955 void set_has_bool_xor();
2956 void set_has_int_div();
2957 void set_has_int_mod();
2958 void set_has_int_max();
2959 void set_has_int_min();
2960 void set_has_int_prod();
2961 void set_has_linear();
2962 void set_has_all_diff();
2963 void set_has_element();
2964 void set_has_circuit();
2965 void set_has_routes();
2966 void set_has_circuit_covering();
2967 void set_has_table();
2968 void set_has_automaton();
2969 void set_has_inverse();
2970 void set_has_reservoir();
2971 void set_has_interval();
2972 void set_has_no_overlap();
2973 void set_has_no_overlap_2d();
2974 void set_has_cumulative();
2976 inline bool has_constraint()
const;
2977 inline void clear_has_constraint();
2979 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2980 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > enforcement_literal_;
2981 mutable std::atomic<int> _enforcement_literal_cached_byte_size_;
2982 ::google::protobuf::internal::ArenaStringPtr name_;
2983 union ConstraintUnion {
2984 ConstraintUnion() {}
3009 mutable ::google::protobuf::internal::CachedSize _cached_size_;
3010 ::google::protobuf::uint32 _oneof_case_[1];
3012 friend struct ::TableStruct_ortools_2fsat_2fcp_5fmodel_2eproto;
3016 class CpObjectiveProto :
3017 public ::google::protobuf::Message {
3020 virtual ~CpObjectiveProto();
3022 CpObjectiveProto(
const CpObjectiveProto& from);
3024 inline CpObjectiveProto&
operator=(
const CpObjectiveProto& from) {
3029 CpObjectiveProto(CpObjectiveProto&& from) noexcept
3031 *
this = ::std::move(from);
3035 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
3036 if (
this != &from) InternalSwap(&from);
3050 return reinterpret_cast<const CpObjectiveProto*>(
3056 void Swap(CpObjectiveProto* other);
3057 friend void swap(CpObjectiveProto& a, CpObjectiveProto& b) {
3064 return CreateMaybeMessage<CpObjectiveProto>(
nullptr);
3068 return CreateMaybeMessage<CpObjectiveProto>(arena);
3070 void CopyFrom(const ::google::protobuf::Message& from)
final;
3071 void MergeFrom(const ::google::protobuf::Message& from)
final;
3074 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
3078 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER 3079 static const char* _InternalParse(
const char* begin,
const char* end,
void*
object, ::google::protobuf::internal::ParseContext* ctx);
3080 ::google::protobuf::internal::ParseFunc _ParseFunc() const final {
return _InternalParse; }
3083 ::google::protobuf::io::CodedInputStream* input)
final;
3084 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER 3086 ::google::protobuf::io::CodedOutputStream* output)
const final;
3088 ::google::protobuf::uint8* target)
const final;
3089 int GetCachedSize() const final {
return _cached_size_.Get(); }
3094 void SetCachedSize(
int size)
const final;
3097 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
3100 inline void* MaybeArenaPtr()
const {
3105 ::google::protobuf::Metadata
GetMetadata() const final;
3112 int vars_size() const;
3114 static const
int kVarsFieldNumber = 1;
3115 ::
google::protobuf::int32 vars(
int index) const;
3116 void set_vars(
int index, ::
google::protobuf::int32 value);
3117 void add_vars(::
google::protobuf::int32 value);
3118 const ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 >&
3120 ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 >*
3124 int coeffs_size() const;
3125 void clear_coeffs();
3126 static const
int kCoeffsFieldNumber = 4;
3127 ::
google::protobuf::int64 coeffs(
int index) const;
3128 void set_coeffs(
int index, ::
google::protobuf::int64 value);
3129 void add_coeffs(::
google::protobuf::int64 value);
3130 const ::
google::protobuf::RepeatedField< ::
google::protobuf::int64 >&
3132 ::
google::protobuf::RepeatedField< ::
google::protobuf::int64 >*
3136 int domain_size() const;
3137 void clear_domain();
3138 static const
int kDomainFieldNumber = 5;
3139 ::
google::protobuf::int64 domain(
int index) const;
3140 void set_domain(
int index, ::
google::protobuf::int64 value);
3141 void add_domain(::
google::protobuf::int64 value);
3142 const ::
google::protobuf::RepeatedField< ::
google::protobuf::int64 >&
3144 ::
google::protobuf::RepeatedField< ::
google::protobuf::int64 >*
3148 void clear_offset();
3149 static const
int kOffsetFieldNumber = 2;
3150 double offset() const;
3151 void set_offset(
double value);
3154 void clear_scaling_factor();
3155 static const
int kScalingFactorFieldNumber = 3;
3156 double scaling_factor() const;
3157 void set_scaling_factor(
double value);
3161 class HasBitSetters;
3163 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3164 ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 > vars_;
3165 mutable std::atomic<
int> _vars_cached_byte_size_;
3166 ::
google::protobuf::RepeatedField< ::
google::protobuf::int64 > coeffs_;
3167 mutable std::atomic<
int> _coeffs_cached_byte_size_;
3169 mutable std::atomic<
int> _domain_cached_byte_size_;
3171 double scaling_factor_;
3172 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
3178 public ::
google::protobuf::Message {
3192 *
this = ::std::move(from);
3196 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
3197 if (
this != &from) InternalSwap(&from);
3204 static const ::google::protobuf::Descriptor*
descriptor() {
3211 return reinterpret_cast<const DecisionStrategyProto_AffineTransformation*>(
3217 void Swap(DecisionStrategyProto_AffineTransformation* other);
3218 friend void swap(DecisionStrategyProto_AffineTransformation& a, DecisionStrategyProto_AffineTransformation& b) {
3225 return CreateMaybeMessage<DecisionStrategyProto_AffineTransformation>(
nullptr);
3229 return CreateMaybeMessage<DecisionStrategyProto_AffineTransformation>(arena);
3231 void CopyFrom(const ::google::protobuf::Message& from)
final;
3232 void MergeFrom(const ::google::protobuf::Message& from)
final;
3235 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
3239 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER 3240 static const char* _InternalParse(
const char* begin,
const char* end,
void*
object, ::google::protobuf::internal::ParseContext* ctx);
3241 ::google::protobuf::internal::ParseFunc _ParseFunc() const final {
return _InternalParse; }
3244 ::google::protobuf::io::CodedInputStream* input)
final;
3245 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER 3247 ::google::protobuf::io::CodedOutputStream* output)
const final;
3249 ::google::protobuf::uint8* target)
const final;
3250 int GetCachedSize() const final {
return _cached_size_.Get(); }
3255 void SetCachedSize(
int size)
const final;
3258 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
3261 inline void* MaybeArenaPtr()
const {
3266 ::google::protobuf::Metadata
GetMetadata() const final;
3273 void clear_offset();
3274 static const
int kOffsetFieldNumber = 2;
3275 ::
google::protobuf::int64 offset() const;
3276 void set_offset(::
google::protobuf::int64 value);
3279 void clear_positive_coeff();
3280 static const
int kPositiveCoeffFieldNumber = 3;
3281 ::
google::protobuf::int64 positive_coeff() const;
3282 void set_positive_coeff(::
google::protobuf::int64 value);
3286 static const
int kVarFieldNumber = 1;
3287 ::
google::protobuf::int32 var() const;
3288 void set_var(::
google::protobuf::int32 value);
3292 class HasBitSetters;
3294 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3295 ::
google::protobuf::int64 offset_;
3296 ::
google::protobuf::int64 positive_coeff_;
3297 ::
google::protobuf::int32 var_;
3298 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
3304 public ::
google::protobuf::Message {
3318 *
this = ::std::move(from);
3322 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
3323 if (
this != &from) InternalSwap(&from);
3330 static const ::google::protobuf::Descriptor*
descriptor() {
3337 return reinterpret_cast<const DecisionStrategyProto*>(
3343 void Swap(DecisionStrategyProto* other);
3344 friend void swap(DecisionStrategyProto& a, DecisionStrategyProto& b) {
3350 inline DecisionStrategyProto*
New() const final {
3351 return CreateMaybeMessage<DecisionStrategyProto>(
nullptr);
3355 return CreateMaybeMessage<DecisionStrategyProto>(arena);
3357 void CopyFrom(const ::google::protobuf::Message& from)
final;
3358 void MergeFrom(const ::google::protobuf::Message& from)
final;
3361 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
3365 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER 3366 static const char* _InternalParse(
const char* begin,
const char* end,
void*
object, ::google::protobuf::internal::ParseContext* ctx);
3367 ::google::protobuf::internal::ParseFunc _ParseFunc() const final {
return _InternalParse; }
3370 ::google::protobuf::io::CodedInputStream* input)
final;
3371 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER 3373 ::google::protobuf::io::CodedOutputStream* output)
const final;
3375 ::google::protobuf::uint8* target)
const final;
3376 int GetCachedSize() const final {
return _cached_size_.Get(); }
3381 void SetCachedSize(
int size)
const final;
3384 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
3387 inline void* MaybeArenaPtr()
const {
3392 ::google::protobuf::Metadata
GetMetadata() const final;
3396 typedef DecisionStrategyProto_AffineTransformation AffineTransformation;
3409 static inline
bool VariableSelectionStrategy_IsValid(
int value) {
3412 static const VariableSelectionStrategy VariableSelectionStrategy_MIN =
3414 static const VariableSelectionStrategy VariableSelectionStrategy_MAX =
3416 static const int VariableSelectionStrategy_ARRAYSIZE =
3418 static inline const ::google::protobuf::EnumDescriptor*
3419 VariableSelectionStrategy_descriptor() {
3425 static inline bool VariableSelectionStrategy_Parse(const ::std::string& name,
3439 static inline bool DomainReductionStrategy_IsValid(
int value) {
3442 static const DomainReductionStrategy DomainReductionStrategy_MIN =
3446 static const int DomainReductionStrategy_ARRAYSIZE =
3448 static inline const ::google::protobuf::EnumDescriptor*
3449 DomainReductionStrategy_descriptor() {
3455 static inline bool DomainReductionStrategy_Parse(const ::std::string& name,
3463 int variables_size()
const;
3464 void clear_variables();
3465 static const int kVariablesFieldNumber = 1;
3466 ::google::protobuf::int32 variables(
int index)
const;
3467 void set_variables(
int index, ::google::protobuf::int32 value);
3468 void add_variables(::google::protobuf::int32 value);
3469 const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
3471 ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
3472 mutable_variables();
3475 int transformations_size()
const;
3476 void clear_transformations();
3477 static const int kTransformationsFieldNumber = 4;
3479 ::google::protobuf::RepeatedPtrField< ::operations_research::sat::DecisionStrategyProto_AffineTransformation >*
3480 mutable_transformations();
3481 const ::operations_research::sat::DecisionStrategyProto_AffineTransformation& transformations(
int index)
const;
3483 const ::google::protobuf::RepeatedPtrField< ::operations_research::sat::DecisionStrategyProto_AffineTransformation >&
3484 transformations()
const;
3487 void clear_variable_selection_strategy();
3488 static const int kVariableSelectionStrategyFieldNumber = 2;
3493 void clear_domain_reduction_strategy();
3494 static const int kDomainReductionStrategyFieldNumber = 3;
3500 class HasBitSetters;
3502 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3503 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > variables_;
3504 mutable std::atomic<int> _variables_cached_byte_size_;
3505 ::google::protobuf::RepeatedPtrField< ::operations_research::sat::DecisionStrategyProto_AffineTransformation > transformations_;
3506 int variable_selection_strategy_;
3507 int domain_reduction_strategy_;
3508 mutable ::google::protobuf::internal::CachedSize _cached_size_;
3509 friend struct ::TableStruct_ortools_2fsat_2fcp_5fmodel_2eproto;
3514 public ::google::protobuf::Message {
3528 *
this = ::std::move(from);
3532 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
3533 if (
this != &from) InternalSwap(&from);
3540 static const ::google::protobuf::Descriptor*
descriptor() {
3547 return reinterpret_cast<const PartialVariableAssignment*>(
3560 inline PartialVariableAssignment*
New() const final {
3561 return CreateMaybeMessage<PartialVariableAssignment>(
nullptr);
3565 return CreateMaybeMessage<PartialVariableAssignment>(arena);
3567 void CopyFrom(const ::google::protobuf::Message& from)
final;
3568 void MergeFrom(const ::google::protobuf::Message& from)
final;
3571 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
3575 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER 3576 static const char* _InternalParse(
const char* begin,
const char* end,
void*
object, ::google::protobuf::internal::ParseContext* ctx);
3577 ::google::protobuf::internal::ParseFunc _ParseFunc() const final {
return _InternalParse; }
3580 ::google::protobuf::io::CodedInputStream* input)
final;
3581 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER 3583 ::google::protobuf::io::CodedOutputStream* output)
const final;
3585 ::google::protobuf::uint8* target)
const final;
3591 void SetCachedSize(
int size)
const final;
3594 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
3597 inline void* MaybeArenaPtr()
const {
3602 ::google::protobuf::Metadata
GetMetadata() const final;
3609 int vars_size() const;
3611 static const
int kVarsFieldNumber = 1;
3612 ::
google::protobuf::int32 vars(
int index) const;
3613 void set_vars(
int index, ::
google::protobuf::int32 value);
3614 void add_vars(::
google::protobuf::int32 value);
3615 const ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 >&
3617 ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 >*
3621 int values_size() const;
3622 void clear_values();
3623 static const
int kValuesFieldNumber = 2;
3624 ::
google::protobuf::int64 values(
int index) const;
3625 void set_values(
int index, ::
google::protobuf::int64 value);
3626 void add_values(::
google::protobuf::int64 value);
3627 const ::
google::protobuf::RepeatedField< ::
google::protobuf::int64 >&
3629 ::
google::protobuf::RepeatedField< ::
google::protobuf::int64 >*
3634 class HasBitSetters;
3636 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3637 ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 > vars_;
3638 mutable std::atomic<
int> _vars_cached_byte_size_;
3639 ::
google::protobuf::RepeatedField< ::
google::protobuf::int64 > values_;
3640 mutable std::atomic<
int> _values_cached_byte_size_;
3641 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
3647 public ::
google::protobuf::Message {
3661 *
this = ::std::move(from);
3665 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
3666 if (
this != &from) InternalSwap(&from);
3673 static const ::google::protobuf::Descriptor*
descriptor() {
3680 return reinterpret_cast<const CpModelProto*>(
3693 inline CpModelProto*
New() const final {
3694 return CreateMaybeMessage<CpModelProto>(
nullptr);
3698 return CreateMaybeMessage<CpModelProto>(arena);
3700 void CopyFrom(const ::google::protobuf::Message& from)
final;
3701 void MergeFrom(const ::google::protobuf::Message& from)
final;
3704 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
3708 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER 3709 static const char* _InternalParse(
const char* begin,
const char* end,
void*
object, ::google::protobuf::internal::ParseContext* ctx);
3710 ::google::protobuf::internal::ParseFunc _ParseFunc() const final {
return _InternalParse; }
3713 ::google::protobuf::io::CodedInputStream* input)
final;
3714 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER 3716 ::google::protobuf::io::CodedOutputStream* output)
const final;
3718 ::google::protobuf::uint8* target)
const final;
3719 int GetCachedSize() const final {
return _cached_size_.Get(); }
3724 void SetCachedSize(
int size)
const final;
3727 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
3730 inline void* MaybeArenaPtr()
const {
3735 ::google::protobuf::Metadata
GetMetadata() const final;
3742 int variables_size() const;
3743 void clear_variables();
3744 static const
int kVariablesFieldNumber = 2;
3747 mutable_variables();
3754 int constraints_size() const;
3755 void clear_constraints();
3756 static const
int kConstraintsFieldNumber = 3;
3759 mutable_constraints();
3763 constraints() const;
3766 int search_strategy_size() const;
3767 void clear_search_strategy();
3768 static const
int kSearchStrategyFieldNumber = 5;
3771 mutable_search_strategy();
3775 search_strategy() const;
3779 static const
int kNameFieldNumber = 1;
3780 const ::std::
string& name() const;
3781 void set_name(const ::std::
string& value);
3783 void set_name(::std::string&& value);
3785 void set_name(
const char* value);
3786 void set_name(
const char* value,
size_t size);
3787 ::std::string* mutable_name();
3788 ::std::string* release_name();
3789 void set_allocated_name(::std::string* name);
3792 bool has_objective()
const;
3793 void clear_objective();
3794 static const int kObjectiveFieldNumber = 4;
3795 const ::operations_research::sat::CpObjectiveProto& objective()
const;
3801 bool has_solution_hint()
const;
3802 void clear_solution_hint();
3803 static const int kSolutionHintFieldNumber = 6;
3804 const ::operations_research::sat::PartialVariableAssignment& solution_hint()
const;
3811 class HasBitSetters;
3813 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3814 ::google::protobuf::RepeatedPtrField< ::operations_research::sat::IntegerVariableProto > variables_;
3815 ::google::protobuf::RepeatedPtrField< ::operations_research::sat::ConstraintProto > constraints_;
3816 ::google::protobuf::RepeatedPtrField< ::operations_research::sat::DecisionStrategyProto > search_strategy_;
3817 ::google::protobuf::internal::ArenaStringPtr name_;
3820 mutable ::google::protobuf::internal::CachedSize _cached_size_;
3821 friend struct ::TableStruct_ortools_2fsat_2fcp_5fmodel_2eproto;
3826 public ::google::protobuf::Message {
3840 *
this = ::std::move(from);
3844 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
3845 if (
this != &from) InternalSwap(&from);
3852 static const ::google::protobuf::Descriptor*
descriptor() {
3859 return reinterpret_cast<const CpSolverResponse*>(
3872 inline CpSolverResponse*
New() const final {
3873 return CreateMaybeMessage<CpSolverResponse>(
nullptr);
3877 return CreateMaybeMessage<CpSolverResponse>(arena);
3879 void CopyFrom(const ::google::protobuf::Message& from)
final;
3880 void MergeFrom(const ::google::protobuf::Message& from)
final;
3883 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
3887 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER 3888 static const char* _InternalParse(
const char* begin,
const char* end,
void*
object, ::google::protobuf::internal::ParseContext* ctx);
3889 ::google::protobuf::internal::ParseFunc _ParseFunc() const final {
return _InternalParse; }
3892 ::google::protobuf::io::CodedInputStream* input)
final;
3893 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER 3895 ::google::protobuf::io::CodedOutputStream* output)
const final;
3897 ::google::protobuf::uint8* target)
const final;
3898 int GetCachedSize() const final {
return _cached_size_.Get(); }
3903 void SetCachedSize(
int size)
const final;
3906 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
3909 inline void* MaybeArenaPtr()
const {
3914 ::google::protobuf::Metadata
GetMetadata() const final;
3921 int solution_size() const;
3922 void clear_solution();
3923 static const
int kSolutionFieldNumber = 2;
3924 ::
google::protobuf::int64 solution(
int index) const;
3925 void set_solution(
int index, ::
google::protobuf::int64 value);
3926 void add_solution(::
google::protobuf::int64 value);
3927 const ::
google::protobuf::RepeatedField< ::
google::protobuf::int64 >&
3929 ::
google::protobuf::RepeatedField< ::
google::protobuf::int64 >*
3933 int solution_lower_bounds_size() const;
3934 void clear_solution_lower_bounds();
3935 static const
int kSolutionLowerBoundsFieldNumber = 18;
3936 ::
google::protobuf::int64 solution_lower_bounds(
int index) const;
3937 void set_solution_lower_bounds(
int index, ::
google::protobuf::int64 value);
3938 void add_solution_lower_bounds(::
google::protobuf::int64 value);
3939 const ::
google::protobuf::RepeatedField< ::
google::protobuf::int64 >&
3940 solution_lower_bounds() const;
3941 ::
google::protobuf::RepeatedField< ::
google::protobuf::int64 >*
3942 mutable_solution_lower_bounds();
3945 int solution_upper_bounds_size() const;
3946 void clear_solution_upper_bounds();
3947 static const
int kSolutionUpperBoundsFieldNumber = 19;
3948 ::
google::protobuf::int64 solution_upper_bounds(
int index) const;
3949 void set_solution_upper_bounds(
int index, ::
google::protobuf::int64 value);
3950 void add_solution_upper_bounds(::
google::protobuf::int64 value);
3951 const ::
google::protobuf::RepeatedField< ::
google::protobuf::int64 >&
3952 solution_upper_bounds() const;
3953 ::
google::protobuf::RepeatedField< ::
google::protobuf::int64 >*
3954 mutable_solution_upper_bounds();
3957 int tightened_variables_size() const;
3958 void clear_tightened_variables();
3959 static const
int kTightenedVariablesFieldNumber = 21;
3962 mutable_tightened_variables();
3966 tightened_variables() const;
3969 void clear_solution_info();
3970 static const
int kSolutionInfoFieldNumber = 20;
3971 const ::std::
string& solution_info() const;
3972 void set_solution_info(const ::std::
string& value);
3974 void set_solution_info(::std::string&& value);
3976 void set_solution_info(
const char* value);
3977 void set_solution_info(
const char* value,
size_t size);
3978 ::std::string* mutable_solution_info();
3979 ::std::string* release_solution_info();
3980 void set_allocated_solution_info(::std::string* solution_info);
3983 void clear_objective_value();
3984 static const int kObjectiveValueFieldNumber = 3;
3985 double objective_value()
const;
3986 void set_objective_value(
double value);
3989 void clear_status();
3990 static const int kStatusFieldNumber = 1;
3995 void clear_all_solutions_were_found();
3996 static const int kAllSolutionsWereFoundFieldNumber = 5;
3997 bool all_solutions_were_found()
const;
3998 void set_all_solutions_were_found(
bool value);
4001 void clear_best_objective_bound();
4002 static const int kBestObjectiveBoundFieldNumber = 4;
4003 double best_objective_bound()
const;
4004 void set_best_objective_bound(
double value);
4007 void clear_num_booleans();
4008 static const int kNumBooleansFieldNumber = 10;
4009 ::google::protobuf::int64 num_booleans()
const;
4010 void set_num_booleans(::google::protobuf::int64 value);
4013 void clear_num_conflicts();
4014 static const int kNumConflictsFieldNumber = 11;
4015 ::google::protobuf::int64 num_conflicts()
const;
4016 void set_num_conflicts(::google::protobuf::int64 value);
4019 void clear_num_branches();
4020 static const int kNumBranchesFieldNumber = 12;
4021 ::google::protobuf::int64 num_branches()
const;
4022 void set_num_branches(::google::protobuf::int64 value);
4025 void clear_num_binary_propagations();
4026 static const int kNumBinaryPropagationsFieldNumber = 13;
4027 ::google::protobuf::int64 num_binary_propagations()
const;
4028 void set_num_binary_propagations(::google::protobuf::int64 value);
4031 void clear_num_integer_propagations();
4032 static const int kNumIntegerPropagationsFieldNumber = 14;
4033 ::google::protobuf::int64 num_integer_propagations()
const;
4034 void set_num_integer_propagations(::google::protobuf::int64 value);
4037 void clear_wall_time();
4038 static const int kWallTimeFieldNumber = 15;
4039 double wall_time()
const;
4040 void set_wall_time(
double value);
4043 void clear_user_time();
4044 static const int kUserTimeFieldNumber = 16;
4045 double user_time()
const;
4046 void set_user_time(
double value);
4049 void clear_deterministic_time();
4050 static const int kDeterministicTimeFieldNumber = 17;
4051 double deterministic_time()
const;
4052 void set_deterministic_time(
double value);
4056 class HasBitSetters;
4058 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
4059 ::google::protobuf::RepeatedField< ::google::protobuf::int64 > solution_;
4060 mutable std::atomic<int> _solution_cached_byte_size_;
4061 ::google::protobuf::RepeatedField< ::google::protobuf::int64 > solution_lower_bounds_;
4062 mutable std::atomic<int> _solution_lower_bounds_cached_byte_size_;
4063 ::google::protobuf::RepeatedField< ::google::protobuf::int64 > solution_upper_bounds_;
4064 mutable std::atomic<int> _solution_upper_bounds_cached_byte_size_;
4065 ::google::protobuf::RepeatedPtrField< ::operations_research::sat::IntegerVariableProto > tightened_variables_;
4066 ::google::protobuf::internal::ArenaStringPtr solution_info_;
4067 double objective_value_;
4069 bool all_solutions_were_found_;
4070 double best_objective_bound_;
4071 ::google::protobuf::int64 num_booleans_;
4072 ::google::protobuf::int64 num_conflicts_;
4073 ::google::protobuf::int64 num_branches_;
4074 ::google::protobuf::int64 num_binary_propagations_;
4075 ::google::protobuf::int64 num_integer_propagations_;
4078 double deterministic_time_;
4079 mutable ::google::protobuf::internal::CachedSize _cached_size_;
4080 friend struct ::TableStruct_ortools_2fsat_2fcp_5fmodel_2eproto;
4088 #pragma GCC diagnostic push 4089 #pragma GCC diagnostic ignored "-Wstrict-aliasing" 4095 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4099 return name_.GetNoArena();
4103 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
4110 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
4115 GOOGLE_DCHECK(value !=
nullptr);
4117 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
4122 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
4123 ::std::string(reinterpret_cast<const char*>(value), size));
4129 return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4134 return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4137 if (name !=
nullptr) {
4142 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
4148 return domain_.size();
4155 return domain_.Get(index);
4158 domain_.Set(index, value);
4165 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
4170 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
4182 return literals_.size();
4189 return literals_.Get(index);
4192 literals_.Set(index, value);
4196 literals_.Add(value);
4199 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
4204 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
4230 return vars_.size();
4237 return vars_.Get(index);
4240 vars_.Set(index, value);
4247 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
4252 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
4264 return vars_.size();
4271 return vars_.Get(index);
4274 vars_.Set(index, value);
4281 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
4286 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
4298 return vars_.size();
4305 return vars_.Get(index);
4308 vars_.Set(index, value);
4315 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
4320 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
4328 return coeffs_.size();
4335 return coeffs_.Get(index);
4338 coeffs_.Set(index, value);
4345 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
4350 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
4358 return domain_.size();
4365 return domain_.Get(index);
4368 domain_.Set(index, value);
4375 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
4380 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
4420 return vars_.size();
4427 return vars_.Get(index);
4430 vars_.Set(index, value);
4437 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
4442 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
4500 return intervals_.size();
4507 return intervals_.Get(index);
4510 intervals_.Set(index, value);
4514 intervals_.Add(value);
4517 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
4522 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
4534 return x_intervals_.size();
4537 x_intervals_.Clear();
4541 return x_intervals_.Get(index);
4544 x_intervals_.Set(index, value);
4548 x_intervals_.Add(value);
4551 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
4554 return x_intervals_;
4556 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
4559 return &x_intervals_;
4564 return y_intervals_.size();
4567 y_intervals_.Clear();
4571 return y_intervals_.Get(index);
4574 y_intervals_.Set(index, value);
4578 y_intervals_.Add(value);
4581 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
4584 return y_intervals_;
4586 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
4589 return &y_intervals_;
4612 return intervals_.size();
4619 return intervals_.Get(index);
4622 intervals_.Set(index, value);
4626 intervals_.Add(value);
4629 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
4634 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
4642 return demands_.size();
4649 return demands_.Get(index);
4652 demands_.Set(index, value);
4656 demands_.Add(value);
4659 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
4664 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
4676 min_level_ = PROTOBUF_LONGLONG(0);
4690 max_level_ = PROTOBUF_LONGLONG(0);
4704 return times_.size();
4711 return times_.Get(index);
4714 times_.Set(index, value);
4721 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
4726 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
4734 return demands_.size();
4741 return demands_.Get(index);
4744 demands_.Set(index, value);
4748 demands_.Add(value);
4751 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
4756 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
4764 return actives_.size();
4771 return actives_.Get(index);
4774 actives_.Set(index, value);
4778 actives_.Add(value);
4781 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
4786 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
4798 return tails_.size();
4805 return tails_.Get(index);
4808 tails_.Set(index, value);
4815 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
4820 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
4828 return heads_.size();
4835 return heads_.Get(index);
4838 heads_.Set(index, value);
4845 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
4850 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
4858 return literals_.size();
4865 return literals_.Get(index);
4868 literals_.Set(index, value);
4872 literals_.Add(value);
4875 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
4880 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
4892 return tails_.size();
4899 return tails_.Get(index);
4902 tails_.Set(index, value);
4909 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
4914 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
4922 return heads_.size();
4929 return heads_.Get(index);
4932 heads_.Set(index, value);
4939 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
4944 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
4952 return literals_.size();
4959 return literals_.Get(index);
4962 literals_.Set(index, value);
4966 literals_.Add(value);
4969 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
4974 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
4982 return demands_.size();
4989 return demands_.Get(index);
4992 demands_.Set(index, value);
4996 demands_.Add(value);
4999 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
5004 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
5012 capacity_ = PROTOBUF_LONGLONG(0);
5030 return nexts_.size();
5037 return nexts_.Get(index);
5040 nexts_.Set(index, value);
5047 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
5052 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
5060 return distinguished_nodes_.size();
5063 distinguished_nodes_.Clear();
5067 return distinguished_nodes_.Get(index);
5070 distinguished_nodes_.Set(index, value);
5074 distinguished_nodes_.Add(value);
5077 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
5080 return distinguished_nodes_;
5082 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
5085 return &distinguished_nodes_;
5094 return vars_.size();
5101 return vars_.Get(index);
5104 vars_.Set(index, value);
5111 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
5116 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
5124 return values_.size();
5131 return values_.Get(index);
5134 values_.Set(index, value);
5141 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
5146 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
5172 return f_direct_.size();
5179 return f_direct_.Get(index);
5182 f_direct_.Set(index, value);
5186 f_direct_.Add(value);
5189 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
5194 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
5202 return f_inverse_.size();
5209 return f_inverse_.Get(index);
5212 f_inverse_.Set(index, value);
5216 f_inverse_.Add(value);
5219 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
5224 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
5236 starting_state_ = PROTOBUF_LONGLONG(0);
5240 return starting_state_;
5244 starting_state_ = value;
5250 return final_states_.size();
5253 final_states_.Clear();
5257 return final_states_.Get(index);
5260 final_states_.Set(index, value);
5264 final_states_.Add(value);
5267 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
5270 return final_states_;
5272 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
5275 return &final_states_;
5280 return transition_tail_.size();
5283 transition_tail_.Clear();
5287 return transition_tail_.Get(index);
5290 transition_tail_.Set(index, value);
5294 transition_tail_.Add(value);
5297 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
5300 return transition_tail_;
5302 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
5305 return &transition_tail_;
5310 return transition_head_.size();
5313 transition_head_.Clear();
5317 return transition_head_.Get(index);
5320 transition_head_.Set(index, value);
5324 transition_head_.Add(value);
5327 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
5330 return transition_head_;
5332 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
5335 return &transition_head_;
5340 return transition_label_.size();
5343 transition_label_.Clear();
5347 return transition_label_.Get(index);
5350 transition_label_.Set(index, value);
5354 transition_label_.Add(value);
5357 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
5360 return transition_label_;
5362 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
5365 return &transition_label_;
5370 return vars_.size();
5377 return vars_.Get(index);
5380 vars_.Set(index, value);
5387 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
5392 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
5404 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5408 return name_.GetNoArena();
5412 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
5419 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
5424 GOOGLE_DCHECK(value !=
nullptr);
5426 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
5431 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
5432 ::std::string(reinterpret_cast<const char*>(value), size));
5438 return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5443 return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5446 if (name !=
nullptr) {
5451 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
5457 return enforcement_literal_.size();
5460 enforcement_literal_.Clear();
5464 return enforcement_literal_.Get(index);
5467 enforcement_literal_.Set(index, value);
5471 enforcement_literal_.Add(value);
5474 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
5477 return enforcement_literal_;
5479 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
5482 return &enforcement_literal_;
5487 return constraint_case() == kBoolOr;
5489 inline void ConstraintProto::set_has_bool_or() {
5490 _oneof_case_[0] = kBoolOr;
5493 if (has_bool_or()) {
5494 delete constraint_.bool_or_;
5495 clear_has_constraint();
5500 if (has_bool_or()) {
5501 clear_has_constraint();
5503 constraint_.bool_or_ =
nullptr;
5511 return has_bool_or()
5512 ? *constraint_.bool_or_
5516 if (!has_bool_or()) {
5519 constraint_.bool_or_ = CreateMaybeMessage< ::operations_research::sat::BoolArgumentProto >(
5520 GetArenaNoVirtual());
5523 return constraint_.bool_or_;
5528 return constraint_case() == kBoolAnd;
5530 inline void ConstraintProto::set_has_bool_and() {
5531 _oneof_case_[0] = kBoolAnd;
5534 if (has_bool_and()) {
5535 delete constraint_.bool_and_;
5536 clear_has_constraint();
5541 if (has_bool_and()) {
5542 clear_has_constraint();
5544 constraint_.bool_and_ =
nullptr;
5552 return has_bool_and()
5553 ? *constraint_.bool_and_
5557 if (!has_bool_and()) {
5560 constraint_.bool_and_ = CreateMaybeMessage< ::operations_research::sat::BoolArgumentProto >(
5561 GetArenaNoVirtual());
5564 return constraint_.bool_and_;
5569 return constraint_case() == kAtMostOne;
5571 inline void ConstraintProto::set_has_at_most_one() {
5572 _oneof_case_[0] = kAtMostOne;
5575 if (has_at_most_one()) {
5576 delete constraint_.at_most_one_;
5577 clear_has_constraint();
5582 if (has_at_most_one()) {
5583 clear_has_constraint();
5585 constraint_.at_most_one_ =
nullptr;
5593 return has_at_most_one()
5594 ? *constraint_.at_most_one_
5598 if (!has_at_most_one()) {
5600 set_has_at_most_one();
5601 constraint_.at_most_one_ = CreateMaybeMessage< ::operations_research::sat::BoolArgumentProto >(
5602 GetArenaNoVirtual());
5605 return constraint_.at_most_one_;
5610 return constraint_case() == kBoolXor;
5612 inline void ConstraintProto::set_has_bool_xor() {
5613 _oneof_case_[0] = kBoolXor;
5616 if (has_bool_xor()) {
5617 delete constraint_.bool_xor_;
5618 clear_has_constraint();
5623 if (has_bool_xor()) {
5624 clear_has_constraint();
5626 constraint_.bool_xor_ =
nullptr;
5634 return has_bool_xor()
5635 ? *constraint_.bool_xor_
5639 if (!has_bool_xor()) {
5642 constraint_.bool_xor_ = CreateMaybeMessage< ::operations_research::sat::BoolArgumentProto >(
5643 GetArenaNoVirtual());
5646 return constraint_.bool_xor_;
5651 return constraint_case() == kIntDiv;
5653 inline void ConstraintProto::set_has_int_div() {
5654 _oneof_case_[0] = kIntDiv;
5657 if (has_int_div()) {
5658 delete constraint_.int_div_;
5659 clear_has_constraint();
5664 if (has_int_div()) {
5665 clear_has_constraint();
5667 constraint_.int_div_ =
nullptr;
5675 return has_int_div()
5676 ? *constraint_.int_div_
5680 if (!has_int_div()) {
5683 constraint_.int_div_ = CreateMaybeMessage< ::operations_research::sat::IntegerArgumentProto >(
5684 GetArenaNoVirtual());
5687 return constraint_.int_div_;
5692 return constraint_case() == kIntMod;
5694 inline void ConstraintProto::set_has_int_mod() {
5695 _oneof_case_[0] = kIntMod;
5698 if (has_int_mod()) {
5699 delete constraint_.int_mod_;
5700 clear_has_constraint();
5705 if (has_int_mod()) {
5706 clear_has_constraint();
5708 constraint_.int_mod_ =
nullptr;
5716 return has_int_mod()
5717 ? *constraint_.int_mod_
5721 if (!has_int_mod()) {
5724 constraint_.int_mod_ = CreateMaybeMessage< ::operations_research::sat::IntegerArgumentProto >(
5725 GetArenaNoVirtual());
5728 return constraint_.int_mod_;
5733 return constraint_case() == kIntMax;
5735 inline void ConstraintProto::set_has_int_max() {
5736 _oneof_case_[0] = kIntMax;
5739 if (has_int_max()) {
5740 delete constraint_.int_max_;
5741 clear_has_constraint();
5746 if (has_int_max()) {
5747 clear_has_constraint();
5749 constraint_.int_max_ =
nullptr;
5757 return has_int_max()
5758 ? *constraint_.int_max_
5762 if (!has_int_max()) {
5765 constraint_.int_max_ = CreateMaybeMessage< ::operations_research::sat::IntegerArgumentProto >(
5766 GetArenaNoVirtual());
5769 return constraint_.int_max_;
5774 return constraint_case() == kIntMin;
5776 inline void ConstraintProto::set_has_int_min() {
5777 _oneof_case_[0] = kIntMin;
5780 if (has_int_min()) {
5781 delete constraint_.int_min_;
5782 clear_has_constraint();
5787 if (has_int_min()) {
5788 clear_has_constraint();
5790 constraint_.int_min_ =
nullptr;
5798 return has_int_min()
5799 ? *constraint_.int_min_
5803 if (!has_int_min()) {
5806 constraint_.int_min_ = CreateMaybeMessage< ::operations_research::sat::IntegerArgumentProto >(
5807 GetArenaNoVirtual());
5810 return constraint_.int_min_;
5815 return constraint_case() == kIntProd;
5817 inline void ConstraintProto::set_has_int_prod() {
5818 _oneof_case_[0] = kIntProd;
5821 if (has_int_prod()) {
5822 delete constraint_.int_prod_;
5823 clear_has_constraint();
5828 if (has_int_prod()) {
5829 clear_has_constraint();
5831 constraint_.int_prod_ =
nullptr;
5839 return has_int_prod()
5840 ? *constraint_.int_prod_
5844 if (!has_int_prod()) {
5847 constraint_.int_prod_ = CreateMaybeMessage< ::operations_research::sat::IntegerArgumentProto >(
5848 GetArenaNoVirtual());
5851 return constraint_.int_prod_;
5856 return constraint_case() == kLinear;
5858 inline void ConstraintProto::set_has_linear() {
5859 _oneof_case_[0] = kLinear;
5863 delete constraint_.linear_;
5864 clear_has_constraint();
5870 clear_has_constraint();
5872 constraint_.linear_ =
nullptr;
5881 ? *constraint_.linear_
5885 if (!has_linear()) {
5888 constraint_.linear_ = CreateMaybeMessage< ::operations_research::sat::LinearConstraintProto >(
5889 GetArenaNoVirtual());
5892 return constraint_.linear_;
5897 return constraint_case() == kAllDiff;
5899 inline void ConstraintProto::set_has_all_diff() {
5900 _oneof_case_[0] = kAllDiff;
5903 if (has_all_diff()) {
5904 delete constraint_.all_diff_;
5905 clear_has_constraint();
5910 if (has_all_diff()) {
5911 clear_has_constraint();
5913 constraint_.all_diff_ =
nullptr;
5921 return has_all_diff()
5922 ? *constraint_.all_diff_
5926 if (!has_all_diff()) {
5929 constraint_.all_diff_ = CreateMaybeMessage< ::operations_research::sat::AllDifferentConstraintProto >(
5930 GetArenaNoVirtual());
5933 return constraint_.all_diff_;
5938 return constraint_case() == kElement;
5940 inline void ConstraintProto::set_has_element() {
5941 _oneof_case_[0] = kElement;
5944 if (has_element()) {
5945 delete constraint_.element_;
5946 clear_has_constraint();
5951 if (has_element()) {
5952 clear_has_constraint();
5954 constraint_.element_ =
nullptr;
5962 return has_element()
5963 ? *constraint_.element_
5967 if (!has_element()) {
5970 constraint_.element_ = CreateMaybeMessage< ::operations_research::sat::ElementConstraintProto >(
5971 GetArenaNoVirtual());
5974 return constraint_.element_;
5979 return constraint_case() == kCircuit;
5981 inline void ConstraintProto::set_has_circuit() {
5982 _oneof_case_[0] = kCircuit;
5985 if (has_circuit()) {
5986 delete constraint_.circuit_;
5987 clear_has_constraint();
5992 if (has_circuit()) {
5993 clear_has_constraint();
5995 constraint_.circuit_ =
nullptr;
6003 return has_circuit()
6004 ? *constraint_.circuit_
6008 if (!has_circuit()) {
6011 constraint_.circuit_ = CreateMaybeMessage< ::operations_research::sat::CircuitConstraintProto >(
6012 GetArenaNoVirtual());
6015 return constraint_.circuit_;
6020 return constraint_case() == kRoutes;
6022 inline void ConstraintProto::set_has_routes() {
6023 _oneof_case_[0] = kRoutes;
6027 delete constraint_.routes_;
6028 clear_has_constraint();
6034 clear_has_constraint();
6036 constraint_.routes_ =
nullptr;
6045 ? *constraint_.routes_
6049 if (!has_routes()) {
6052 constraint_.routes_ = CreateMaybeMessage< ::operations_research::sat::RoutesConstraintProto >(
6053 GetArenaNoVirtual());
6056 return constraint_.routes_;
6061 return constraint_case() == kCircuitCovering;
6063 inline void ConstraintProto::set_has_circuit_covering() {
6064 _oneof_case_[0] = kCircuitCovering;
6067 if (has_circuit_covering()) {
6068 delete constraint_.circuit_covering_;
6069 clear_has_constraint();
6074 if (has_circuit_covering()) {
6075 clear_has_constraint();
6077 constraint_.circuit_covering_ =
nullptr;
6085 return has_circuit_covering()
6086 ? *constraint_.circuit_covering_
6090 if (!has_circuit_covering()) {
6092 set_has_circuit_covering();
6093 constraint_.circuit_covering_ = CreateMaybeMessage< ::operations_research::sat::CircuitCoveringConstraintProto >(
6094 GetArenaNoVirtual());
6097 return constraint_.circuit_covering_;
6102 return constraint_case() == kTable;
6104 inline void ConstraintProto::set_has_table() {
6105 _oneof_case_[0] = kTable;
6109 delete constraint_.table_;
6110 clear_has_constraint();
6116 clear_has_constraint();
6118 constraint_.table_ =
nullptr;
6127 ? *constraint_.table_
6134 constraint_.table_ = CreateMaybeMessage< ::operations_research::sat::TableConstraintProto >(
6135 GetArenaNoVirtual());
6138 return constraint_.table_;
6143 return constraint_case() == kAutomaton;
6145 inline void ConstraintProto::set_has_automaton() {
6146 _oneof_case_[0] = kAutomaton;
6149 if (has_automaton()) {
6150 delete constraint_.automaton_;
6151 clear_has_constraint();
6156 if (has_automaton()) {
6157 clear_has_constraint();
6159 constraint_.automaton_ =
nullptr;
6167 return has_automaton()
6168 ? *constraint_.automaton_
6172 if (!has_automaton()) {
6174 set_has_automaton();
6175 constraint_.automaton_ = CreateMaybeMessage< ::operations_research::sat::AutomatonConstraintProto >(
6176 GetArenaNoVirtual());
6179 return constraint_.automaton_;
6184 return constraint_case() == kInverse;
6186 inline void ConstraintProto::set_has_inverse() {
6187 _oneof_case_[0] = kInverse;
6190 if (has_inverse()) {
6191 delete constraint_.inverse_;
6192 clear_has_constraint();
6197 if (has_inverse()) {
6198 clear_has_constraint();
6200 constraint_.inverse_ =
nullptr;
6208 return has_inverse()
6209 ? *constraint_.inverse_
6213 if (!has_inverse()) {
6216 constraint_.inverse_ = CreateMaybeMessage< ::operations_research::sat::InverseConstraintProto >(
6217 GetArenaNoVirtual());
6220 return constraint_.inverse_;
6225 return constraint_case() == kReservoir;
6227 inline void ConstraintProto::set_has_reservoir() {
6228 _oneof_case_[0] = kReservoir;
6231 if (has_reservoir()) {
6232 delete constraint_.reservoir_;
6233 clear_has_constraint();
6238 if (has_reservoir()) {
6239 clear_has_constraint();
6241 constraint_.reservoir_ =
nullptr;
6249 return has_reservoir()
6250 ? *constraint_.reservoir_
6254 if (!has_reservoir()) {
6256 set_has_reservoir();
6257 constraint_.reservoir_ = CreateMaybeMessage< ::operations_research::sat::ReservoirConstraintProto >(
6258 GetArenaNoVirtual());
6261 return constraint_.reservoir_;
6266 return constraint_case() == kInterval;
6268 inline void ConstraintProto::set_has_interval() {
6269 _oneof_case_[0] = kInterval;
6272 if (has_interval()) {
6273 delete constraint_.interval_;
6274 clear_has_constraint();
6279 if (has_interval()) {
6280 clear_has_constraint();
6282 constraint_.interval_ =
nullptr;
6290 return has_interval()
6291 ? *constraint_.interval_
6295 if (!has_interval()) {
6298 constraint_.interval_ = CreateMaybeMessage< ::operations_research::sat::IntervalConstraintProto >(
6299 GetArenaNoVirtual());
6302 return constraint_.interval_;
6307 return constraint_case() == kNoOverlap;
6309 inline void ConstraintProto::set_has_no_overlap() {
6310 _oneof_case_[0] = kNoOverlap;
6313 if (has_no_overlap()) {
6314 delete constraint_.no_overlap_;
6315 clear_has_constraint();
6320 if (has_no_overlap()) {
6321 clear_has_constraint();
6323 constraint_.no_overlap_ =
nullptr;
6331 return has_no_overlap()
6332 ? *constraint_.no_overlap_
6336 if (!has_no_overlap()) {
6338 set_has_no_overlap();
6339 constraint_.no_overlap_ = CreateMaybeMessage< ::operations_research::sat::NoOverlapConstraintProto >(
6340 GetArenaNoVirtual());
6343 return constraint_.no_overlap_;
6348 return constraint_case() == kNoOverlap2D;
6350 inline void ConstraintProto::set_has_no_overlap_2d() {
6351 _oneof_case_[0] = kNoOverlap2D;
6354 if (has_no_overlap_2d()) {
6355 delete constraint_.no_overlap_2d_;
6356 clear_has_constraint();
6361 if (has_no_overlap_2d()) {
6362 clear_has_constraint();
6364 constraint_.no_overlap_2d_ =
nullptr;
6372 return has_no_overlap_2d()
6373 ? *constraint_.no_overlap_2d_
6377 if (!has_no_overlap_2d()) {
6379 set_has_no_overlap_2d();
6380 constraint_.no_overlap_2d_ = CreateMaybeMessage< ::operations_research::sat::NoOverlap2DConstraintProto >(
6381 GetArenaNoVirtual());
6384 return constraint_.no_overlap_2d_;
6389 return constraint_case() == kCumulative;
6391 inline void ConstraintProto::set_has_cumulative() {
6392 _oneof_case_[0] = kCumulative;
6395 if (has_cumulative()) {
6396 delete constraint_.cumulative_;
6397 clear_has_constraint();
6402 if (has_cumulative()) {
6403 clear_has_constraint();
6405 constraint_.cumulative_ =
nullptr;
6413 return has_cumulative()
6414 ? *constraint_.cumulative_
6418 if (!has_cumulative()) {
6420 set_has_cumulative();
6421 constraint_.cumulative_ = CreateMaybeMessage< ::operations_research::sat::CumulativeConstraintProto >(
6422 GetArenaNoVirtual());
6425 return constraint_.cumulative_;
6428 inline bool ConstraintProto::has_constraint()
const {
6429 return constraint_case() != CONSTRAINT_NOT_SET;
6431 inline void ConstraintProto::clear_has_constraint() {
6432 _oneof_case_[0] = CONSTRAINT_NOT_SET;
6443 return vars_.size();
6450 return vars_.Get(index);
6453 vars_.Set(index, value);
6460 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
6465 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
6473 return coeffs_.size();
6480 return coeffs_.Get(index);
6483 coeffs_.Set(index, value);
6490 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
6495 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
6517 scaling_factor_ = 0;
6521 return scaling_factor_;
6525 scaling_factor_ = value;
6531 return domain_.size();
6538 return domain_.Get(index);
6541 domain_.Set(index, value);
6548 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
6553 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
6579 offset_ = PROTOBUF_LONGLONG(0);
6593 positive_coeff_ = PROTOBUF_LONGLONG(0);
6597 return positive_coeff_;
6601 positive_coeff_ = value;
6611 return variables_.size();
6618 return variables_.Get(index);
6621 variables_.Set(index, value);
6625 variables_.Add(value);
6628 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
6633 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
6641 variable_selection_strategy_ = 0;
6645 return static_cast< ::operations_research::sat::DecisionStrategyProto_VariableSelectionStrategy >(variable_selection_strategy_);
6649 variable_selection_strategy_ = value;
6655 domain_reduction_strategy_ = 0;
6659 return static_cast< ::operations_research::sat::DecisionStrategyProto_DomainReductionStrategy >(domain_reduction_strategy_);
6663 domain_reduction_strategy_ = value;
6669 return transformations_.size();
6672 transformations_.Clear();
6676 return transformations_.Mutable(index);
6678 inline ::google::protobuf::RepeatedPtrField< ::operations_research::sat::DecisionStrategyProto_AffineTransformation >*
6681 return &transformations_;
6685 return transformations_.Get(index);
6689 return transformations_.Add();
6691 inline const ::google::protobuf::RepeatedPtrField< ::operations_research::sat::DecisionStrategyProto_AffineTransformation >&
6694 return transformations_;
6703 return vars_.size();
6710 return vars_.Get(index);
6713 vars_.Set(index, value);
6720 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
6725 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
6733 return values_.size();
6740 return values_.Get(index);
6743 values_.Set(index, value);
6750 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
6755 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
6767 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6771 return name_.GetNoArena();
6775 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
6782 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
6787 GOOGLE_DCHECK(value !=
nullptr);
6789 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
6794 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
6795 ::std::string(reinterpret_cast<const char*>(value), size));
6801 return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6806 return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6809 if (name !=
nullptr) {
6814 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
6820 return variables_.size();
6827 return variables_.Mutable(index);
6829 inline ::google::protobuf::RepeatedPtrField< ::operations_research::sat::IntegerVariableProto >*
6836 return variables_.Get(index);
6840 return variables_.Add();
6842 inline const ::google::protobuf::RepeatedPtrField< ::operations_research::sat::IntegerVariableProto >&
6850 return constraints_.size();
6853 constraints_.Clear();
6857 return constraints_.Mutable(index);
6859 inline ::google::protobuf::RepeatedPtrField< ::operations_research::sat::ConstraintProto >*
6862 return &constraints_;
6866 return constraints_.Get(index);
6870 return constraints_.Add();
6872 inline const ::google::protobuf::RepeatedPtrField< ::operations_research::sat::ConstraintProto >&
6875 return constraints_;
6883 if (GetArenaNoVirtual() ==
nullptr && objective_ !=
nullptr) {
6886 objective_ =
nullptr;
6889 const ::operations_research::sat::CpObjectiveProto* p = objective_;
6891 return p !=
nullptr ? *p : *reinterpret_cast<const ::operations_research::sat::CpObjectiveProto*>(
6898 objective_ =
nullptr;
6903 if (objective_ ==
nullptr) {
6904 auto* p = CreateMaybeMessage<::operations_research::sat::CpObjectiveProto>(GetArenaNoVirtual());
6911 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
6912 if (message_arena ==
nullptr) {
6916 ::google::protobuf::Arena* submessage_arena =
nullptr;
6917 if (message_arena != submessage_arena) {
6918 objective = ::google::protobuf::internal::GetOwnedMessage(
6919 message_arena, objective, submessage_arena);
6925 objective_ = objective;
6931 return search_strategy_.size();
6934 search_strategy_.Clear();
6938 return search_strategy_.Mutable(index);
6940 inline ::google::protobuf::RepeatedPtrField< ::operations_research::sat::DecisionStrategyProto >*
6943 return &search_strategy_;
6947 return search_strategy_.Get(index);
6951 return search_strategy_.Add();
6953 inline const ::google::protobuf::RepeatedPtrField< ::operations_research::sat::DecisionStrategyProto >&
6956 return search_strategy_;
6964 if (GetArenaNoVirtual() ==
nullptr && solution_hint_ !=
nullptr) {
6965 delete solution_hint_;
6967 solution_hint_ =
nullptr;
6970 const ::operations_research::sat::PartialVariableAssignment* p = solution_hint_;
6972 return p !=
nullptr ? *p : *reinterpret_cast<const ::operations_research::sat::PartialVariableAssignment*>(
6979 solution_hint_ =
nullptr;
6984 if (solution_hint_ ==
nullptr) {
6985 auto* p = CreateMaybeMessage<::operations_research::sat::PartialVariableAssignment>(GetArenaNoVirtual());
6989 return solution_hint_;
6992 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
6993 if (message_arena ==
nullptr) {
6994 delete solution_hint_;
6996 if (solution_hint) {
6997 ::google::protobuf::Arena* submessage_arena =
nullptr;
6998 if (message_arena != submessage_arena) {
6999 solution_hint = ::google::protobuf::internal::GetOwnedMessage(
7000 message_arena, solution_hint, submessage_arena);
7006 solution_hint_ = solution_hint;
7020 return static_cast< ::operations_research::sat::CpSolverStatus >(status_);
7030 return solution_.size();
7037 return solution_.Get(index);
7040 solution_.Set(index, value);
7044 solution_.Add(value);
7047 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
7052 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
7060 objective_value_ = 0;
7064 return objective_value_;
7068 objective_value_ = value;
7074 best_objective_bound_ = 0;
7078 return best_objective_bound_;
7082 best_objective_bound_ = value;
7088 return solution_lower_bounds_.size();
7091 solution_lower_bounds_.Clear();
7095 return solution_lower_bounds_.Get(index);
7098 solution_lower_bounds_.Set(index, value);
7102 solution_lower_bounds_.Add(value);
7105 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
7108 return solution_lower_bounds_;
7110 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
7113 return &solution_lower_bounds_;
7118 return solution_upper_bounds_.size();
7121 solution_upper_bounds_.Clear();
7125 return solution_upper_bounds_.Get(index);
7128 solution_upper_bounds_.Set(index, value);
7132 solution_upper_bounds_.Add(value);
7135 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
7138 return solution_upper_bounds_;
7140 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
7143 return &solution_upper_bounds_;
7148 return tightened_variables_.size();
7151 tightened_variables_.Clear();
7155 return tightened_variables_.Mutable(index);
7157 inline ::google::protobuf::RepeatedPtrField< ::operations_research::sat::IntegerVariableProto >*
7160 return &tightened_variables_;
7164 return tightened_variables_.Get(index);
7168 return tightened_variables_.Add();
7170 inline const ::google::protobuf::RepeatedPtrField< ::operations_research::sat::IntegerVariableProto >&
7173 return tightened_variables_;
7178 all_solutions_were_found_ =
false;
7182 return all_solutions_were_found_;
7186 all_solutions_were_found_ = value;
7192 num_booleans_ = PROTOBUF_LONGLONG(0);
7196 return num_booleans_;
7200 num_booleans_ = value;
7206 num_conflicts_ = PROTOBUF_LONGLONG(0);
7210 return num_conflicts_;
7214 num_conflicts_ = value;
7220 num_branches_ = PROTOBUF_LONGLONG(0);
7224 return num_branches_;
7228 num_branches_ = value;
7234 num_binary_propagations_ = PROTOBUF_LONGLONG(0);
7238 return num_binary_propagations_;
7242 num_binary_propagations_ = value;
7248 num_integer_propagations_ = PROTOBUF_LONGLONG(0);
7252 return num_integer_propagations_;
7256 num_integer_propagations_ = value;
7290 deterministic_time_ = 0;
7294 return deterministic_time_;
7298 deterministic_time_ = value;
7304 solution_info_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7308 return solution_info_.GetNoArena();
7312 solution_info_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
7318 solution_info_.SetNoArena(
7319 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
7324 GOOGLE_DCHECK(value !=
nullptr);
7326 solution_info_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
7331 solution_info_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
7332 ::std::string(reinterpret_cast<const char*>(value), size));
7338 return solution_info_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7343 return solution_info_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7346 if (solution_info !=
nullptr) {
7351 solution_info_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), solution_info);
7356 #pragma GCC diagnostic pop 7411 namespace protobuf {
7415 inline const EnumDescriptor* GetEnumDescriptor< ::operations_research::sat::DecisionStrategyProto_VariableSelectionStrategy>() {
7420 inline const EnumDescriptor* GetEnumDescriptor< ::operations_research::sat::DecisionStrategyProto_DomainReductionStrategy>() {
7425 inline const EnumDescriptor* GetEnumDescriptor< ::operations_research::sat::CpSolverStatus>() {
7434 #include <google/protobuf/port_undef.inc> 7435 #endif // PROTOBUF_INCLUDED_ortools_2fsat_2fcp_5fmodel_2eproto virtual ~BoolArgumentProto()
::google::protobuf::int64 num_binary_propagations() const
void Swap(IntegerVariableProto *other)
PartialVariableAssignmentDefaultTypeInternal _PartialVariableAssignment_default_instance_
bool has_bool_and() const
.operations_research.sat.BoolArgumentProto bool_and = 4;
bool has_all_diff() const
.operations_research.sat.AllDifferentConstraintProto all_diff = 13;
void set_all_solutions_were_found(bool value)
const ::operations_research::sat::ElementConstraintProto & element() const
void add_intervals(::google::protobuf::int32 value)
void set_intervals(int index, ::google::protobuf::int32 value)
int nexts_size() const
nested types -------------------------------------------------—
void set_num_integer_propagations(::google::protobuf::int64 value)
void add_vars(::google::protobuf::int32 value)
void set_vars(int index, ::google::protobuf::int32 value)
int transition_head_size() const
repeated int64 transition_head = 5;
::operations_research::sat::ConstraintProto * add_constraints()
int literals_size() const
repeated int32 literals = 3;
::google::protobuf::int64 num_conflicts() const
int transformations_size() const
repeated .operations_research.sat.DecisionStrategyProto.AffineTransformation transformations = 4;
::google::protobuf::RepeatedField< ::google::protobuf::int64 > * mutable_coeffs()
void add_enforcement_literal(::google::protobuf::int32 value)
void set_domain(int index, ::google::protobuf::int64 value)
::google::protobuf::int64 starting_state() const
ConstraintProtoDefaultTypeInternal _ConstraintProto_default_instance_
int GetCachedSize() const final
::google::protobuf::int32 index() const
::operations_research::sat::IntegerVariableProto * add_tightened_variables()
void set_domain_reduction_strategy(::operations_research::sat::DecisionStrategyProto_DomainReductionStrategy value)
::google::protobuf::RepeatedField< ::google::protobuf::int64 > * mutable_solution_lower_bounds()
void set_demands(int index, ::google::protobuf::int64 value)
void add_f_inverse(::google::protobuf::int32 value)
void set_f_inverse(int index, ::google::protobuf::int32 value)
int transition_label_size() const
repeated int64 transition_label = 6;
RoutesConstraintProtoDefaultTypeInternal _RoutesConstraintProto_default_instance_
int enforcement_literal_size() const
nested types -------------------------------------------------—
void set_target(::google::protobuf::int32 value)
int variables_size() const
nested types -------------------------------------------------—
::google::protobuf::RepeatedField< ::google::protobuf::int32 > * mutable_vars()
static const BoolArgumentProto & default_instance()
void set_heads(int index, ::google::protobuf::int32 value)
void set_num_conflicts(::google::protobuf::int64 value)
void add_solution_upper_bounds(::google::protobuf::int64 value)
int tails_size() const
nested types -------------------------------------------------—
int final_states_size() const
nested types -------------------------------------------------—
::google::protobuf::int64 num_integer_propagations() const
::google::protobuf::RepeatedField< ::google::protobuf::int32 > * mutable_vars()
::std::string * release_name()
::google::protobuf::RepeatedField< ::google::protobuf::int32 > * mutable_literals()
void CopyFrom(const ::google::protobuf::Message &from) final
void CopyFrom(const ::google::protobuf::Message &from) final
static const IntegerVariableProto & default_instance()
const ::operations_research::sat::PartialVariableAssignment & solution_hint() const
::google::protobuf::RepeatedField< ::google::protobuf::int64 > * mutable_values()
bool DecisionStrategyProto_VariableSelectionStrategy_IsValid(int value)
void clear_num_binary_propagations()
int64 num_binary_propagations = 13;
void clear_start()
nested types -------------------------------------------------—
void add_transition_tail(::google::protobuf::int64 value)
::std::string * mutable_solution_info()
::operations_research::sat::AutomatonConstraintProto * release_automaton()
::operations_research::sat::CpSolverStatus status() const
const ::std::string & DecisionStrategyProto_VariableSelectionStrategy_Name(DecisionStrategyProto_VariableSelectionStrategy value)
void Swap(NoOverlapConstraintProto *other)
IntegerVariableProtoDefaultTypeInternal _IntegerVariableProto_default_instance_
static constexpr int kIndexInFileMessages
void clear_capacity()
int32 capacity = 1;
const ::google::protobuf::RepeatedField< ::google::protobuf::int32 > & literals() const
void set_vars(int index, ::google::protobuf::int32 value)
void add_values(::google::protobuf::int64 value)
int demands_size() const
repeated int32 demands = 3;
void clear_solution_lower_bounds()
int vars_size() const
nested types -------------------------------------------------—
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input) final
friend void swap(IntegerVariableProto &a, IntegerVariableProto &b)
void clear_solution_upper_bounds()
void set_name(const ::std::string &value)
void set_literals(int index, ::google::protobuf::int32 value)
void Swap(NoOverlap2DConstraintProto *other)
void set_start(::google::protobuf::int32 value)
CumulativeConstraintProtoDefaultTypeInternal _CumulativeConstraintProto_default_instance_
int actives_size() const
repeated int32 actives = 5;
void clear_distinguished_nodes()
void set_variable_selection_strategy(::operations_research::sat::DecisionStrategyProto_VariableSelectionStrategy value)
::google::protobuf::Metadata GetMetadata() const final
void Swap(CircuitCoveringConstraintProto *other)
int search_strategy_size() const
repeated .operations_research.sat.DecisionStrategyProto search_strategy = 5;
const ::google::protobuf::RepeatedField< ::google::protobuf::int64 > & demands() const
const ::google::protobuf::RepeatedField< ::google::protobuf::int64 > & transition_tail() const
::google::protobuf::RepeatedField< ::google::protobuf::int32 > * mutable_y_intervals()
double scaling_factor() const
static const int kNameFieldNumber
void Swap(IntervalConstraintProto *other)
::google::protobuf::RepeatedField< ::google::protobuf::int32 > * mutable_enforcement_literal()
::operations_research::sat::InverseConstraintProto * mutable_inverse()
int intervals_size() const
nested types -------------------------------------------------—
::google::protobuf::RepeatedField< ::google::protobuf::int32 > * mutable_x_intervals()
::google::protobuf::RepeatedField< ::google::protobuf::int32 > * mutable_demands()
bool CpSolverStatus_Parse(const ::std::string &name, CpSolverStatus *value)
::operations_research::sat::CircuitCoveringConstraintProto * release_circuit_covering()
bool has_int_div() const
.operations_research.sat.IntegerArgumentProto int_div = 7;
void clear_enforcement_literal()
void set_offset(double value)
const ::google::protobuf::RepeatedField< ::google::protobuf::int32 > & vars() const
InverseConstraintProtoDefaultTypeInternal _InverseConstraintProto_default_instance_
static const ::google::protobuf::Descriptor * descriptor()
bool DecisionStrategyProto_DomainReductionStrategy_IsValid(int value)
void set_wall_time(double value)
const ::google::protobuf::RepeatedField< ::google::protobuf::int64 > & values() const
bool has_at_most_one() const
.operations_research.sat.BoolArgumentProto at_most_one = 26;
::operations_research::sat::NoOverlapConstraintProto * mutable_no_overlap()
const ::google::protobuf::RepeatedField< ::google::protobuf::int32 > & vars() const
int vars_size() const
nested types -------------------------------------------------—
void set_starting_state(::google::protobuf::int64 value)
AutomatonConstraintProtoDefaultTypeInternal _AutomatonConstraintProto_default_instance_
::std::string * mutable_name()
::google::protobuf::int32 end() const
const ::google::protobuf::RepeatedField< ::google::protobuf::int32 > & demands() const
const ::std::string & name() const
::google::protobuf::int32 target() const
void add_domain(::google::protobuf::int64 value)
void add_times(::google::protobuf::int32 value)
ConstraintCase constraint_case() const
::google::protobuf::RepeatedField< ::google::protobuf::int64 > * mutable_solution()
const ::google::protobuf::RepeatedField< ::google::protobuf::int32 > & nexts() const
const ::operations_research::sat::BoolArgumentProto & at_most_one() const
int values_size() const
repeated int64 values = 2;
void set_transition_label(int index, ::google::protobuf::int64 value)
void clear_name()
string name = 1;
::operations_research::sat::IntegerArgumentProto * mutable_int_div()
const ::google::protobuf::RepeatedField< ::google::protobuf::int32 > & literals() const
void set_coeffs(int index, ::google::protobuf::int64 value)
::google::protobuf::RepeatedPtrField< ::operations_research::sat::IntegerVariableProto > * mutable_tightened_variables()
const ::google::protobuf::RepeatedField< ::google::protobuf::int64 > & values() const
void clear_search_strategy()
::std::string * mutable_name()
size_t ByteSizeLong() const final
BoolArgumentProto & operator=(const BoolArgumentProto &from)
const ::google::protobuf::RepeatedPtrField< ::operations_research::sat::IntegerVariableProto > & tightened_variables() const
BoolArgumentProto * New() const final
implements Message -------------------------------------------—
void set_deterministic_time(double value)
int variables_size() const
accessors ----------------------------------------------------—
CpObjectiveProtoDefaultTypeInternal _CpObjectiveProto_default_instance_
void add_domain(::google::protobuf::int64 value)
CpModelProtoDefaultTypeInternal _CpModelProto_default_instance_
void add_vars(::google::protobuf::int32 value)
void clear_no_overlap_2d()
bool has_bool_xor() const
.operations_research.sat.BoolArgumentProto bool_xor = 5;
int coeffs_size() const
repeated int64 coeffs = 2;
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input) final
size_t ByteSizeLong() const final
void set_solution(int index, ::google::protobuf::int64 value)
void Swap(ElementConstraintProto *other)
const ::google::protobuf::RepeatedField< ::google::protobuf::int64 > & solution_lower_bounds() const
::google::protobuf::int64 num_booleans() const
CircuitCoveringConstraintProtoDefaultTypeInternal _CircuitCoveringConstraintProto_default_instance_
::google::protobuf::RepeatedField< ::google::protobuf::int32 > * mutable_f_direct()
int solution_size() const
nested types -------------------------------------------------—
void add_vars(::google::protobuf::int32 value)
void set_times(int index, ::google::protobuf::int32 value)
void set_max_level(::google::protobuf::int64 value)
const ::google::protobuf::RepeatedPtrField< ::operations_research::sat::IntegerVariableProto > & variables() const
BoolArgumentProtoDefaultTypeInternal _BoolArgumentProto_default_instance_
::operations_research::sat::PartialVariableAssignment * release_solution_hint()
::std::string * release_solution_info()
void clear_deterministic_time()
double deterministic_time = 17;
::operations_research::sat::InverseConstraintProto * release_inverse()
void set_vars(int index, ::google::protobuf::int32 value)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void set_tails(int index, ::google::protobuf::int32 value)
void set_values(int index, ::google::protobuf::int64 value)
void clear_transition_tail()
void clear_num_booleans()
int64 num_booleans = 10;
int values_size() const
repeated int64 values = 2;
::operations_research::sat::ReservoirConstraintProto * release_reservoir()
static const int kLiteralsFieldNumber
void set_index(::google::protobuf::int32 value)
void Swap(AllDifferentConstraintProto *other)
void add_demands(::google::protobuf::int64 value)
int domain_size() const
repeated int64 domain = 3;
::operations_research::sat::LinearConstraintProto * mutable_linear()
const ::google::protobuf::RepeatedField< ::google::protobuf::int64 > & transition_head() const
int literals_size() const
nested types -------------------------------------------------—
int tightened_variables_size() const
repeated .operations_research.sat.IntegerVariableProto tightened_variables = 21;
bool has_routes() const
.operations_research.sat.RoutesConstraintProto routes = 23;
const ::std::string & CpSolverStatus_Name(CpSolverStatus value)
friend void swap(BoolArgumentProto &a, BoolArgumentProto &b)
::operations_research::sat::IntervalConstraintProto * release_interval()
const ::google::protobuf::RepeatedField< ::google::protobuf::int32 > & variables() const
::google::protobuf::int64 num_branches() const
void set_allocated_name(::std::string *name)
void set_transition_head(int index, ::google::protobuf::int64 value)
void add_solution_lower_bounds(::google::protobuf::int64 value)
bool DecisionStrategyProto_VariableSelectionStrategy_Parse(const ::std::string &name, DecisionStrategyProto_VariableSelectionStrategy *value)
bool has_automaton() const
.operations_research.sat.AutomatonConstraintProto automaton = 17;
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray(::google::protobuf::uint8 *target) const final
void set_enforcement_literal(int index, ::google::protobuf::int32 value)
const ::google::protobuf::RepeatedField< ::google::protobuf::int32 > & vars() const
void set_min_level(::google::protobuf::int64 value)
const ::google::protobuf::RepeatedField< ::google::protobuf::int64 > & domain() const
void clear_wall_time()
double wall_time = 15;
::google::protobuf::RepeatedPtrField< ::operations_research::sat::ConstraintProto > * mutable_constraints()
void set_solution_info(const ::std::string &value)
DecisionStrategyProto_AffineTransformationDefaultTypeInternal _DecisionStrategyProto_AffineTransformation_default_instance_
const ::google::protobuf::RepeatedField< ::google::protobuf::int32 > & intervals() const
::operations_research::sat::DecisionStrategyProto_DomainReductionStrategy domain_reduction_strategy() const
void clear_target()
int32 target = 2;
const DecisionStrategyProto_DomainReductionStrategy DecisionStrategyProto_DomainReductionStrategy_DomainReductionStrategy_MIN
bool has_linear() const
.operations_research.sat.LinearConstraintProto linear = 12;
void add_tails(::google::protobuf::int32 value)
void set_vars(int index, ::google::protobuf::int32 value)
::operations_research::sat::BoolArgumentProto * release_bool_xor()
void set_num_booleans(::google::protobuf::int64 value)
void set_num_binary_propagations(::google::protobuf::int64 value)
void MergeFrom(const ::google::protobuf::Message &from) final
::operations_research::sat::TableConstraintProto * mutable_table()
void set_allocated_name(::std::string *name)
::operations_research::sat::AutomatonConstraintProto * mutable_automaton()
const ::google::protobuf::RepeatedField< ::google::protobuf::int32 > & vars() const
void set_distinguished_nodes(int index, ::google::protobuf::int64 value)
void add_transition_label(::google::protobuf::int64 value)
::operations_research::sat::CumulativeConstraintProto * mutable_cumulative()
::google::protobuf::Metadata GetMetadata() const final
void clear_status()
.operations_research.sat.CpSolverStatus status = 1;
virtual ~IntegerVariableProto()
void clear_starting_state()
int64 starting_state = 2;
void clear_target()
int32 target = 1;
::google::protobuf::RepeatedField< ::google::protobuf::int64 > * mutable_domain()
::google::protobuf::RepeatedField< ::google::protobuf::int32 > * mutable_vars()
void add_y_intervals(::google::protobuf::int32 value)
bool has_table() const
.operations_research.sat.TableConstraintProto table = 16;
bool has_inverse() const
.operations_research.sat.InverseConstraintProto inverse = 18;
::operations_research::sat::IntegerVariableProto * add_variables()
const ::google::protobuf::RepeatedField< ::google::protobuf::int32 > & times() const
const ::operations_research::sat::BoolArgumentProto & bool_xor() const
void set_solution_upper_bounds(int index, ::google::protobuf::int64 value)
::operations_research::sat::DecisionStrategyProto * add_search_strategy()
void Swap(IntegerArgumentProto *other)
bool has_circuit_covering() const
.operations_research.sat.CircuitCoveringConstraintProto circuit_covering = 25;
const ::google::protobuf::RepeatedField< ::google::protobuf::int64 > & final_states() const
int x_intervals_size() const
nested types -------------------------------------------------—
void set_solution_lower_bounds(int index, ::google::protobuf::int64 value)
void clear_num_conflicts()
int64 num_conflicts = 11;
int domain_size() const
repeated int64 domain = 5;
::operations_research::sat::IntegerArgumentProto * release_int_min()
void add_solution(::google::protobuf::int64 value)
void add_vars(::google::protobuf::int32 value)
void clear_all_solutions_were_found()
bool all_solutions_were_found = 5;
void add_values(::google::protobuf::int64 value)
::google::protobuf::RepeatedField< ::google::protobuf::int64 > * mutable_transition_tail()
void clear_solution_hint()
const ::operations_research::sat::NoOverlapConstraintProto & no_overlap() const
void set_negated(bool value)
::google::protobuf::RepeatedField< ::google::protobuf::int32 > * mutable_tails()
static const BoolArgumentProto * internal_default_instance()
::google::protobuf::RepeatedField< ::google::protobuf::int32 > * mutable_tails()
AllDifferentConstraintProto * New() const final
implements Message -------------------------------------------—
void add_demands(::google::protobuf::int32 value)
::google::protobuf::RepeatedField< ::google::protobuf::int32 > * mutable_literals()
::operations_research::sat::IntegerArgumentProto * release_int_prod()
const ::google::protobuf::RepeatedField< ::google::protobuf::int32 > & enforcement_literal() const
void add_final_states(::google::protobuf::int64 value)
DecisionStrategyProtoDefaultTypeInternal _DecisionStrategyProto_default_instance_
void clear_user_time()
double user_time = 16;
NoOverlap2DConstraintProtoDefaultTypeInternal _NoOverlap2DConstraintProto_default_instance_
const ::std::string & name() const
void Swap(LinearConstraintProto *other)
::operations_research::sat::NoOverlapConstraintProto * release_no_overlap()
void clear_name()
string name = 1;
const ::google::protobuf::RepeatedField< ::google::protobuf::int32 > & tails() const
bool has_int_prod() const
.operations_research.sat.IntegerArgumentProto int_prod = 11;
void clear_final_states()
bool has_no_overlap() const
.operations_research.sat.NoOverlapConstraintProto no_overlap = 20;
::google::protobuf::RepeatedField< ::google::protobuf::int32 > * mutable_vars()
::operations_research::sat::ElementConstraintProto * mutable_element()
::google::protobuf::RepeatedField< ::google::protobuf::int64 > * mutable_final_states()
::google::protobuf::RepeatedField< ::google::protobuf::int64 > * mutable_domain()
::operations_research::sat::BoolArgumentProto * release_bool_or()
void set_allocated_solution_hint(::operations_research::sat::PartialVariableAssignment *solution_hint)
::operations_research::sat::LinearConstraintProto * release_linear()
const ::google::protobuf::RepeatedField< ::google::protobuf::int32 > & demands() const
static const int kDomainFieldNumber
void add_vars(::google::protobuf::int32 value)
const ::operations_research::sat::AutomatonConstraintProto & automaton() const
const ::operations_research::sat::CpObjectiveProto & objective() const
const ::google::protobuf::RepeatedField< ::google::protobuf::int32 > & heads() const
void Swap(CpModelProto *other)
int GetCachedSize() const final
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const final
void clear_transformations()
int y_intervals_size() const
repeated int32 y_intervals = 2;
::google::protobuf::int64 max_level() const
::operations_research::sat::CpObjectiveProto * release_objective()
::google::protobuf::RepeatedField< ::google::protobuf::int64 > * mutable_values()
const ::google::protobuf::RepeatedPtrField< ::operations_research::sat::DecisionStrategyProto_AffineTransformation > & transformations() const
bool has_interval() const
.operations_research.sat.IntervalConstraintProto interval = 19;
int transition_tail_size() const
repeated int64 transition_tail = 4;
const ::google::protobuf::RepeatedField< ::google::protobuf::int32 > & f_direct() const
void set_capacity(::google::protobuf::int64 value)
const ::google::protobuf::RepeatedField< ::google::protobuf::int64 > & coeffs() const
const CpSolverStatus CpSolverStatus_MIN
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray(::google::protobuf::uint8 *target) const final
const ::operations_research::sat::CircuitCoveringConstraintProto & circuit_covering() const
::google::protobuf::RepeatedField< ::google::protobuf::int32 > * mutable_vars()
const ::google::protobuf::RepeatedField< ::google::protobuf::int64 > & domain() const
void set_objective_value(double value)
void set_status(::operations_research::sat::CpSolverStatus value)
::google::protobuf::RepeatedField< ::google::protobuf::int32 > * mutable_variables()
void add_variables(::google::protobuf::int32 value)
::operations_research::sat::ReservoirConstraintProto * mutable_reservoir()
const ::google::protobuf::RepeatedField< ::google::protobuf::int32 > & vars() const
static const ::google::protobuf::Descriptor * descriptor()
bool has_solution_hint() const
.operations_research.sat.PartialVariableAssignment solution_hint = 6;
int solution_upper_bounds_size() const
repeated int64 solution_upper_bounds = 19;
const ::google::protobuf::RepeatedField< ::google::protobuf::int64 > & distinguished_nodes() const
void set_tails(int index, ::google::protobuf::int32 value)
bool IsInitialized() const final
const ::google::protobuf::RepeatedField< ::google::protobuf::int32 > & x_intervals() const
const ::google::protobuf::RepeatedField< ::google::protobuf::int32 > & vars() const
void clear_num_branches()
int64 num_branches = 12;
void set_size(::google::protobuf::int32 value)
::operations_research::sat::NoOverlap2DConstraintProto * mutable_no_overlap_2d()
::operations_research::sat::BoolArgumentProto * mutable_bool_and()
void clear_transition_head()
int vars_size() const
nested types -------------------------------------------------—
const ::google::protobuf::EnumDescriptor * DecisionStrategyProto_DomainReductionStrategy_descriptor()
void clear_scaling_factor()
double scaling_factor = 3;
bool has_objective() const
.operations_research.sat.CpObjectiveProto objective = 4;
::google::protobuf::RepeatedField< ::google::protobuf::int64 > * mutable_transition_label()
void set_vars(int index, ::google::protobuf::int32 value)
const ::google::protobuf::RepeatedField< ::google::protobuf::int32 > & y_intervals() const
void set_coeffs(int index, ::google::protobuf::int64 value)
::google::protobuf::RepeatedField< ::google::protobuf::int32 > * mutable_heads()
const ::google::protobuf::EnumDescriptor * CpSolverStatus_descriptor()
::google::protobuf::RepeatedField< ::google::protobuf::int64 > * mutable_domain()
const ::operations_research::sat::CircuitConstraintProto & circuit() const
::google::protobuf::RepeatedField< ::google::protobuf::int32 > * mutable_vars()
IntegerVariableProto * New() const final
implements Message -------------------------------------------—
ReservoirConstraintProtoDefaultTypeInternal _ReservoirConstraintProto_default_instance_
::operations_research::sat::AllDifferentConstraintProto * release_all_diff()
::google::protobuf::int32 capacity() const
void add_transition_head(::google::protobuf::int64 value)
::google::protobuf::RepeatedField< ::google::protobuf::int64 > * mutable_distinguished_nodes()
bool CpSolverStatus_IsValid(int value)
::google::protobuf::RepeatedField< ::google::protobuf::int32 > * mutable_heads()
int vars_size() const
nested types -------------------------------------------------—
::google::protobuf::RepeatedField< ::google::protobuf::int32 > * mutable_actives()
CumulativeConstraintProto & operator=(const CumulativeConstraintProto &from)
const ::operations_research::sat::CumulativeConstraintProto & cumulative() const
void clear_min_level()
int64 min_level = 1;
void clear_objective_value()
double objective_value = 3;
::google::protobuf::int32 size() const
::operations_research::sat::IntegerArgumentProto * mutable_int_max()
const ::google::protobuf::RepeatedField< ::google::protobuf::int64 > & solution() const
void set_variables(int index, ::google::protobuf::int32 value)
bool has_circuit() const
.operations_research.sat.CircuitConstraintProto circuit = 15;
static constexpr int kIndexInFileMessages
::operations_research::sat::CircuitConstraintProto * release_circuit()
void set_intervals(int index, ::google::protobuf::int32 value)
IntegerVariableProto & operator=(const IntegerVariableProto &from)
const ::google::protobuf::EnumDescriptor * DecisionStrategyProto_VariableSelectionStrategy_descriptor()
::operations_research::sat::BoolArgumentProto * release_at_most_one()
::operations_research::sat::RoutesConstraintProto * release_routes()
::operations_research::sat::IntegerArgumentProto * release_int_div()
void Swap(CircuitConstraintProto *other)
::operations_research::sat::CumulativeConstraintProto * release_cumulative()
void set_literals(int index, ::google::protobuf::int32 value)
::std::string * release_name()
const ::operations_research::sat::ReservoirConstraintProto & reservoir() const
::operations_research::sat::PartialVariableAssignment * mutable_solution_hint()
::google::protobuf::RepeatedField< ::google::protobuf::int32 > * mutable_intervals()
void clear_best_objective_bound()
double best_objective_bound = 4;
int vars_size() const
nested types -------------------------------------------------—
void set_target(::google::protobuf::int32 value)
const ::google::protobuf::RepeatedField< ::google::protobuf::int32 > & heads() const
::google::protobuf::RepeatedPtrField< ::operations_research::sat::IntegerVariableProto > * mutable_variables()
::operations_research::sat::AllDifferentConstraintProto * mutable_all_diff()
::operations_research::sat::BoolArgumentProto * mutable_at_most_one()
::google::protobuf::RepeatedField< ::google::protobuf::int32 > * mutable_nexts()
void set_name(const ::std::string &value)
const ::operations_research::sat::IntegerArgumentProto & int_prod() const
double objective_value() const
void Swap(PartialVariableAssignment *other)
void set_final_states(int index, ::google::protobuf::int64 value)
void add_intervals(::google::protobuf::int32 value)
void add_actives(::google::protobuf::int32 value)
void add_literals(::google::protobuf::int32 value)
void set_allocated_solution_info(::std::string *solution_info)
::google::protobuf::RepeatedField< ::google::protobuf::int32 > * mutable_times()
int times_size() const
nested types -------------------------------------------------—
void clear_domain_reduction_strategy()
.operations_research.sat.DecisionStrategyProto.DomainReductionStrategy domain_reduction_strategy = 3;
void add_coeffs(::google::protobuf::int64 value)
::google::protobuf::RepeatedField< ::google::protobuf::int32 > * mutable_intervals()
void add_vars(::google::protobuf::int32 value)
::google::protobuf::RepeatedField< ::google::protobuf::int32 > * mutable_demands()
const ::operations_research::sat::InverseConstraintProto & inverse() const
CircuitConstraintProtoDefaultTypeInternal _CircuitConstraintProto_default_instance_
::operations_research::sat::IntegerArgumentProto * mutable_int_min()
void clear_size()
int32 size = 3;
const ::std::string & solution_info() const
static void InitAsDefaultInstance()
int constraints_size() const
repeated .operations_research.sat.ConstraintProto constraints = 3;
const ::google::protobuf::RepeatedPtrField< ::operations_research::sat::ConstraintProto > & constraints() const
::operations_research::sat::IntegerArgumentProto * release_int_max()
void clear_variable_selection_strategy()
.operations_research.sat.DecisionStrategyProto.VariableSelectionStrategy variable_selection_strategy ...
void add_literals(::google::protobuf::int32 value)
const DecisionStrategyProto_DomainReductionStrategy DecisionStrategyProto_DomainReductionStrategy_DomainReductionStrategy_MAX
void add_demands(::google::protobuf::int32 value)
double deterministic_time() const
void clear_max_level()
int64 max_level = 2;
CpSolverResponseDefaultTypeInternal _CpSolverResponse_default_instance_
::google::protobuf::RepeatedField< ::google::protobuf::int64 > * mutable_solution_upper_bounds()
void Swap(CumulativeConstraintProto *other)
DecisionStrategyProto_DomainReductionStrategy
const ::google::protobuf::RepeatedField< ::google::protobuf::int32 > & intervals() const
int literals_size() const
repeated int32 literals = 5;
const ::operations_research::sat::IntegerArgumentProto & int_div() const
const int DecisionStrategyProto_DomainReductionStrategy_DomainReductionStrategy_ARRAYSIZE
void set_vars(int index, ::google::protobuf::int32 value)
int domain_size() const
nested types -------------------------------------------------—
bool all_solutions_were_found() const
void set_x_intervals(int index, ::google::protobuf::int32 value)
int heads_size() const
repeated int32 heads = 4;
void add_literals(::google::protobuf::int32 value)
void set_end(::google::protobuf::int32 value)
int distinguished_nodes_size() const
repeated int64 distinguished_nodes = 2;
const ::google::protobuf::RepeatedField< ::google::protobuf::int32 > & f_inverse() const
const ::std::string & DecisionStrategyProto_DomainReductionStrategy_Name(DecisionStrategyProto_DomainReductionStrategy value)
void set_user_time(double value)
::operations_research::sat::DecisionStrategyProto_AffineTransformation * add_transformations()
void clear_negated()
bool negated = 3;
IntegerArgumentProtoDefaultTypeInternal _IntegerArgumentProto_default_instance_
::google::protobuf::int64 capacity() const
const ::operations_research::sat::IntegerArgumentProto & int_max() const
::operations_research::sat::CpObjectiveProto * mutable_objective()
TableConstraintProtoDefaultTypeInternal _TableConstraintProto_default_instance_
const CpSolverStatus CpSolverStatus_MAX
void Swap(CpSolverResponse *other)
void MergeFrom(const ::google::protobuf::Message &from) final
void set_scaling_factor(double value)
bool has_int_min() const
.operations_research.sat.IntegerArgumentProto int_min = 10;
const DecisionStrategyProto_VariableSelectionStrategy DecisionStrategyProto_VariableSelectionStrategy_VariableSelectionStrategy_MIN
::operations_research::sat::BoolArgumentProto * mutable_bool_or()
const ::operations_research::sat::IntegerArgumentProto & int_min() const
void add_coeffs(::google::protobuf::int64 value)
::google::protobuf::RepeatedField< ::google::protobuf::int32 > * mutable_vars()
void set_allocated_name(::std::string *name)
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in c...
void set_heads(int index, ::google::protobuf::int32 value)
const ::google::protobuf::RepeatedField< ::google::protobuf::int64 > & transition_label() const
ElementConstraintProtoDefaultTypeInternal _ElementConstraintProto_default_instance_
LinearConstraintProtoDefaultTypeInternal _LinearConstraintProto_default_instance_
void set_name(const ::std::string &value)
int demands_size() const
repeated int64 demands = 4;
::operations_research::sat::IntegerArgumentProto * mutable_int_prod()
::google::protobuf::RepeatedPtrField< ::operations_research::sat::DecisionStrategyProto > * mutable_search_strategy()
void set_actives(int index, ::google::protobuf::int32 value)
void clear_circuit_covering()
::operations_research::sat::IntegerArgumentProto * mutable_int_mod()
void set_domain(int index, ::google::protobuf::int64 value)
void set_vars(int index, ::google::protobuf::int32 value)
::google::protobuf::RepeatedField< ::google::protobuf::int32 > * mutable_f_inverse()
void add_nexts(::google::protobuf::int32 value)
void Swap(ReservoirConstraintProto *other)
void add_distinguished_nodes(::google::protobuf::int64 value)
const ::operations_research::sat::RoutesConstraintProto & routes() const
const ::std::string & name() const
int demands_size() const
repeated int32 demands = 4;
void clear_end()
int32 end = 2;
const ::google::protobuf::RepeatedPtrField< ::operations_research::sat::DecisionStrategyProto > & search_strategy() const
bool has_int_mod() const
.operations_research.sat.IntegerArgumentProto int_mod = 8;
void set_num_branches(::google::protobuf::int64 value)
double best_objective_bound() const
void add_x_intervals(::google::protobuf::int32 value)
::google::protobuf::RepeatedField< ::google::protobuf::int64 > * mutable_transition_head()
::operations_research::sat::RoutesConstraintProto * mutable_routes()
void set_y_intervals(int index, ::google::protobuf::int32 value)
void set_allocated_objective(::operations_research::sat::CpObjectiveProto *objective)
void set_best_objective_bound(double value)
bool has_no_overlap_2d() const
.operations_research.sat.NoOverlap2DConstraintProto no_overlap_2d = 21;
::operations_research::sat::IntervalConstraintProto * mutable_interval()
void clear_capacity()
int64 capacity = 5;
void add_tails(::google::protobuf::int32 value)
::std::string * release_name()
void set_capacity(::google::protobuf::int32 value)
void set_values(int index, ::google::protobuf::int64 value)
const ::operations_research::sat::AllDifferentConstraintProto & all_diff() const
::google::protobuf::RepeatedField< ::google::protobuf::int32 > * mutable_literals()
::operations_research::sat::ElementConstraintProto * release_element()
static void InitAsDefaultInstance()
int coeffs_size() const
repeated int64 coeffs = 4;
::operations_research::sat::DecisionStrategyProto_VariableSelectionStrategy variable_selection_strategy() const
const int DecisionStrategyProto_VariableSelectionStrategy_VariableSelectionStrategy_ARRAYSIZE
void add_heads(::google::protobuf::int32 value)
int vars_size() const
nested types -------------------------------------------------—
const int CpSolverStatus_ARRAYSIZE
int f_inverse_size() const
repeated int32 f_inverse = 2;
void set_nexts(int index, ::google::protobuf::int32 value)
IntervalConstraintProtoDefaultTypeInternal _IntervalConstraintProto_default_instance_
::operations_research::sat::CircuitCoveringConstraintProto * mutable_circuit_covering()
::operations_research::sat::BoolArgumentProto * release_bool_and()
void Swap(RoutesConstraintProto *other)
void clear_name()
string name = 1;
::google::protobuf::int32 start() const
bool DecisionStrategyProto_DomainReductionStrategy_Parse(const ::std::string &name, DecisionStrategyProto_DomainReductionStrategy *value)
void clear_num_integer_propagations()
int64 num_integer_propagations = 14;
const ::google::protobuf::RepeatedField< ::google::protobuf::int32 > & actives() const
::operations_research::sat::IntegerArgumentProto * release_int_mod()
void add_f_direct(::google::protobuf::int32 value)
void clear_offset()
double offset = 2;
const ::operations_research::sat::IntegerArgumentProto & int_mod() const
int intervals_size() const
nested types -------------------------------------------------—
::operations_research::sat::CircuitConstraintProto * mutable_circuit()
void AddDescriptors_ortools_2fsat_2fcp_5fmodel_2eproto()
::google::protobuf::int32 target() const
void Swap(ConstraintProto *other)
const ::google::protobuf::RepeatedField< ::google::protobuf::int32 > & literals() const
void set_literals(int index, ::google::protobuf::int32 value)
::google::protobuf::RepeatedPtrField< ::operations_research::sat::DecisionStrategyProto_AffineTransformation > * mutable_transformations()
::google::protobuf::RepeatedField< ::google::protobuf::int64 > * mutable_demands()
::operations_research::sat::NoOverlap2DConstraintProto * release_no_overlap_2d()
int heads_size() const
repeated int32 heads = 2;
::std::string * mutable_name()
int f_direct_size() const
nested types -------------------------------------------------—
const ::google::protobuf::RepeatedField< ::google::protobuf::int32 > & vars() const
int vars_size() const
repeated int32 vars = 7;
void clear_solution_info()
string solution_info = 20;
void Swap(BoolArgumentProto *other)
::google::protobuf::int64 min_level() const
void set_vars(int index, ::google::protobuf::int32 value)
void set_domain(int index, ::google::protobuf::int64 value)
bool has_reservoir() const
.operations_research.sat.ReservoirConstraintProto reservoir = 24;
::google::protobuf::RepeatedField< ::google::protobuf::int32 > * mutable_vars()
DecisionStrategyProto_VariableSelectionStrategy
bool has_cumulative() const
.operations_research.sat.CumulativeConstraintProto cumulative = 22;
int tails_size() const
nested types -------------------------------------------------—
const ::google::protobuf::RepeatedField< ::google::protobuf::int32 > & vars() const
bool has_element() const
.operations_research.sat.ElementConstraintProto element = 14;
bool has_bool_or() const
.operations_research.sat.BoolArgumentProto bool_or = 3;
const ::google::protobuf::RepeatedField< ::google::protobuf::int64 > & domain() const
const ::operations_research::sat::BoolArgumentProto & bool_and() const
void set_f_direct(int index, ::google::protobuf::int32 value)
void add_heads(::google::protobuf::int32 value)
void clear_tightened_variables()
const ::operations_research::sat::LinearConstraintProto & linear() const
const ::operations_research::sat::NoOverlap2DConstraintProto & no_overlap_2d() const
void clear_index()
int32 index = 1;
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void add_vars(::google::protobuf::int32 value)
::operations_research::sat::TableConstraintProto * release_table()
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const final
bool has_int_max() const
.operations_research.sat.IntegerArgumentProto int_max = 9;
AllDifferentConstraintProtoDefaultTypeInternal _AllDifferentConstraintProto_default_instance_
void set_transition_tail(int index, ::google::protobuf::int64 value)
const ::operations_research::sat::IntervalConstraintProto & interval() const
const ::operations_research::sat::TableConstraintProto & table() const
void set_demands(int index, ::google::protobuf::int32 value)
const ::google::protobuf::RepeatedField< ::google::protobuf::int64 > & solution_upper_bounds() const
::google::protobuf::RepeatedField< ::google::protobuf::int64 > * mutable_coeffs()
int solution_lower_bounds_size() const
repeated int64 solution_lower_bounds = 18;
bool IsInitialized() const final
const DecisionStrategyProto_VariableSelectionStrategy DecisionStrategyProto_VariableSelectionStrategy_VariableSelectionStrategy_MAX
const ::google::protobuf::RepeatedField< ::google::protobuf::int64 > & coeffs() const
NoOverlapConstraintProtoDefaultTypeInternal _NoOverlapConstraintProto_default_instance_
void add_vars(::google::protobuf::int32 value)
const ::operations_research::sat::BoolArgumentProto & bool_or() const
static const IntegerVariableProto * internal_default_instance()
void set_demands(int index, ::google::protobuf::int32 value)
void clear_transition_label()
void add_domain(::google::protobuf::int64 value)
const ::google::protobuf::RepeatedField< ::google::protobuf::int32 > & tails() const
::operations_research::sat::BoolArgumentProto * mutable_bool_xor()
int vars_size() const
nested types -------------------------------------------------—