6#ifndef ortools_2fconstraint_5fsolver_2fsolver_5fparameters_2eproto_2epb_2eh
7#define ortools_2fconstraint_5fsolver_2fsolver_5fparameters_2eproto_2epb_2eh
14#include "google/protobuf/runtime_version.h"
15#if PROTOBUF_VERSION != 6033001
16#error "Protobuf C++ gencode is built with an incompatible version of"
17#error "Protobuf C++ headers/runtime. See"
18#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
20#include "google/protobuf/io/coded_stream.h"
21#include "google/protobuf/arena.h"
22#include "google/protobuf/arenastring.h"
23#include "google/protobuf/generated_message_tctable_decl.h"
24#include "google/protobuf/generated_message_util.h"
25#include "google/protobuf/metadata_lite.h"
26#include "google/protobuf/generated_message_reflection.h"
27#include "google/protobuf/message.h"
28#include "google/protobuf/message_lite.h"
29#include "google/protobuf/repeated_field.h"
30#include "google/protobuf/extension_set.h"
31#include "google/protobuf/generated_enum_reflection.h"
32#include "google/protobuf/unknown_field_set.h"
36#include "google/protobuf/port_def.inc"
38#define PROTOBUF_INTERNAL_EXPORT_ortools_2fconstraint_5fsolver_2fsolver_5fparameters_2eproto OR_PROTO_DLL
67internal::EnumTraitsT<::operations_research::ConstraintSolverParameters_TrailCompression_internal_data_>
68 internal::EnumTraitsImpl::value<::operations_research::ConstraintSolverParameters_TrailCompression>;
77 ::std::numeric_limits<::int32_t>::min(),
79 ::std::numeric_limits<::int32_t>::max(),
88 return 0 <= value && value <= 1;
94 static_assert(::std::is_same<T, ConstraintSolverParameters_TrailCompression>::value ||
95 ::std::is_integral<T>::value,
96 "Incorrect type passed to TrailCompression_Name().");
101 return ::google::protobuf::internal::NameOfDenseEnum<ConstraintSolverParameters_TrailCompression_descriptor, 0, 1>(
102 static_cast<int>(value));
115class OR_PROTO_DLL ConstraintSolverParameters final :
public ::google::protobuf::Message
121#if defined(PROTOBUF_CUSTOM_VTABLE)
128 template <
typename =
void>
139 if (
this == &from)
return *
this;
140 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
148 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
149 ABSL_ATTRIBUTE_LIFETIME_BOUND {
150 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
152 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
153 ABSL_ATTRIBUTE_LIFETIME_BOUND {
154 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
157 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
158 return GetDescriptor();
160 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
161 return default_instance().GetMetadata().descriptor;
163 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
164 return default_instance().GetMetadata().reflection;
170 static constexpr int kIndexInFileMessages = 0;
173 if (other ==
this)
return;
174 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
177 ::google::protobuf::internal::GenericSwap(
this, other);
180 void UnsafeArenaSwap(ConstraintSolverParameters* PROTOBUF_NONNULL other) {
181 if (other ==
this)
return;
182 ABSL_DCHECK(GetArena() == other->GetArena());
189 return ::google::protobuf::Message::DefaultConstruct<ConstraintSolverParameters>(arena);
191 using ::google::protobuf::Message::CopyFrom;
193 using ::google::protobuf::Message::MergeFrom;
197 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
198 const ::google::protobuf::MessageLite& from_msg);
204 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
205 #if defined(PROTOBUF_CUSTOM_VTABLE)
207 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
208 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
209 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
210 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
213 ::size_t ByteSizeLong()
const {
return ByteSizeLong(*
this); }
214 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
215 ::uint8_t* PROTOBUF_NONNULL target,
216 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
217 return _InternalSerialize(*
this, target, stream);
220 ::size_t ByteSizeLong() const final;
221 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
222 ::uint8_t* PROTOBUF_NONNULL target,
223 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
225 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
228 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
232 template <
typename T>
234 static ::absl::string_view FullMessageName() {
return "operations_research.ConstraintSolverParameters"; }
241 *
this = ::std::move(from);
243 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
244 static
void* PROTOBUF_NONNULL PlacementNew_(
245 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
246 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
247 static constexpr auto InternalNewImpl_();
250 static constexpr auto InternalGenerateClassData_();
252 ::
google::protobuf::Metadata GetMetadata() const;
254 using TrailCompression = ConstraintSolverParameters_TrailCompression;
255 static constexpr TrailCompression NO_COMPRESSION = ConstraintSolverParameters_TrailCompression_NO_COMPRESSION;
266 template <
typename T>
267 static inline const ::std::string& TrailCompression_Name(T value) {
270 static inline bool TrailCompression_Parse(
271 ::absl::string_view name, TrailCompression* PROTOBUF_NONNULL value) {
277 kProfileFileFieldNumber = 8,
278 kCompressTrailFieldNumber = 1,
308 template <
typename Arg_ = const ::std::string&,
typename... Args_>
315 const ::std::string& _internal_profile_file()
const;
316 PROTOBUF_ALWAYS_INLINE
void _internal_set_profile_file(const ::std::string& value);
317 ::std::string* PROTOBUF_NONNULL _internal_mutable_profile_file();
336 ::int32_t _internal_trail_block_size()
const;
337 void _internal_set_trail_block_size(::int32_t value);
346 ::int32_t _internal_array_split_size()
const;
347 void _internal_set_array_split_size(::int32_t value);
356 bool _internal_store_names()
const;
357 void _internal_set_store_names(
bool value);
366 bool _internal_name_cast_variables()
const;
367 void _internal_set_name_cast_variables(
bool value);
376 bool _internal_name_all_variables()
const;
377 void _internal_set_name_all_variables(
bool value);
386 bool _internal_profile_propagation()
const;
387 void _internal_set_profile_propagation(
bool value);
396 bool _internal_trace_propagation()
const;
397 void _internal_set_trace_propagation(
bool value);
406 bool _internal_trace_search()
const;
407 void _internal_set_trace_search(
bool value);
416 bool _internal_print_model()
const;
417 void _internal_set_print_model(
bool value);
426 bool _internal_print_model_stats()
const;
427 void _internal_set_print_model_stats(
bool value);
436 bool _internal_print_added_constraints()
const;
437 void _internal_set_print_added_constraints(
bool value);
446 bool _internal_disable_solve()
const;
447 void _internal_set_disable_solve(
bool value);
456 bool _internal_profile_local_search()
const;
457 void _internal_set_profile_local_search(
bool value);
466 bool _internal_print_local_search_profile()
const;
467 void _internal_set_print_local_search_profile(
bool value);
476 bool _internal_use_small_table()
const;
477 void _internal_set_use_small_table(
bool value);
486 bool _internal_use_cumulative_edge_finder()
const;
487 void _internal_set_use_cumulative_edge_finder(
bool value);
496 bool _internal_use_cumulative_time_table()
const;
497 void _internal_set_use_cumulative_time_table(
bool value);
506 bool _internal_use_sequence_high_demand_tasks()
const;
507 void _internal_set_use_sequence_high_demand_tasks(
bool value);
516 ::int32_t _internal_max_edge_finder_size()
const;
517 void _internal_set_max_edge_finder_size(::int32_t value);
526 bool _internal_use_all_possible_disjunctions()
const;
527 void _internal_set_use_all_possible_disjunctions(
bool value);
536 bool _internal_diffn_use_cumulative()
const;
537 void _internal_set_diffn_use_cumulative(
bool value);
546 bool _internal_use_element_rmq()
const;
547 void _internal_set_use_element_rmq(
bool value);
556 ::int32_t _internal_check_solution_period()
const;
557 void _internal_set_check_solution_period(::int32_t value);
566 bool _internal_use_cumulative_time_table_sync()
const;
567 void _internal_set_use_cumulative_time_table_sync(
bool value);
576 bool _internal_skip_locally_optimal_paths()
const;
577 void _internal_set_skip_locally_optimal_paths(
bool value);
583 friend class ::google::protobuf::internal::TcParser;
584 static const ::google::protobuf::internal::TcParseTable<5, 27,
589 friend class ::google::protobuf::MessageLite;
590 friend class ::google::protobuf::Arena;
591 template <
typename T>
592 friend class ::google::protobuf::Arena::InternalHelper;
593 using InternalArenaConstructable_ = void;
594 using DestructorSkippable_ = void;
596 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
597 inline explicit Impl_(
598 ::google::protobuf::internal::InternalVisibility visibility,
599 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
600 inline explicit Impl_(
601 ::google::protobuf::internal::InternalVisibility visibility,
602 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
604 ::google::protobuf::internal::HasBits<1> _has_bits_;
605 ::google::protobuf::internal::CachedSize _cached_size_;
606 ::google::protobuf::internal::ArenaStringPtr profile_file_;
608 ::int32_t trail_block_size_;
609 ::int32_t array_split_size_;
611 bool name_cast_variables_;
612 bool name_all_variables_;
613 bool profile_propagation_;
614 bool trace_propagation_;
617 bool print_model_stats_;
618 bool print_added_constraints_;
620 bool profile_local_search_;
621 bool print_local_search_profile_;
622 bool use_small_table_;
623 bool use_cumulative_edge_finder_;
624 bool use_cumulative_time_table_;
625 bool use_sequence_high_demand_tasks_;
626 ::int32_t max_edge_finder_size_;
627 bool use_all_possible_disjunctions_;
628 bool diffn_use_cumulative_;
629 bool use_element_rmq_;
630 ::int32_t check_solution_period_;
631 bool use_cumulative_time_table_sync_;
632 bool skip_locally_optimal_paths_;
633 PROTOBUF_TSAN_DECLARE_MEMBER
635 union { Impl_ _impl_; };
636 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2fsolver_5fparameters_2eproto;
650#pragma GCC diagnostic push
651#pragma GCC diagnostic ignored "-Wstrict-aliasing"
659 ::google::protobuf::internal::TSanWrite(&
_impl_);
660 _impl_.compress_trail_ = 0;
661 ClearHasBit(
_impl_._has_bits_[0],
666 return _internal_compress_trail();
669 _internal_set_compress_trail(value);
670 SetHasBit(
_impl_._has_bits_[0], 0x00000002U);
673inline ::operations_research::ConstraintSolverParameters_TrailCompression ConstraintSolverParameters::_internal_compress_trail()
const {
674 ::google::protobuf::internal::TSanRead(&
_impl_);
678 ::google::protobuf::internal::TSanWrite(&
_impl_);
679 _impl_.compress_trail_ = value;
684 ::google::protobuf::internal::TSanWrite(&
_impl_);
685 _impl_.trail_block_size_ = 0;
686 ClearHasBit(
_impl_._has_bits_[0],
691 return _internal_trail_block_size();
694 _internal_set_trail_block_size(value);
695 SetHasBit(
_impl_._has_bits_[0], 0x00000004U);
698inline ::int32_t ConstraintSolverParameters::_internal_trail_block_size()
const {
699 ::google::protobuf::internal::TSanRead(&
_impl_);
700 return _impl_.trail_block_size_;
702inline void ConstraintSolverParameters::_internal_set_trail_block_size(::int32_t value) {
703 ::google::protobuf::internal::TSanWrite(&
_impl_);
704 _impl_.trail_block_size_ = value;
709 ::google::protobuf::internal::TSanWrite(&
_impl_);
710 _impl_.array_split_size_ = 0;
711 ClearHasBit(
_impl_._has_bits_[0],
716 return _internal_array_split_size();
719 _internal_set_array_split_size(value);
720 SetHasBit(
_impl_._has_bits_[0], 0x00000008U);
723inline ::int32_t ConstraintSolverParameters::_internal_array_split_size()
const {
724 ::google::protobuf::internal::TSanRead(&
_impl_);
725 return _impl_.array_split_size_;
727inline void ConstraintSolverParameters::_internal_set_array_split_size(::int32_t value) {
728 ::google::protobuf::internal::TSanWrite(&
_impl_);
729 _impl_.array_split_size_ = value;
734 ::google::protobuf::internal::TSanWrite(&
_impl_);
735 _impl_.store_names_ =
false;
736 ClearHasBit(
_impl_._has_bits_[0],
741 return _internal_store_names();
744 _internal_set_store_names(value);
745 SetHasBit(
_impl_._has_bits_[0], 0x00000010U);
748inline bool ConstraintSolverParameters::_internal_store_names()
const {
749 ::google::protobuf::internal::TSanRead(&
_impl_);
750 return _impl_.store_names_;
752inline void ConstraintSolverParameters::_internal_set_store_names(
bool value) {
753 ::google::protobuf::internal::TSanWrite(&
_impl_);
754 _impl_.store_names_ = value;
759 ::google::protobuf::internal::TSanWrite(&
_impl_);
760 _impl_.name_cast_variables_ =
false;
761 ClearHasBit(
_impl_._has_bits_[0],
766 return _internal_name_cast_variables();
769 _internal_set_name_cast_variables(value);
770 SetHasBit(
_impl_._has_bits_[0], 0x00000020U);
773inline bool ConstraintSolverParameters::_internal_name_cast_variables()
const {
774 ::google::protobuf::internal::TSanRead(&
_impl_);
775 return _impl_.name_cast_variables_;
777inline void ConstraintSolverParameters::_internal_set_name_cast_variables(
bool value) {
778 ::google::protobuf::internal::TSanWrite(&
_impl_);
779 _impl_.name_cast_variables_ = value;
784 ::google::protobuf::internal::TSanWrite(&
_impl_);
785 _impl_.name_all_variables_ =
false;
786 ClearHasBit(
_impl_._has_bits_[0],
791 return _internal_name_all_variables();
794 _internal_set_name_all_variables(value);
795 SetHasBit(
_impl_._has_bits_[0], 0x00000040U);
798inline bool ConstraintSolverParameters::_internal_name_all_variables()
const {
799 ::google::protobuf::internal::TSanRead(&
_impl_);
800 return _impl_.name_all_variables_;
802inline void ConstraintSolverParameters::_internal_set_name_all_variables(
bool value) {
803 ::google::protobuf::internal::TSanWrite(&
_impl_);
804 _impl_.name_all_variables_ = value;
809 ::google::protobuf::internal::TSanWrite(&
_impl_);
810 _impl_.profile_propagation_ =
false;
811 ClearHasBit(
_impl_._has_bits_[0],
816 return _internal_profile_propagation();
819 _internal_set_profile_propagation(value);
820 SetHasBit(
_impl_._has_bits_[0], 0x00000080U);
823inline bool ConstraintSolverParameters::_internal_profile_propagation()
const {
824 ::google::protobuf::internal::TSanRead(&
_impl_);
825 return _impl_.profile_propagation_;
827inline void ConstraintSolverParameters::_internal_set_profile_propagation(
bool value) {
828 ::google::protobuf::internal::TSanWrite(&
_impl_);
829 _impl_.profile_propagation_ = value;
834 ::google::protobuf::internal::TSanWrite(&
_impl_);
835 _impl_.profile_file_.ClearToEmpty();
836 ClearHasBit(
_impl_._has_bits_[0],
840 ABSL_ATTRIBUTE_LIFETIME_BOUND {
842 return _internal_profile_file();
844template <
typename Arg_,
typename... Args_>
846 ::google::protobuf::internal::TSanWrite(&
_impl_);
847 SetHasBit(
_impl_._has_bits_[0], 0x00000001U);
848 _impl_.profile_file_.Set(
static_cast<Arg_&&
>(arg), args..., GetArena());
852 ABSL_ATTRIBUTE_LIFETIME_BOUND {
853 SetHasBit(
_impl_._has_bits_[0], 0x00000001U);
854 ::std::string* _s = _internal_mutable_profile_file();
858inline const ::std::string& ConstraintSolverParameters::_internal_profile_file()
const {
859 ::google::protobuf::internal::TSanRead(&
_impl_);
860 return _impl_.profile_file_.Get();
862inline void ConstraintSolverParameters::_internal_set_profile_file(const ::std::string& value) {
863 ::google::protobuf::internal::TSanWrite(&
_impl_);
864 _impl_.profile_file_.Set(value, GetArena());
866inline ::std::string* PROTOBUF_NONNULL ConstraintSolverParameters::_internal_mutable_profile_file() {
867 ::google::protobuf::internal::TSanWrite(&
_impl_);
868 return _impl_.profile_file_.Mutable( GetArena());
871 ::google::protobuf::internal::TSanWrite(&
_impl_);
873 if (!CheckHasBit(
_impl_._has_bits_[0], 0x00000001U)) {
876 ClearHasBit(
_impl_._has_bits_[0], 0x00000001U);
877 auto* released =
_impl_.profile_file_.Release();
878 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
879 _impl_.profile_file_.Set(
"", GetArena());
884 ::google::protobuf::internal::TSanWrite(&
_impl_);
885 if (value !=
nullptr) {
886 SetHasBit(
_impl_._has_bits_[0], 0x00000001U);
888 ClearHasBit(
_impl_._has_bits_[0], 0x00000001U);
890 _impl_.profile_file_.SetAllocated(value, GetArena());
891 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() &&
_impl_.profile_file_.IsDefault()) {
892 _impl_.profile_file_.Set(
"", GetArena());
899 ::google::protobuf::internal::TSanWrite(&
_impl_);
900 _impl_.profile_local_search_ =
false;
901 ClearHasBit(
_impl_._has_bits_[0],
906 return _internal_profile_local_search();
909 _internal_set_profile_local_search(value);
910 SetHasBit(
_impl_._has_bits_[0], 0x00004000U);
913inline bool ConstraintSolverParameters::_internal_profile_local_search()
const {
914 ::google::protobuf::internal::TSanRead(&
_impl_);
915 return _impl_.profile_local_search_;
917inline void ConstraintSolverParameters::_internal_set_profile_local_search(
bool value) {
918 ::google::protobuf::internal::TSanWrite(&
_impl_);
919 _impl_.profile_local_search_ = value;
924 ::google::protobuf::internal::TSanWrite(&
_impl_);
925 _impl_.print_local_search_profile_ =
false;
926 ClearHasBit(
_impl_._has_bits_[0],
931 return _internal_print_local_search_profile();
934 _internal_set_print_local_search_profile(value);
935 SetHasBit(
_impl_._has_bits_[0], 0x00008000U);
938inline bool ConstraintSolverParameters::_internal_print_local_search_profile()
const {
939 ::google::protobuf::internal::TSanRead(&
_impl_);
940 return _impl_.print_local_search_profile_;
942inline void ConstraintSolverParameters::_internal_set_print_local_search_profile(
bool value) {
943 ::google::protobuf::internal::TSanWrite(&
_impl_);
944 _impl_.print_local_search_profile_ = value;
949 ::google::protobuf::internal::TSanWrite(&
_impl_);
950 _impl_.trace_propagation_ =
false;
951 ClearHasBit(
_impl_._has_bits_[0],
956 return _internal_trace_propagation();
959 _internal_set_trace_propagation(value);
960 SetHasBit(
_impl_._has_bits_[0], 0x00000100U);
963inline bool ConstraintSolverParameters::_internal_trace_propagation()
const {
964 ::google::protobuf::internal::TSanRead(&
_impl_);
965 return _impl_.trace_propagation_;
967inline void ConstraintSolverParameters::_internal_set_trace_propagation(
bool value) {
968 ::google::protobuf::internal::TSanWrite(&
_impl_);
969 _impl_.trace_propagation_ = value;
974 ::google::protobuf::internal::TSanWrite(&
_impl_);
975 _impl_.trace_search_ =
false;
976 ClearHasBit(
_impl_._has_bits_[0],
981 return _internal_trace_search();
984 _internal_set_trace_search(value);
985 SetHasBit(
_impl_._has_bits_[0], 0x00000200U);
988inline bool ConstraintSolverParameters::_internal_trace_search()
const {
989 ::google::protobuf::internal::TSanRead(&
_impl_);
990 return _impl_.trace_search_;
992inline void ConstraintSolverParameters::_internal_set_trace_search(
bool value) {
993 ::google::protobuf::internal::TSanWrite(&
_impl_);
994 _impl_.trace_search_ = value;
999 ::google::protobuf::internal::TSanWrite(&
_impl_);
1000 _impl_.print_model_ =
false;
1001 ClearHasBit(
_impl_._has_bits_[0],
1006 return _internal_print_model();
1009 _internal_set_print_model(value);
1010 SetHasBit(
_impl_._has_bits_[0], 0x00000400U);
1013inline bool ConstraintSolverParameters::_internal_print_model()
const {
1014 ::google::protobuf::internal::TSanRead(&
_impl_);
1015 return _impl_.print_model_;
1017inline void ConstraintSolverParameters::_internal_set_print_model(
bool value) {
1018 ::google::protobuf::internal::TSanWrite(&
_impl_);
1019 _impl_.print_model_ = value;
1024 ::google::protobuf::internal::TSanWrite(&
_impl_);
1025 _impl_.print_model_stats_ =
false;
1026 ClearHasBit(
_impl_._has_bits_[0],
1031 return _internal_print_model_stats();
1034 _internal_set_print_model_stats(value);
1035 SetHasBit(
_impl_._has_bits_[0], 0x00000800U);
1038inline bool ConstraintSolverParameters::_internal_print_model_stats()
const {
1039 ::google::protobuf::internal::TSanRead(&
_impl_);
1040 return _impl_.print_model_stats_;
1042inline void ConstraintSolverParameters::_internal_set_print_model_stats(
bool value) {
1043 ::google::protobuf::internal::TSanWrite(&
_impl_);
1044 _impl_.print_model_stats_ = value;
1049 ::google::protobuf::internal::TSanWrite(&
_impl_);
1050 _impl_.print_added_constraints_ =
false;
1051 ClearHasBit(
_impl_._has_bits_[0],
1056 return _internal_print_added_constraints();
1059 _internal_set_print_added_constraints(value);
1060 SetHasBit(
_impl_._has_bits_[0], 0x00001000U);
1063inline bool ConstraintSolverParameters::_internal_print_added_constraints()
const {
1064 ::google::protobuf::internal::TSanRead(&
_impl_);
1065 return _impl_.print_added_constraints_;
1067inline void ConstraintSolverParameters::_internal_set_print_added_constraints(
bool value) {
1068 ::google::protobuf::internal::TSanWrite(&
_impl_);
1069 _impl_.print_added_constraints_ = value;
1074 ::google::protobuf::internal::TSanWrite(&
_impl_);
1075 _impl_.disable_solve_ =
false;
1076 ClearHasBit(
_impl_._has_bits_[0],
1081 return _internal_disable_solve();
1084 _internal_set_disable_solve(value);
1085 SetHasBit(
_impl_._has_bits_[0], 0x00002000U);
1088inline bool ConstraintSolverParameters::_internal_disable_solve()
const {
1089 ::google::protobuf::internal::TSanRead(&
_impl_);
1090 return _impl_.disable_solve_;
1092inline void ConstraintSolverParameters::_internal_set_disable_solve(
bool value) {
1093 ::google::protobuf::internal::TSanWrite(&
_impl_);
1094 _impl_.disable_solve_ = value;
1099 ::google::protobuf::internal::TSanWrite(&
_impl_);
1100 _impl_.use_small_table_ =
false;
1101 ClearHasBit(
_impl_._has_bits_[0],
1106 return _internal_use_small_table();
1109 _internal_set_use_small_table(value);
1110 SetHasBit(
_impl_._has_bits_[0], 0x00010000U);
1113inline bool ConstraintSolverParameters::_internal_use_small_table()
const {
1114 ::google::protobuf::internal::TSanRead(&
_impl_);
1115 return _impl_.use_small_table_;
1117inline void ConstraintSolverParameters::_internal_set_use_small_table(
bool value) {
1118 ::google::protobuf::internal::TSanWrite(&
_impl_);
1119 _impl_.use_small_table_ = value;
1124 ::google::protobuf::internal::TSanWrite(&
_impl_);
1125 _impl_.use_cumulative_edge_finder_ =
false;
1126 ClearHasBit(
_impl_._has_bits_[0],
1131 return _internal_use_cumulative_edge_finder();
1134 _internal_set_use_cumulative_edge_finder(value);
1135 SetHasBit(
_impl_._has_bits_[0], 0x00020000U);
1138inline bool ConstraintSolverParameters::_internal_use_cumulative_edge_finder()
const {
1139 ::google::protobuf::internal::TSanRead(&
_impl_);
1140 return _impl_.use_cumulative_edge_finder_;
1142inline void ConstraintSolverParameters::_internal_set_use_cumulative_edge_finder(
bool value) {
1143 ::google::protobuf::internal::TSanWrite(&
_impl_);
1144 _impl_.use_cumulative_edge_finder_ = value;
1149 ::google::protobuf::internal::TSanWrite(&
_impl_);
1150 _impl_.use_cumulative_time_table_ =
false;
1151 ClearHasBit(
_impl_._has_bits_[0],
1156 return _internal_use_cumulative_time_table();
1159 _internal_set_use_cumulative_time_table(value);
1160 SetHasBit(
_impl_._has_bits_[0], 0x00040000U);
1163inline bool ConstraintSolverParameters::_internal_use_cumulative_time_table()
const {
1164 ::google::protobuf::internal::TSanRead(&
_impl_);
1165 return _impl_.use_cumulative_time_table_;
1167inline void ConstraintSolverParameters::_internal_set_use_cumulative_time_table(
bool value) {
1168 ::google::protobuf::internal::TSanWrite(&
_impl_);
1169 _impl_.use_cumulative_time_table_ = value;
1174 ::google::protobuf::internal::TSanWrite(&
_impl_);
1175 _impl_.use_cumulative_time_table_sync_ =
false;
1176 ClearHasBit(
_impl_._has_bits_[0],
1181 return _internal_use_cumulative_time_table_sync();
1184 _internal_set_use_cumulative_time_table_sync(value);
1185 SetHasBit(
_impl_._has_bits_[0], 0x02000000U);
1188inline bool ConstraintSolverParameters::_internal_use_cumulative_time_table_sync()
const {
1189 ::google::protobuf::internal::TSanRead(&
_impl_);
1190 return _impl_.use_cumulative_time_table_sync_;
1192inline void ConstraintSolverParameters::_internal_set_use_cumulative_time_table_sync(
bool value) {
1193 ::google::protobuf::internal::TSanWrite(&
_impl_);
1194 _impl_.use_cumulative_time_table_sync_ = value;
1199 ::google::protobuf::internal::TSanWrite(&
_impl_);
1200 _impl_.use_sequence_high_demand_tasks_ =
false;
1201 ClearHasBit(
_impl_._has_bits_[0],
1206 return _internal_use_sequence_high_demand_tasks();
1209 _internal_set_use_sequence_high_demand_tasks(value);
1210 SetHasBit(
_impl_._has_bits_[0], 0x00080000U);
1213inline bool ConstraintSolverParameters::_internal_use_sequence_high_demand_tasks()
const {
1214 ::google::protobuf::internal::TSanRead(&
_impl_);
1215 return _impl_.use_sequence_high_demand_tasks_;
1217inline void ConstraintSolverParameters::_internal_set_use_sequence_high_demand_tasks(
bool value) {
1218 ::google::protobuf::internal::TSanWrite(&
_impl_);
1219 _impl_.use_sequence_high_demand_tasks_ = value;
1224 ::google::protobuf::internal::TSanWrite(&
_impl_);
1225 _impl_.use_all_possible_disjunctions_ =
false;
1226 ClearHasBit(
_impl_._has_bits_[0],
1231 return _internal_use_all_possible_disjunctions();
1234 _internal_set_use_all_possible_disjunctions(value);
1235 SetHasBit(
_impl_._has_bits_[0], 0x00200000U);
1238inline bool ConstraintSolverParameters::_internal_use_all_possible_disjunctions()
const {
1239 ::google::protobuf::internal::TSanRead(&
_impl_);
1240 return _impl_.use_all_possible_disjunctions_;
1242inline void ConstraintSolverParameters::_internal_set_use_all_possible_disjunctions(
bool value) {
1243 ::google::protobuf::internal::TSanWrite(&
_impl_);
1244 _impl_.use_all_possible_disjunctions_ = value;
1249 ::google::protobuf::internal::TSanWrite(&
_impl_);
1250 _impl_.max_edge_finder_size_ = 0;
1251 ClearHasBit(
_impl_._has_bits_[0],
1256 return _internal_max_edge_finder_size();
1259 _internal_set_max_edge_finder_size(value);
1260 SetHasBit(
_impl_._has_bits_[0], 0x00100000U);
1263inline ::int32_t ConstraintSolverParameters::_internal_max_edge_finder_size()
const {
1264 ::google::protobuf::internal::TSanRead(&
_impl_);
1265 return _impl_.max_edge_finder_size_;
1267inline void ConstraintSolverParameters::_internal_set_max_edge_finder_size(::int32_t value) {
1268 ::google::protobuf::internal::TSanWrite(&
_impl_);
1269 _impl_.max_edge_finder_size_ = value;
1274 ::google::protobuf::internal::TSanWrite(&
_impl_);
1275 _impl_.diffn_use_cumulative_ =
false;
1276 ClearHasBit(
_impl_._has_bits_[0],
1281 return _internal_diffn_use_cumulative();
1284 _internal_set_diffn_use_cumulative(value);
1285 SetHasBit(
_impl_._has_bits_[0], 0x00400000U);
1288inline bool ConstraintSolverParameters::_internal_diffn_use_cumulative()
const {
1289 ::google::protobuf::internal::TSanRead(&
_impl_);
1290 return _impl_.diffn_use_cumulative_;
1292inline void ConstraintSolverParameters::_internal_set_diffn_use_cumulative(
bool value) {
1293 ::google::protobuf::internal::TSanWrite(&
_impl_);
1294 _impl_.diffn_use_cumulative_ = value;
1299 ::google::protobuf::internal::TSanWrite(&
_impl_);
1300 _impl_.use_element_rmq_ =
false;
1301 ClearHasBit(
_impl_._has_bits_[0],
1306 return _internal_use_element_rmq();
1309 _internal_set_use_element_rmq(value);
1310 SetHasBit(
_impl_._has_bits_[0], 0x00800000U);
1313inline bool ConstraintSolverParameters::_internal_use_element_rmq()
const {
1314 ::google::protobuf::internal::TSanRead(&
_impl_);
1315 return _impl_.use_element_rmq_;
1317inline void ConstraintSolverParameters::_internal_set_use_element_rmq(
bool value) {
1318 ::google::protobuf::internal::TSanWrite(&
_impl_);
1319 _impl_.use_element_rmq_ = value;
1324 ::google::protobuf::internal::TSanWrite(&
_impl_);
1325 _impl_.skip_locally_optimal_paths_ =
false;
1326 ClearHasBit(
_impl_._has_bits_[0],
1331 return _internal_skip_locally_optimal_paths();
1334 _internal_set_skip_locally_optimal_paths(value);
1335 SetHasBit(
_impl_._has_bits_[0], 0x04000000U);
1338inline bool ConstraintSolverParameters::_internal_skip_locally_optimal_paths()
const {
1339 ::google::protobuf::internal::TSanRead(&
_impl_);
1340 return _impl_.skip_locally_optimal_paths_;
1342inline void ConstraintSolverParameters::_internal_set_skip_locally_optimal_paths(
bool value) {
1343 ::google::protobuf::internal::TSanWrite(&
_impl_);
1344 _impl_.skip_locally_optimal_paths_ = value;
1349 ::google::protobuf::internal::TSanWrite(&
_impl_);
1350 _impl_.check_solution_period_ = 0;
1351 ClearHasBit(
_impl_._has_bits_[0],
1356 return _internal_check_solution_period();
1359 _internal_set_check_solution_period(value);
1360 SetHasBit(
_impl_._has_bits_[0], 0x01000000U);
1363inline ::int32_t ConstraintSolverParameters::_internal_check_solution_period()
const {
1364 ::google::protobuf::internal::TSanRead(&
_impl_);
1365 return _impl_.check_solution_period_;
1367inline void ConstraintSolverParameters::_internal_set_check_solution_period(::int32_t value) {
1368 ::google::protobuf::internal::TSanWrite(&
_impl_);
1369 _impl_.check_solution_period_ = value;
1373#pragma GCC diagnostic pop
1387 return ::operations_research::ConstraintSolverParameters_TrailCompression_descriptor();
1395#include "google/protobuf/port_undef.inc"
::operations_research::ConstraintSolverParameters_TrailCompression compress_trail() const
void set_profile_file(Arg_ &&arg, Args_... args)
void set_disable_solve(bool value)
friend class ::google::protobuf::MessageLite
static constexpr int TrailCompression_ARRAYSIZE
void set_print_model_stats(bool value)
void clear_use_cumulative_time_table()
bool diffn_use_cumulative() const
bool print_local_search_profile() const
::std::string *PROTOBUF_NULLABLE release_profile_file()
void set_trail_block_size(::int32_t value)
ConstraintSolverParameters()
::int32_t array_split_size() const
bool use_cumulative_edge_finder() const
void clear_array_split_size()
void set_print_local_search_profile(bool value)
ConstraintSolverParameters(const ConstraintSolverParameters &from)
void clear_compress_trail()
void clear_diffn_use_cumulative()
void clear_disable_solve()
@ kPrintAddedConstraintsFieldNumber
@ kDisableSolveFieldNumber
@ kUseCumulativeTimeTableFieldNumber
@ kProfilePropagationFieldNumber
@ kMaxEdgeFinderSizeFieldNumber
@ kNameAllVariablesFieldNumber
@ kCheckSolutionPeriodFieldNumber
@ kUseAllPossibleDisjunctionsFieldNumber
@ kDiffnUseCumulativeFieldNumber
@ kProfileLocalSearchFieldNumber
@ kUseCumulativeEdgeFinderFieldNumber
@ kArraySplitSizeFieldNumber
@ kUseSmallTableFieldNumber
@ kPrintModelStatsFieldNumber
@ kTraceSearchFieldNumber
@ kUseSequenceHighDemandTasksFieldNumber
@ kNameCastVariablesFieldNumber
@ kTracePropagationFieldNumber
@ kSkipLocallyOptimalPathsFieldNumber
@ kPrintLocalSearchProfileFieldNumber
@ kUseElementRmqFieldNumber
@ kUseCumulativeTimeTableSyncFieldNumber
@ kTrailBlockSizeFieldNumber
void clear_skip_locally_optimal_paths()
bool IsInitialized() const
bool print_added_constraints() const
void set_print_model(bool value)
void set_profile_propagation(bool value)
void clear_trace_propagation()
void set_allocated_profile_file(::std::string *PROTOBUF_NULLABLE value)
void clear_print_added_constraints()
void set_use_sequence_high_demand_tasks(bool value)
void set_skip_locally_optimal_paths(bool value)
void clear_name_cast_variables()
void clear_trail_block_size()
void set_check_solution_period(::int32_t value)
void clear_use_element_rmq()
bool trace_propagation() const
void clear_profile_file()
void set_array_split_size(::int32_t value)
::int32_t max_edge_finder_size() const
ConstraintSolverParameters_TrailCompression TrailCompression
static bool TrailCompression_IsValid(int value)
void set_use_cumulative_time_table(bool value)
bool use_cumulative_time_table_sync() const
bool disable_solve() const
void set_profile_local_search(bool value)
bool print_model_stats() const
void set_diffn_use_cumulative(bool value)
bool use_sequence_high_demand_tasks() const
bool name_all_variables() const
void clear_check_solution_period()
bool use_all_possible_disjunctions() const
void Swap(ConstraintSolverParameters *PROTOBUF_NONNULL other)
void clear_trace_search()
void clear_use_small_table()
bool use_element_rmq() const
void set_print_added_constraints(bool value)
const ::std::string & profile_file() const
static const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL TrailCompression_descriptor()
void set_use_cumulative_edge_finder(bool value)
void clear_use_cumulative_time_table_sync()
void set_store_names(bool value)
void set_trace_search(bool value)
void clear_print_local_search_profile()
bool profile_propagation() const
void clear_max_edge_finder_size()
void clear_profile_local_search()
bool use_cumulative_time_table() const
void clear_profile_propagation()
void set_trace_propagation(bool value)
void clear_print_model_stats()
void CopyFrom(const ConstraintSolverParameters &from)
::std::string *PROTOBUF_NONNULL mutable_profile_file()
bool profile_local_search() const
void set_max_edge_finder_size(::int32_t value)
PROTOBUF_CONSTEXPR ConstraintSolverParameters(::google::protobuf::internal::ConstantInitialized)
bool use_small_table() const
bool name_cast_variables() const
bool trace_search() const
::int32_t trail_block_size() const
void clear_use_cumulative_edge_finder()
static constexpr TrailCompression COMPRESS_WITH_ZLIB
void set_name_all_variables(bool value)
void set_use_element_rmq(bool value)
::int32_t check_solution_period() const
void clear_name_all_variables()
void clear_use_sequence_high_demand_tasks()
void set_compress_trail(::operations_research::ConstraintSolverParameters_TrailCompression value)
ConstraintSolverParameters & operator=(const ConstraintSolverParameters &from)
void set_use_small_table(bool value)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
void clear_use_all_possible_disjunctions()
void set_use_cumulative_time_table_sync(bool value)
bool skip_locally_optimal_paths() const
void set_use_all_possible_disjunctions(bool value)
void set_name_cast_variables(bool value)
::absl::string_view GetAnyMessageName()
const EnumDescriptor *PROTOBUF_NONNULL GetEnumDescriptor<::operations_research::ConstraintSolverParameters_TrailCompression >()
bool ConstraintSolverParameters_TrailCompression_Parse(::absl::string_view name, ConstraintSolverParameters_TrailCompression *PROTOBUF_NONNULL value)
constexpr ConstraintSolverParameters_TrailCompression ConstraintSolverParameters_TrailCompression_TrailCompression_MIN
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ConstraintSolverParametersDefaultTypeInternal _ConstraintSolverParameters_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ConstraintSolverParameters_class_data_
constexpr int ConstraintSolverParameters_TrailCompression_TrailCompression_ARRAYSIZE
constexpr ConstraintSolverParameters_TrailCompression ConstraintSolverParameters_TrailCompression_TrailCompression_MAX
ConstraintSolverParameters_TrailCompression
@ ConstraintSolverParameters_TrailCompression_NO_COMPRESSION
@ ConstraintSolverParameters_TrailCompression_ConstraintSolverParameters_TrailCompression_INT_MIN_SENTINEL_DO_NOT_USE_
@ ConstraintSolverParameters_TrailCompression_ConstraintSolverParameters_TrailCompression_INT_MAX_SENTINEL_DO_NOT_USE_
@ ConstraintSolverParameters_TrailCompression_COMPRESS_WITH_ZLIB
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL ConstraintSolverParameters_TrailCompression_descriptor()
const ::std::string & ConstraintSolverParameters_TrailCompression_Name(T value)
bool ConstraintSolverParameters_TrailCompression_IsValid(int value)
PROTOBUF_CONSTINIT const uint32_t ConstraintSolverParameters_TrailCompression_internal_data_[]
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fconstraint_5fsolver_2fsolver_5fparameters_2eproto