6#ifndef ortools_2fconstraint_5fsolver_2fsearch_5fstats_2eproto_2epb_2eh
7#define ortools_2fconstraint_5fsolver_2fsearch_5fstats_2eproto_2epb_2eh
14#include "google/protobuf/runtime_version.h"
15#if PROTOBUF_VERSION != 6031001
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/unknown_field_set.h"
35#include "google/protobuf/port_def.inc"
37#define PROTOBUF_INTERNAL_EXPORT_ortools_2fconstraint_5fsolver_2fsearch_5fstats_2eproto OR_PROTO_DLL
99#if defined(PROTOBUF_CUSTOM_VTABLE)
106 template <
typename =
void>
117 if (
this == &from)
return *
this;
118 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
126 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
127 ABSL_ATTRIBUTE_LIFETIME_BOUND {
128 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
130 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
131 ABSL_ATTRIBUTE_LIFETIME_BOUND {
132 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
135 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
136 return GetDescriptor();
138 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
139 return default_instance().GetMetadata().descriptor;
141 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
142 return default_instance().GetMetadata().reflection;
148 static constexpr int kIndexInFileMessages = 1;
151 if (other ==
this)
return;
152 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
155 ::google::protobuf::internal::GenericSwap(
this, other);
158 void UnsafeArenaSwap(LocalSearchStatistics_LocalSearchOperatorStatistics* PROTOBUF_NONNULL other) {
159 if (other ==
this)
return;
160 ABSL_DCHECK(GetArena() == other->GetArena());
167 return ::google::protobuf::Message::DefaultConstruct<LocalSearchStatistics_LocalSearchOperatorStatistics>(arena);
169 using ::google::protobuf::Message::CopyFrom;
171 using ::google::protobuf::Message::MergeFrom;
175 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
176 const ::google::protobuf::MessageLite& from_msg);
182 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
183 #if defined(PROTOBUF_CUSTOM_VTABLE)
185 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
186 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
187 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
188 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
191 ::size_t ByteSizeLong()
const {
return ByteSizeLong(*
this); }
192 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
193 ::uint8_t* PROTOBUF_NONNULL target,
194 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
195 return _InternalSerialize(*
this, target, stream);
198 ::size_t ByteSizeLong() const final;
199 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
200 ::uint8_t* PROTOBUF_NONNULL target,
201 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
203 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
206 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
210 template <
typename T>
212 static ::absl::string_view FullMessageName() {
return "operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics"; }
220 *
this = ::std::move(from);
222 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
223 static
void* PROTOBUF_NONNULL PlacementNew_(
224 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
225 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
226 static constexpr auto InternalNewImpl_();
229 static constexpr auto InternalGenerateClassData_();
231 ::
google::protobuf::Metadata GetMetadata() const;
236 kLocalSearchOperatorFieldNumber = 1,
237 kNumNeighborsFieldNumber = 2,
247 template <
typename Arg_ = const ::std::string&,
typename... Args_>
254 const ::std::string& _internal_local_search_operator()
const;
255 PROTOBUF_ALWAYS_INLINE
void _internal_set_local_search_operator(const ::std::string& value);
256 ::std::string* PROTOBUF_NONNULL _internal_mutable_local_search_operator();
265 ::int64_t _internal_num_neighbors()
const;
266 void _internal_set_num_neighbors(::int64_t value);
275 ::int64_t _internal_num_filtered_neighbors()
const;
276 void _internal_set_num_filtered_neighbors(::int64_t value);
285 ::int64_t _internal_num_accepted_neighbors()
const;
286 void _internal_set_num_accepted_neighbors(::int64_t value);
295 double _internal_duration_seconds()
const;
296 void _internal_set_duration_seconds(
double value);
305 double _internal_make_next_neighbor_duration_seconds()
const;
306 void _internal_set_make_next_neighbor_duration_seconds(
double value);
315 double _internal_accept_neighbor_duration_seconds()
const;
316 void _internal_set_accept_neighbor_duration_seconds(
double value);
322 friend class ::google::protobuf::internal::TcParser;
323 static const ::google::protobuf::internal::TcParseTable<3, 7,
328 friend class ::google::protobuf::MessageLite;
329 friend class ::google::protobuf::Arena;
330 template <
typename T>
331 friend class ::google::protobuf::Arena::InternalHelper;
332 using InternalArenaConstructable_ = void;
333 using DestructorSkippable_ = void;
335 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
336 inline explicit Impl_(
337 ::google::protobuf::internal::InternalVisibility visibility,
338 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
339 inline explicit Impl_(
340 ::google::protobuf::internal::InternalVisibility visibility,
341 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
343 ::google::protobuf::internal::HasBits<1> _has_bits_;
344 ::google::protobuf::internal::CachedSize _cached_size_;
345 ::google::protobuf::internal::ArenaStringPtr local_search_operator_;
346 ::int64_t num_neighbors_;
347 ::int64_t num_filtered_neighbors_;
348 ::int64_t num_accepted_neighbors_;
349 double duration_seconds_;
350 double make_next_neighbor_duration_seconds_;
351 double accept_neighbor_duration_seconds_;
352 PROTOBUF_TSAN_DECLARE_MEMBER
354 union { Impl_ _impl_; };
355 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2fsearch_5fstats_2eproto;
367#if defined(PROTOBUF_CUSTOM_VTABLE)
374 template <
typename =
void>
385 if (
this == &from)
return *
this;
386 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
394 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
395 ABSL_ATTRIBUTE_LIFETIME_BOUND {
396 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
398 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
399 ABSL_ATTRIBUTE_LIFETIME_BOUND {
400 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
403 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
404 return GetDescriptor();
406 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
GetDescriptor() {
409 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL
GetReflection() {
416 static constexpr int kIndexInFileMessages = 2;
418 inline void Swap(LocalSearchStatistics_LocalSearchFilterStatistics* PROTOBUF_NONNULL other) {
419 if (other ==
this)
return;
420 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
423 ::google::protobuf::internal::GenericSwap(
this, other);
426 void UnsafeArenaSwap(LocalSearchStatistics_LocalSearchFilterStatistics* PROTOBUF_NONNULL other) {
427 if (other ==
this)
return;
428 ABSL_DCHECK(GetArena() == other->GetArena());
435 return ::google::protobuf::Message::DefaultConstruct<LocalSearchStatistics_LocalSearchFilterStatistics>(arena);
437 using ::google::protobuf::Message::CopyFrom;
439 using ::google::protobuf::Message::MergeFrom;
443 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
444 const ::google::protobuf::MessageLite& from_msg);
450 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
451 #if defined(PROTOBUF_CUSTOM_VTABLE)
453 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
455 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
456 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
460 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
461 ::uint8_t* PROTOBUF_NONNULL target,
462 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
463 return _InternalSerialize(*
this, target, stream);
466 ::size_t ByteSizeLong() const final;
467 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
468 ::uint8_t* PROTOBUF_NONNULL target,
469 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
471 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
474 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
478 template <
typename T>
480 static ::absl::string_view FullMessageName() {
return "operations_research.LocalSearchStatistics.LocalSearchFilterStatistics"; }
488 *
this = ::std::move(from);
490 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
491 static
void* PROTOBUF_NONNULL PlacementNew_(
492 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
493 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
494 static constexpr auto InternalNewImpl_();
497 static constexpr auto InternalGenerateClassData_();
499 ::
google::protobuf::Metadata GetMetadata() const;
504 kLocalSearchFilterFieldNumber = 1,
505 kContextFieldNumber = 6,
506 kNumCallsFieldNumber = 2,
514 template <
typename Arg_ = const ::std::string&,
typename... Args_>
521 const ::std::string& _internal_local_search_filter()
const;
522 PROTOBUF_ALWAYS_INLINE
void _internal_set_local_search_filter(const ::std::string& value);
523 ::std::string* PROTOBUF_NONNULL _internal_mutable_local_search_filter();
528 const ::std::string&
context()
const;
529 template <
typename Arg_ = const ::std::string&,
typename... Args_>
536 const ::std::string& _internal_context()
const;
537 PROTOBUF_ALWAYS_INLINE
void _internal_set_context(const ::std::string& value);
538 ::std::string* PROTOBUF_NONNULL _internal_mutable_context();
547 ::int64_t _internal_num_calls()
const;
548 void _internal_set_num_calls(::int64_t value);
557 ::int64_t _internal_num_rejects()
const;
558 void _internal_set_num_rejects(::int64_t value);
567 double _internal_duration_seconds()
const;
568 void _internal_set_duration_seconds(
double value);
577 double _internal_num_rejects_per_second()
const;
578 void _internal_set_num_rejects_per_second(
double value);
584 friend class ::google::protobuf::internal::TcParser;
585 static const ::google::protobuf::internal::TcParseTable<3, 6,
590 friend class ::google::protobuf::MessageLite;
591 friend class ::google::protobuf::Arena;
592 template <
typename T>
593 friend class ::google::protobuf::Arena::InternalHelper;
594 using InternalArenaConstructable_ = void;
595 using DestructorSkippable_ = void;
597 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
598 inline explicit Impl_(
599 ::google::protobuf::internal::InternalVisibility visibility,
600 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
601 inline explicit Impl_(
602 ::google::protobuf::internal::InternalVisibility visibility,
603 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
605 ::google::protobuf::internal::HasBits<1> _has_bits_;
606 ::google::protobuf::internal::CachedSize _cached_size_;
607 ::google::protobuf::internal::ArenaStringPtr local_search_filter_;
608 ::google::protobuf::internal::ArenaStringPtr context_;
609 ::int64_t num_calls_;
610 ::int64_t num_rejects_;
611 double duration_seconds_;
612 double num_rejects_per_second_;
613 PROTOBUF_TSAN_DECLARE_MEMBER
615 union { Impl_ _impl_; };
616 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2fsearch_5fstats_2eproto;
628#if defined(PROTOBUF_CUSTOM_VTABLE)
635 template <
typename =
void>
639 inline LocalSearchStatistics_FirstSolutionStatistics(LocalSearchStatistics_FirstSolutionStatistics&& from) noexcept
646 if (
this == &from)
return *
this;
647 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
655 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
656 ABSL_ATTRIBUTE_LIFETIME_BOUND {
657 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
660 ABSL_ATTRIBUTE_LIFETIME_BOUND {
661 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
664 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
descriptor() {
667 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
670 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
680 if (other ==
this)
return;
681 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
684 ::google::protobuf::internal::GenericSwap(
this, other);
687 void UnsafeArenaSwap(LocalSearchStatistics_FirstSolutionStatistics* PROTOBUF_NONNULL other) {
688 if (other ==
this)
return;
689 ABSL_DCHECK(GetArena() == other->GetArena());
696 return ::google::protobuf::Message::DefaultConstruct<LocalSearchStatistics_FirstSolutionStatistics>(arena);
698 using ::google::protobuf::Message::CopyFrom;
700 using ::google::protobuf::Message::MergeFrom;
704 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
705 const ::google::protobuf::MessageLite& from_msg);
711 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
712 #if defined(PROTOBUF_CUSTOM_VTABLE)
714 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
716 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
717 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
721 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
722 ::uint8_t* PROTOBUF_NONNULL target,
723 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
724 return _InternalSerialize(*
this, target, stream);
727 ::size_t ByteSizeLong() const final;
728 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
729 ::uint8_t* PROTOBUF_NONNULL target,
730 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
732 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
735 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
739 template <
typename T>
741 static ::absl::string_view FullMessageName() {
return "operations_research.LocalSearchStatistics.FirstSolutionStatistics"; }
749 *
this = ::std::move(from);
751 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
752 static
void* PROTOBUF_NONNULL PlacementNew_(
753 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
754 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
755 static constexpr auto InternalNewImpl_();
758 static constexpr auto InternalGenerateClassData_();
760 ::
google::protobuf::Metadata GetMetadata() const;
765 kStrategyFieldNumber = 1,
766 kDurationSecondsFieldNumber = 2,
771 template <
typename Arg_ = const ::std::string&,
typename... Args_>
778 const ::std::string& _internal_strategy()
const;
779 PROTOBUF_ALWAYS_INLINE
void _internal_set_strategy(const ::std::string& value);
780 ::std::string* PROTOBUF_NONNULL _internal_mutable_strategy();
789 double _internal_duration_seconds()
const;
790 void _internal_set_duration_seconds(
double value);
796 friend class ::google::protobuf::internal::TcParser;
797 static const ::google::protobuf::internal::TcParseTable<1, 2,
802 friend class ::google::protobuf::MessageLite;
803 friend class ::google::protobuf::Arena;
804 template <
typename T>
805 friend class ::google::protobuf::Arena::InternalHelper;
806 using InternalArenaConstructable_ = void;
807 using DestructorSkippable_ = void;
809 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
810 inline explicit Impl_(
811 ::google::protobuf::internal::InternalVisibility visibility,
812 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
813 inline explicit Impl_(
814 ::google::protobuf::internal::InternalVisibility visibility,
815 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
817 ::google::protobuf::internal::HasBits<1> _has_bits_;
818 ::google::protobuf::internal::CachedSize _cached_size_;
819 ::google::protobuf::internal::ArenaStringPtr strategy_;
820 double duration_seconds_;
821 PROTOBUF_TSAN_DECLARE_MEMBER
823 union { Impl_ _impl_; };
824 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2fsearch_5fstats_2eproto;
836#if defined(PROTOBUF_CUSTOM_VTABLE)
843 template <
typename =
void>
847 inline ConstraintSolverStatistics(ConstraintSolverStatistics&& from) noexcept
848 : ConstraintSolverStatistics(
nullptr, ::std::move(from)) {}
854 if (
this == &from)
return *
this;
855 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
863 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
864 ABSL_ATTRIBUTE_LIFETIME_BOUND {
865 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
867 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
868 ABSL_ATTRIBUTE_LIFETIME_BOUND {
869 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
872 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
descriptor() {
875 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
876 return default_instance().GetMetadata().descriptor;
878 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
879 return default_instance().GetMetadata().reflection;
885 static constexpr int kIndexInFileMessages = 4;
888 if (other ==
this)
return;
889 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
892 ::google::protobuf::internal::GenericSwap(
this, other);
895 void UnsafeArenaSwap(ConstraintSolverStatistics* PROTOBUF_NONNULL other) {
896 if (other ==
this)
return;
897 ABSL_DCHECK(GetArena() == other->GetArena());
904 return ::google::protobuf::Message::DefaultConstruct<ConstraintSolverStatistics>(arena);
906 using ::google::protobuf::Message::CopyFrom;
908 using ::google::protobuf::Message::MergeFrom;
912 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
913 const ::google::protobuf::MessageLite& from_msg);
919 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
920 #if defined(PROTOBUF_CUSTOM_VTABLE)
922 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
924 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
925 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
929 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
930 ::uint8_t* PROTOBUF_NONNULL target,
931 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
932 return _InternalSerialize(*
this, target, stream);
935 ::size_t ByteSizeLong() const final;
936 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
937 ::uint8_t* PROTOBUF_NONNULL target,
938 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
940 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
943 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
944 static void SharedDtor(MessageLite& self);
947 template <
typename T>
949 static ::absl::string_view FullMessageName() {
return "operations_research.ConstraintSolverStatistics"; }
957 *
this = ::std::move(from);
959 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
GetClassData() const PROTOBUF_FINAL;
961 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
962 ::
google::protobuf::
Arena* PROTOBUF_NULLABLE arena);
985 ::int64_t _internal_num_branches()
const;
986 void _internal_set_num_branches(::int64_t value);
995 ::int64_t _internal_num_failures()
const;
996 void _internal_set_num_failures(::int64_t value);
1005 ::int64_t _internal_num_solutions()
const;
1006 void _internal_set_num_solutions(::int64_t value);
1015 ::int64_t _internal_bytes_used()
const;
1016 void _internal_set_bytes_used(::int64_t value);
1025 double _internal_duration_seconds()
const;
1026 void _internal_set_duration_seconds(
double value);
1032 friend class ::google::protobuf::internal::TcParser;
1033 static const ::google::protobuf::internal::TcParseTable<3, 5,
1038 friend class ::google::protobuf::MessageLite;
1039 friend class ::google::protobuf::Arena;
1040 template <
typename T>
1041 friend class ::google::protobuf::Arena::InternalHelper;
1042 using InternalArenaConstructable_ = void;
1043 using DestructorSkippable_ = void;
1045 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
1046 inline explicit Impl_(
1047 ::google::protobuf::internal::InternalVisibility visibility,
1048 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1049 inline explicit Impl_(
1050 ::google::protobuf::internal::InternalVisibility visibility,
1051 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1053 ::google::protobuf::internal::HasBits<1> _has_bits_;
1054 ::google::protobuf::internal::CachedSize _cached_size_;
1055 ::int64_t num_branches_;
1056 ::int64_t num_failures_;
1057 ::int64_t num_solutions_;
1058 ::int64_t bytes_used_;
1059 double duration_seconds_;
1060 PROTOBUF_TSAN_DECLARE_MEMBER
1062 union { Impl_ _impl_; };
1063 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2fsearch_5fstats_2eproto;
1075#if defined(PROTOBUF_CUSTOM_VTABLE)
1082 template <
typename =
void>
1083 explicit PROTOBUF_CONSTEXPR
LocalSearchStatistics(::google::protobuf::internal::ConstantInitialized);
1086 inline LocalSearchStatistics(LocalSearchStatistics&& from) noexcept
1087 : LocalSearchStatistics(
nullptr, ::std::move(from)) {}
1088 inline LocalSearchStatistics& operator=(
const LocalSearchStatistics& from) {
1093 if (
this == &from)
return *
this;
1094 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1095 InternalSwap(&from);
1102 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1103 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1104 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1106 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1107 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1108 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1111 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1114 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1115 return default_instance().GetMetadata().descriptor;
1124 static constexpr int kIndexInFileMessages = 3;
1127 if (other ==
this)
return;
1128 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1129 InternalSwap(other);
1131 ::google::protobuf::internal::GenericSwap(
this, other);
1134 void UnsafeArenaSwap(LocalSearchStatistics* PROTOBUF_NONNULL other) {
1135 if (other ==
this)
return;
1136 ABSL_DCHECK(GetArena() == other->GetArena());
1137 InternalSwap(other);
1143 return ::google::protobuf::Message::DefaultConstruct<LocalSearchStatistics>(arena);
1145 using ::google::protobuf::Message::CopyFrom;
1147 using ::google::protobuf::Message::MergeFrom;
1151 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1152 const ::google::protobuf::MessageLite& from_msg);
1158 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
1159 #if defined(PROTOBUF_CUSTOM_VTABLE)
1163 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1164 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1168 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1169 ::uint8_t* PROTOBUF_NONNULL target,
1170 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1171 return _InternalSerialize(*
this, target, stream);
1174 ::size_t ByteSizeLong() const final;
1175 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1176 ::uint8_t* PROTOBUF_NONNULL target,
1177 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1179 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
1182 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1183 static void SharedDtor(MessageLite& self);
1184 void InternalSwap(LocalSearchStatistics* PROTOBUF_NONNULL other);
1186 template <
typename T>
1188 static ::absl::string_view FullMessageName() {
return "operations_research.LocalSearchStatistics"; }
1196 *
this = ::std::move(from);
1198 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1200 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1201 ::
google::protobuf::
Arena* PROTOBUF_NULLABLE arena);
1225 int _internal_local_search_operator_statistics_size()
const;
1233 const ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics>& _internal_local_search_operator_statistics()
const;
1234 ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics>* PROTOBUF_NONNULL _internal_mutable_local_search_operator_statistics();
1238 const ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics>&
local_search_operator_statistics()
const;
1242 int _internal_local_search_filter_statistics_size()
const;
1250 const ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics>& _internal_local_search_filter_statistics()
const;
1251 ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics>* PROTOBUF_NONNULL _internal_mutable_local_search_filter_statistics();
1255 const ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics>&
local_search_filter_statistics()
const;
1259 int _internal_first_solution_statistics_size()
const;
1264 ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_FirstSolutionStatistics>* PROTOBUF_NONNULL
mutable_first_solution_statistics();
1267 const ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_FirstSolutionStatistics>& _internal_first_solution_statistics()
const;
1268 ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_FirstSolutionStatistics>* PROTOBUF_NONNULL _internal_mutable_first_solution_statistics();
1272 const ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_FirstSolutionStatistics>&
first_solution_statistics()
const;
1279 ::int64_t _internal_total_num_neighbors()
const;
1280 void _internal_set_total_num_neighbors(::int64_t value);
1289 ::int64_t _internal_total_num_filtered_neighbors()
const;
1290 void _internal_set_total_num_filtered_neighbors(::int64_t value);
1299 ::int64_t _internal_total_num_accepted_neighbors()
const;
1300 void _internal_set_total_num_accepted_neighbors(::int64_t value);
1306 friend class ::google::protobuf::internal::TcParser;
1307 static const ::google::protobuf::internal::TcParseTable<3, 6,
1312 friend class ::google::protobuf::MessageLite;
1313 friend class ::google::protobuf::Arena;
1314 template <
typename T>
1315 friend class ::google::protobuf::Arena::InternalHelper;
1316 using InternalArenaConstructable_ = void;
1317 using DestructorSkippable_ = void;
1319 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
1320 inline explicit Impl_(
1321 ::google::protobuf::internal::InternalVisibility visibility,
1322 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1323 inline explicit Impl_(
1324 ::google::protobuf::internal::InternalVisibility visibility,
1325 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1327 ::google::protobuf::internal::HasBits<1> _has_bits_;
1328 ::google::protobuf::internal::CachedSize _cached_size_;
1329 ::google::protobuf::RepeatedPtrField< ::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics > local_search_operator_statistics_;
1330 ::google::protobuf::RepeatedPtrField< ::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics > local_search_filter_statistics_;
1331 ::google::protobuf::RepeatedPtrField< ::operations_research::LocalSearchStatistics_FirstSolutionStatistics > first_solution_statistics_;
1332 ::int64_t total_num_neighbors_;
1333 ::int64_t total_num_filtered_neighbors_;
1334 ::int64_t total_num_accepted_neighbors_;
1335 PROTOBUF_TSAN_DECLARE_MEMBER
1337 union { Impl_ _impl_; };
1338 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2fsearch_5fstats_2eproto;
1350#if defined(PROTOBUF_CUSTOM_VTABLE)
1357 template <
typename =
void>
1358 explicit PROTOBUF_CONSTEXPR
SearchStatistics(::google::protobuf::internal::ConstantInitialized);
1361 inline SearchStatistics(SearchStatistics&& from) noexcept
1362 : SearchStatistics(
nullptr, ::std::move(from)) {}
1363 inline SearchStatistics& operator=(
const SearchStatistics& from) {
1368 if (
this == &from)
return *
this;
1369 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1370 InternalSwap(&from);
1377 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1378 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1379 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1381 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1382 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1383 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1386 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1387 return GetDescriptor();
1389 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1390 return default_instance().GetMetadata().descriptor;
1392 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1402 if (other ==
this)
return;
1403 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1404 InternalSwap(other);
1406 ::google::protobuf::internal::GenericSwap(
this, other);
1410 if (other ==
this)
return;
1411 ABSL_DCHECK(GetArena() == other->GetArena());
1412 InternalSwap(other);
1417 SearchStatistics* PROTOBUF_NONNULL
New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
1418 return ::google::protobuf::Message::DefaultConstruct<SearchStatistics>(arena);
1420 using ::google::protobuf::Message::CopyFrom;
1422 using ::google::protobuf::Message::MergeFrom;
1423 void MergeFrom(
const SearchStatistics& from) { SearchStatistics::MergeImpl(*
this, from); }
1426 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1427 const ::google::protobuf::MessageLite& from_msg);
1433 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
1434 #if defined(PROTOBUF_CUSTOM_VTABLE)
1436 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1438 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1439 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1443 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1444 ::uint8_t* PROTOBUF_NONNULL target,
1445 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1446 return _InternalSerialize(*
this, target, stream);
1449 ::size_t ByteSizeLong() const final;
1450 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1451 ::uint8_t* PROTOBUF_NONNULL target,
1452 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1454 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
1457 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1458 static void SharedDtor(MessageLite& self);
1459 void InternalSwap(SearchStatistics* PROTOBUF_NONNULL other);
1461 template <
typename T>
1463 static ::absl::string_view FullMessageName() {
return "operations_research.SearchStatistics"; }
1466 explicit SearchStatistics(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1469 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
SearchStatistics&& from) noexcept
1471 *
this = ::std::move(from);
1473 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1474 static
void* PROTOBUF_NONNULL PlacementNew_(
1475 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1476 ::
google::protobuf::
Arena* PROTOBUF_NULLABLE arena);
1491 int local_search_statistics_size()
const;
1493 int _internal_local_search_statistics_size()
const;
1501 const ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics>& _internal_local_search_statistics()
const;
1502 ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics>* PROTOBUF_NONNULL _internal_mutable_local_search_statistics();
1506 const ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics>&
local_search_statistics()
const;
1510 int _internal_constraint_solver_statistics_size()
const;
1518 const ::google::protobuf::RepeatedPtrField<::operations_research::ConstraintSolverStatistics>& _internal_constraint_solver_statistics()
const;
1519 ::google::protobuf::RepeatedPtrField<::operations_research::ConstraintSolverStatistics>* PROTOBUF_NONNULL _internal_mutable_constraint_solver_statistics();
1527 friend class ::google::protobuf::internal::TcParser;
1528 static const ::google::protobuf::internal::TcParseTable<1, 2,
1533 friend class ::google::protobuf::MessageLite;
1534 friend class ::google::protobuf::Arena;
1535 template <
typename T>
1536 friend class ::google::protobuf::Arena::InternalHelper;
1537 using InternalArenaConstructable_ = void;
1538 using DestructorSkippable_ = void;
1540 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
1541 inline explicit Impl_(
1542 ::google::protobuf::internal::InternalVisibility visibility,
1543 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1544 inline explicit Impl_(
1545 ::google::protobuf::internal::InternalVisibility visibility,
1546 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1548 ::google::protobuf::RepeatedPtrField< ::operations_research::LocalSearchStatistics > local_search_statistics_;
1549 ::google::protobuf::RepeatedPtrField< ::operations_research::ConstraintSolverStatistics > constraint_solver_statistics_;
1550 ::google::protobuf::internal::CachedSize _cached_size_;
1551 PROTOBUF_TSAN_DECLARE_MEMBER
1553 union { Impl_ _impl_; };
1554 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2fsearch_5fstats_2eproto;
1568#pragma GCC diagnostic push
1569#pragma GCC diagnostic ignored "-Wstrict-aliasing"
1577 ::google::protobuf::internal::TSanWrite(&
_impl_);
1578 _impl_.strategy_.ClearToEmpty();
1579 _impl_._has_bits_[0] &= ~0x00000001u;
1582 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1584 return _internal_strategy();
1586template <
typename Arg_,
typename... Args_>
1588 ::google::protobuf::internal::TSanWrite(&
_impl_);
1589 _impl_._has_bits_[0] |= 0x00000001u;
1590 _impl_.strategy_.Set(
static_cast<Arg_&&
>(arg), args..., GetArena());
1594 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1595 ::std::string* _s = _internal_mutable_strategy();
1599inline const ::std::string& LocalSearchStatistics_FirstSolutionStatistics::_internal_strategy()
const {
1600 ::google::protobuf::internal::TSanRead(&
_impl_);
1601 return _impl_.strategy_.Get();
1603inline void LocalSearchStatistics_FirstSolutionStatistics::_internal_set_strategy(const ::std::string& value) {
1604 ::google::protobuf::internal::TSanWrite(&
_impl_);
1605 _impl_._has_bits_[0] |= 0x00000001u;
1606 _impl_.strategy_.Set(value, GetArena());
1608inline ::std::string* PROTOBUF_NONNULL LocalSearchStatistics_FirstSolutionStatistics::_internal_mutable_strategy() {
1609 ::google::protobuf::internal::TSanWrite(&
_impl_);
1610 _impl_._has_bits_[0] |= 0x00000001u;
1611 return _impl_.strategy_.Mutable( GetArena());
1614 ::google::protobuf::internal::TSanWrite(&
_impl_);
1616 if ((
_impl_._has_bits_[0] & 0x00000001u) == 0) {
1619 _impl_._has_bits_[0] &= ~0x00000001u;
1620 auto* released =
_impl_.strategy_.Release();
1621 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
1622 _impl_.strategy_.Set(
"", GetArena());
1627 ::google::protobuf::internal::TSanWrite(&
_impl_);
1628 if (value !=
nullptr) {
1629 _impl_._has_bits_[0] |= 0x00000001u;
1631 _impl_._has_bits_[0] &= ~0x00000001u;
1633 _impl_.strategy_.SetAllocated(value, GetArena());
1634 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() &&
_impl_.strategy_.IsDefault()) {
1635 _impl_.strategy_.Set(
"", GetArena());
1642 ::google::protobuf::internal::TSanWrite(&
_impl_);
1643 _impl_.duration_seconds_ = 0;
1644 _impl_._has_bits_[0] &= ~0x00000002u;
1648 return _internal_duration_seconds();
1651 _internal_set_duration_seconds(value);
1652 _impl_._has_bits_[0] |= 0x00000002u;
1655inline double LocalSearchStatistics_FirstSolutionStatistics::_internal_duration_seconds()
const {
1656 ::google::protobuf::internal::TSanRead(&
_impl_);
1657 return _impl_.duration_seconds_;
1659inline void LocalSearchStatistics_FirstSolutionStatistics::_internal_set_duration_seconds(
double value) {
1660 ::google::protobuf::internal::TSanWrite(&
_impl_);
1661 _impl_.duration_seconds_ = value;
1670 ::google::protobuf::internal::TSanWrite(&
_impl_);
1671 _impl_.local_search_operator_.ClearToEmpty();
1672 _impl_._has_bits_[0] &= ~0x00000001u;
1675 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1677 return _internal_local_search_operator();
1679template <
typename Arg_,
typename... Args_>
1681 ::google::protobuf::internal::TSanWrite(&
_impl_);
1682 _impl_._has_bits_[0] |= 0x00000001u;
1683 _impl_.local_search_operator_.Set(
static_cast<Arg_&&
>(arg), args..., GetArena());
1687 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1688 ::std::string* _s = _internal_mutable_local_search_operator();
1692inline const ::std::string& LocalSearchStatistics_LocalSearchOperatorStatistics::_internal_local_search_operator()
const {
1693 ::google::protobuf::internal::TSanRead(&
_impl_);
1694 return _impl_.local_search_operator_.Get();
1696inline void LocalSearchStatistics_LocalSearchOperatorStatistics::_internal_set_local_search_operator(const ::std::string& value) {
1697 ::google::protobuf::internal::TSanWrite(&
_impl_);
1698 _impl_._has_bits_[0] |= 0x00000001u;
1699 _impl_.local_search_operator_.Set(value, GetArena());
1701inline ::std::string* PROTOBUF_NONNULL LocalSearchStatistics_LocalSearchOperatorStatistics::_internal_mutable_local_search_operator() {
1702 ::google::protobuf::internal::TSanWrite(&
_impl_);
1703 _impl_._has_bits_[0] |= 0x00000001u;
1704 return _impl_.local_search_operator_.Mutable( GetArena());
1707 ::google::protobuf::internal::TSanWrite(&
_impl_);
1709 if ((
_impl_._has_bits_[0] & 0x00000001u) == 0) {
1712 _impl_._has_bits_[0] &= ~0x00000001u;
1713 auto* released =
_impl_.local_search_operator_.Release();
1714 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
1715 _impl_.local_search_operator_.Set(
"", GetArena());
1720 ::google::protobuf::internal::TSanWrite(&
_impl_);
1721 if (value !=
nullptr) {
1722 _impl_._has_bits_[0] |= 0x00000001u;
1724 _impl_._has_bits_[0] &= ~0x00000001u;
1726 _impl_.local_search_operator_.SetAllocated(value, GetArena());
1727 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() &&
_impl_.local_search_operator_.IsDefault()) {
1728 _impl_.local_search_operator_.Set(
"", GetArena());
1735 ::google::protobuf::internal::TSanWrite(&
_impl_);
1736 _impl_.num_neighbors_ = ::int64_t{0};
1737 _impl_._has_bits_[0] &= ~0x00000002u;
1741 return _internal_num_neighbors();
1744 _internal_set_num_neighbors(value);
1748inline ::int64_t LocalSearchStatistics_LocalSearchOperatorStatistics::_internal_num_neighbors()
const {
1749 ::google::protobuf::internal::TSanRead(&
_impl_);
1752inline void LocalSearchStatistics_LocalSearchOperatorStatistics::_internal_set_num_neighbors(::int64_t value) {
1753 ::google::protobuf::internal::TSanWrite(&
_impl_);
1759 ::google::protobuf::internal::TSanWrite(&
_impl_);
1760 _impl_.num_filtered_neighbors_ = ::int64_t{0};
1761 _impl_._has_bits_[0] &= ~0x00000004u;
1765 return _internal_num_filtered_neighbors();
1768 _internal_set_num_filtered_neighbors(value);
1772inline ::int64_t LocalSearchStatistics_LocalSearchOperatorStatistics::_internal_num_filtered_neighbors()
const {
1773 ::google::protobuf::internal::TSanRead(&
_impl_);
1776inline void LocalSearchStatistics_LocalSearchOperatorStatistics::_internal_set_num_filtered_neighbors(::int64_t value) {
1777 ::google::protobuf::internal::TSanWrite(&
_impl_);
1783 ::google::protobuf::internal::TSanWrite(&
_impl_);
1784 _impl_.num_accepted_neighbors_ = ::int64_t{0};
1785 _impl_._has_bits_[0] &= ~0x00000008u;
1789 return _internal_num_accepted_neighbors();
1792 _internal_set_num_accepted_neighbors(value);
1796inline ::int64_t LocalSearchStatistics_LocalSearchOperatorStatistics::_internal_num_accepted_neighbors()
const {
1797 ::google::protobuf::internal::TSanRead(&
_impl_);
1800inline void LocalSearchStatistics_LocalSearchOperatorStatistics::_internal_set_num_accepted_neighbors(::int64_t value) {
1801 ::google::protobuf::internal::TSanWrite(&
_impl_);
1807 ::google::protobuf::internal::TSanWrite(&
_impl_);
1808 _impl_.duration_seconds_ = 0;
1809 _impl_._has_bits_[0] &= ~0x00000010u;
1813 return _internal_duration_seconds();
1816 _internal_set_duration_seconds(value);
1820inline double LocalSearchStatistics_LocalSearchOperatorStatistics::_internal_duration_seconds()
const {
1821 ::google::protobuf::internal::TSanRead(&
_impl_);
1824inline void LocalSearchStatistics_LocalSearchOperatorStatistics::_internal_set_duration_seconds(
double value) {
1825 ::google::protobuf::internal::TSanWrite(&
_impl_);
1831 ::google::protobuf::internal::TSanWrite(&
_impl_);
1832 _impl_.make_next_neighbor_duration_seconds_ = 0;
1833 _impl_._has_bits_[0] &= ~0x00000020u;
1837 return _internal_make_next_neighbor_duration_seconds();
1840 _internal_set_make_next_neighbor_duration_seconds(value);
1844inline double LocalSearchStatistics_LocalSearchOperatorStatistics::_internal_make_next_neighbor_duration_seconds()
const {
1845 ::google::protobuf::internal::TSanRead(&
_impl_);
1846 return _impl_.make_next_neighbor_duration_seconds_;
1848inline void LocalSearchStatistics_LocalSearchOperatorStatistics::_internal_set_make_next_neighbor_duration_seconds(
double value) {
1849 ::google::protobuf::internal::TSanWrite(&
_impl_);
1850 _impl_.make_next_neighbor_duration_seconds_ = value;
1855 ::google::protobuf::internal::TSanWrite(&
_impl_);
1856 _impl_.accept_neighbor_duration_seconds_ = 0;
1857 _impl_._has_bits_[0] &= ~0x00000040u;
1861 return _internal_accept_neighbor_duration_seconds();
1864 _internal_set_accept_neighbor_duration_seconds(value);
1868inline double LocalSearchStatistics_LocalSearchOperatorStatistics::_internal_accept_neighbor_duration_seconds()
const {
1869 ::google::protobuf::internal::TSanRead(&
_impl_);
1870 return _impl_.accept_neighbor_duration_seconds_;
1872inline void LocalSearchStatistics_LocalSearchOperatorStatistics::_internal_set_accept_neighbor_duration_seconds(
double value) {
1873 ::google::protobuf::internal::TSanWrite(&
_impl_);
1874 _impl_.accept_neighbor_duration_seconds_ = value;
1883 ::google::protobuf::internal::TSanWrite(&
_impl_);
1884 _impl_.local_search_filter_.ClearToEmpty();
1885 _impl_._has_bits_[0] &= ~0x00000001u;
1888 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1890 return _internal_local_search_filter();
1892template <
typename Arg_,
typename... Args_>
1894 ::google::protobuf::internal::TSanWrite(&
_impl_);
1895 _impl_._has_bits_[0] |= 0x00000001u;
1896 _impl_.local_search_filter_.Set(
static_cast<Arg_&&
>(arg), args..., GetArena());
1900 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1901 ::std::string* _s = _internal_mutable_local_search_filter();
1905inline const ::std::string& LocalSearchStatistics_LocalSearchFilterStatistics::_internal_local_search_filter()
const {
1906 ::google::protobuf::internal::TSanRead(&
_impl_);
1907 return _impl_.local_search_filter_.Get();
1909inline void LocalSearchStatistics_LocalSearchFilterStatistics::_internal_set_local_search_filter(const ::std::string& value) {
1910 ::google::protobuf::internal::TSanWrite(&
_impl_);
1912 _impl_.local_search_filter_.Set(value, GetArena());
1914inline ::std::string* PROTOBUF_NONNULL LocalSearchStatistics_LocalSearchFilterStatistics::_internal_mutable_local_search_filter() {
1915 ::google::protobuf::internal::TSanWrite(&
_impl_);
1916 _impl_._has_bits_[0] |= 0x00000001u;
1917 return _impl_.local_search_filter_.Mutable( GetArena());
1920 ::google::protobuf::internal::TSanWrite(&
_impl_);
1922 if ((
_impl_._has_bits_[0] & 0x00000001u) == 0) {
1925 _impl_._has_bits_[0] &= ~0x00000001u;
1926 auto* released =
_impl_.local_search_filter_.Release();
1927 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
1928 _impl_.local_search_filter_.Set(
"", GetArena());
1933 ::google::protobuf::internal::TSanWrite(&
_impl_);
1934 if (value !=
nullptr) {
1935 _impl_._has_bits_[0] |= 0x00000001u;
1937 _impl_._has_bits_[0] &= ~0x00000001u;
1939 _impl_.local_search_filter_.SetAllocated(value, GetArena());
1940 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() &&
_impl_.local_search_filter_.IsDefault()) {
1941 _impl_.local_search_filter_.Set(
"", GetArena());
1948 ::google::protobuf::internal::TSanWrite(&
_impl_);
1949 _impl_.num_calls_ = ::int64_t{0};
1950 _impl_._has_bits_[0] &= ~0x00000004u;
1954 return _internal_num_calls();
1957 _internal_set_num_calls(value);
1958 _impl_._has_bits_[0] |= 0x00000004u;
1961inline ::int64_t LocalSearchStatistics_LocalSearchFilterStatistics::_internal_num_calls()
const {
1962 ::google::protobuf::internal::TSanRead(&
_impl_);
1963 return _impl_.num_calls_;
1965inline void LocalSearchStatistics_LocalSearchFilterStatistics::_internal_set_num_calls(::int64_t value) {
1966 ::google::protobuf::internal::TSanWrite(&
_impl_);
1967 _impl_.num_calls_ = value;
1972 ::google::protobuf::internal::TSanWrite(&
_impl_);
1973 _impl_.num_rejects_ = ::int64_t{0};
1974 _impl_._has_bits_[0] &= ~0x00000008u;
1978 return _internal_num_rejects();
1981 _internal_set_num_rejects(value);
1982 _impl_._has_bits_[0] |= 0x00000008u;
1985inline ::int64_t LocalSearchStatistics_LocalSearchFilterStatistics::_internal_num_rejects()
const {
1986 ::google::protobuf::internal::TSanRead(&
_impl_);
1987 return _impl_.num_rejects_;
1989inline void LocalSearchStatistics_LocalSearchFilterStatistics::_internal_set_num_rejects(::int64_t value) {
1990 ::google::protobuf::internal::TSanWrite(&
_impl_);
1991 _impl_.num_rejects_ = value;
1996 ::google::protobuf::internal::TSanWrite(&
_impl_);
1997 _impl_.duration_seconds_ = 0;
1998 _impl_._has_bits_[0] &= ~0x00000010u;
2002 return _internal_duration_seconds();
2005 _internal_set_duration_seconds(value);
2006 _impl_._has_bits_[0] |= 0x00000010u;
2009inline double LocalSearchStatistics_LocalSearchFilterStatistics::_internal_duration_seconds()
const {
2010 ::google::protobuf::internal::TSanRead(&
_impl_);
2011 return _impl_.duration_seconds_;
2013inline void LocalSearchStatistics_LocalSearchFilterStatistics::_internal_set_duration_seconds(
double value) {
2014 ::google::protobuf::internal::TSanWrite(&
_impl_);
2015 _impl_.duration_seconds_ = value;
2020 ::google::protobuf::internal::TSanWrite(&
_impl_);
2021 _impl_.num_rejects_per_second_ = 0;
2022 _impl_._has_bits_[0] &= ~0x00000020u;
2026 return _internal_num_rejects_per_second();
2029 _internal_set_num_rejects_per_second(value);
2030 _impl_._has_bits_[0] |= 0x00000020u;
2033inline double LocalSearchStatistics_LocalSearchFilterStatistics::_internal_num_rejects_per_second()
const {
2034 ::google::protobuf::internal::TSanRead(&
_impl_);
2035 return _impl_.num_rejects_per_second_;
2037inline void LocalSearchStatistics_LocalSearchFilterStatistics::_internal_set_num_rejects_per_second(
double value) {
2038 ::google::protobuf::internal::TSanWrite(&
_impl_);
2039 _impl_.num_rejects_per_second_ = value;
2044 ::google::protobuf::internal::TSanWrite(&
_impl_);
2045 _impl_.context_.ClearToEmpty();
2046 _impl_._has_bits_[0] &= ~0x00000002u;
2049 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2051 return _internal_context();
2053template <
typename Arg_,
typename... Args_>
2055 ::google::protobuf::internal::TSanWrite(&
_impl_);
2056 _impl_._has_bits_[0] |= 0x00000002u;
2057 _impl_.context_.Set(
static_cast<Arg_&&
>(arg), args..., GetArena());
2061 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2062 ::std::string* _s = _internal_mutable_context();
2066inline const ::std::string& LocalSearchStatistics_LocalSearchFilterStatistics::_internal_context()
const {
2067 ::google::protobuf::internal::TSanRead(&
_impl_);
2068 return _impl_.context_.Get();
2070inline void LocalSearchStatistics_LocalSearchFilterStatistics::_internal_set_context(const ::std::string& value) {
2071 ::google::protobuf::internal::TSanWrite(&
_impl_);
2073 _impl_.context_.Set(value, GetArena());
2075inline ::std::string* PROTOBUF_NONNULL LocalSearchStatistics_LocalSearchFilterStatistics::_internal_mutable_context() {
2076 ::google::protobuf::internal::TSanWrite(&
_impl_);
2077 _impl_._has_bits_[0] |= 0x00000002u;
2078 return _impl_.context_.Mutable( GetArena());
2081 ::google::protobuf::internal::TSanWrite(&
_impl_);
2083 if ((
_impl_._has_bits_[0] & 0x00000002u) == 0) {
2086 _impl_._has_bits_[0] &= ~0x00000002u;
2087 auto* released =
_impl_.context_.Release();
2088 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
2089 _impl_.context_.Set(
"", GetArena());
2094 ::google::protobuf::internal::TSanWrite(&
_impl_);
2095 if (value !=
nullptr) {
2096 _impl_._has_bits_[0] |= 0x00000002u;
2098 _impl_._has_bits_[0] &= ~0x00000002u;
2100 _impl_.context_.SetAllocated(value, GetArena());
2101 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() &&
_impl_.context_.IsDefault()) {
2102 _impl_.context_.Set(
"", GetArena());
2112inline int LocalSearchStatistics::_internal_first_solution_statistics_size()
const {
2113 return _internal_first_solution_statistics().size();
2116 return _internal_first_solution_statistics_size();
2119 ::google::protobuf::internal::TSanWrite(&
_impl_);
2120 _impl_.first_solution_statistics_.Clear();
2123 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2125 return _internal_mutable_first_solution_statistics()->Mutable(index);
2128 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2130 ::google::protobuf::internal::TSanWrite(&
_impl_);
2131 return _internal_mutable_first_solution_statistics();
2134 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2136 return _internal_first_solution_statistics().Get(index);
2139 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2140 ::google::protobuf::internal::TSanWrite(&
_impl_);
2146 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2148 return _internal_first_solution_statistics();
2150inline const ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_FirstSolutionStatistics>&
2151LocalSearchStatistics::_internal_first_solution_statistics()
const {
2152 ::google::protobuf::internal::TSanRead(&
_impl_);
2153 return _impl_.first_solution_statistics_;
2155inline ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_FirstSolutionStatistics>* PROTOBUF_NONNULL
2156LocalSearchStatistics::_internal_mutable_first_solution_statistics() {
2157 ::google::protobuf::internal::TSanRead(&
_impl_);
2162inline int LocalSearchStatistics::_internal_local_search_operator_statistics_size()
const {
2163 return _internal_local_search_operator_statistics().size();
2166 return _internal_local_search_operator_statistics_size();
2169 ::google::protobuf::internal::TSanWrite(&
_impl_);
2170 _impl_.local_search_operator_statistics_.Clear();
2173 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2175 return _internal_mutable_local_search_operator_statistics()->Mutable(index);
2178 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2180 ::google::protobuf::internal::TSanWrite(&
_impl_);
2181 return _internal_mutable_local_search_operator_statistics();
2184 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2186 return _internal_local_search_operator_statistics().Get(index);
2189 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2190 ::google::protobuf::internal::TSanWrite(&
_impl_);
2196 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2198 return _internal_local_search_operator_statistics();
2200inline const ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics>&
2201LocalSearchStatistics::_internal_local_search_operator_statistics()
const {
2202 ::google::protobuf::internal::TSanRead(&
_impl_);
2203 return _impl_.local_search_operator_statistics_;
2205inline ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics>* PROTOBUF_NONNULL
2206LocalSearchStatistics::_internal_mutable_local_search_operator_statistics() {
2207 ::google::protobuf::internal::TSanRead(&
_impl_);
2208 return &
_impl_.local_search_operator_statistics_;
2213 ::google::protobuf::internal::TSanWrite(&
_impl_);
2214 _impl_.total_num_neighbors_ = ::int64_t{0};
2215 _impl_._has_bits_[0] &= ~0x00000001u;
2219 return _internal_total_num_neighbors();
2222 _internal_set_total_num_neighbors(value);
2223 _impl_._has_bits_[0] |= 0x00000001u;
2226inline ::int64_t LocalSearchStatistics::_internal_total_num_neighbors()
const {
2227 ::google::protobuf::internal::TSanRead(&
_impl_);
2228 return _impl_.total_num_neighbors_;
2230inline void LocalSearchStatistics::_internal_set_total_num_neighbors(::int64_t value) {
2231 ::google::protobuf::internal::TSanWrite(&
_impl_);
2232 _impl_.total_num_neighbors_ = value;
2237 ::google::protobuf::internal::TSanWrite(&
_impl_);
2238 _impl_.total_num_filtered_neighbors_ = ::int64_t{0};
2239 _impl_._has_bits_[0] &= ~0x00000002u;
2243 return _internal_total_num_filtered_neighbors();
2246 _internal_set_total_num_filtered_neighbors(value);
2247 _impl_._has_bits_[0] |= 0x00000002u;
2250inline ::int64_t LocalSearchStatistics::_internal_total_num_filtered_neighbors()
const {
2251 ::google::protobuf::internal::TSanRead(&
_impl_);
2252 return _impl_.total_num_filtered_neighbors_;
2254inline void LocalSearchStatistics::_internal_set_total_num_filtered_neighbors(::int64_t value) {
2255 ::google::protobuf::internal::TSanWrite(&
_impl_);
2256 _impl_.total_num_filtered_neighbors_ = value;
2261 ::google::protobuf::internal::TSanWrite(&
_impl_);
2262 _impl_.total_num_accepted_neighbors_ = ::int64_t{0};
2263 _impl_._has_bits_[0] &= ~0x00000004u;
2267 return _internal_total_num_accepted_neighbors();
2270 _internal_set_total_num_accepted_neighbors(value);
2271 _impl_._has_bits_[0] |= 0x00000004u;
2274inline ::int64_t LocalSearchStatistics::_internal_total_num_accepted_neighbors()
const {
2275 ::google::protobuf::internal::TSanRead(&
_impl_);
2276 return _impl_.total_num_accepted_neighbors_;
2278inline void LocalSearchStatistics::_internal_set_total_num_accepted_neighbors(::int64_t value) {
2279 ::google::protobuf::internal::TSanWrite(&
_impl_);
2280 _impl_.total_num_accepted_neighbors_ = value;
2284inline int LocalSearchStatistics::_internal_local_search_filter_statistics_size()
const {
2285 return _internal_local_search_filter_statistics().size();
2288 return _internal_local_search_filter_statistics_size();
2291 ::google::protobuf::internal::TSanWrite(&
_impl_);
2292 _impl_.local_search_filter_statistics_.Clear();
2295 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2297 return _internal_mutable_local_search_filter_statistics()->Mutable(index);
2300 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2302 ::google::protobuf::internal::TSanWrite(&
_impl_);
2303 return _internal_mutable_local_search_filter_statistics();
2306 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2308 return _internal_local_search_filter_statistics().Get(index);
2311 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2312 ::google::protobuf::internal::TSanWrite(&
_impl_);
2318 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2320 return _internal_local_search_filter_statistics();
2322inline const ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics>&
2323LocalSearchStatistics::_internal_local_search_filter_statistics()
const {
2324 ::google::protobuf::internal::TSanRead(&
_impl_);
2325 return _impl_.local_search_filter_statistics_;
2327inline ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics>* PROTOBUF_NONNULL
2328LocalSearchStatistics::_internal_mutable_local_search_filter_statistics() {
2329 ::google::protobuf::internal::TSanRead(&
_impl_);
2330 return &
_impl_.local_search_filter_statistics_;
2339 ::google::protobuf::internal::TSanWrite(&
_impl_);
2340 _impl_.num_branches_ = ::int64_t{0};
2341 _impl_._has_bits_[0] &= ~0x00000001u;
2345 return _internal_num_branches();
2348 _internal_set_num_branches(value);
2349 _impl_._has_bits_[0] |= 0x00000001u;
2352inline ::int64_t ConstraintSolverStatistics::_internal_num_branches()
const {
2353 ::google::protobuf::internal::TSanRead(&
_impl_);
2354 return _impl_.num_branches_;
2356inline void ConstraintSolverStatistics::_internal_set_num_branches(::int64_t value) {
2357 ::google::protobuf::internal::TSanWrite(&
_impl_);
2358 _impl_.num_branches_ = value;
2363 ::google::protobuf::internal::TSanWrite(&
_impl_);
2364 _impl_.num_failures_ = ::int64_t{0};
2365 _impl_._has_bits_[0] &= ~0x00000002u;
2369 return _internal_num_failures();
2372 _internal_set_num_failures(value);
2373 _impl_._has_bits_[0] |= 0x00000002u;
2376inline ::int64_t ConstraintSolverStatistics::_internal_num_failures()
const {
2377 ::google::protobuf::internal::TSanRead(&
_impl_);
2378 return _impl_.num_failures_;
2380inline void ConstraintSolverStatistics::_internal_set_num_failures(::int64_t value) {
2381 ::google::protobuf::internal::TSanWrite(&
_impl_);
2382 _impl_.num_failures_ = value;
2387 ::google::protobuf::internal::TSanWrite(&
_impl_);
2388 _impl_.num_solutions_ = ::int64_t{0};
2389 _impl_._has_bits_[0] &= ~0x00000004u;
2393 return _internal_num_solutions();
2396 _internal_set_num_solutions(value);
2397 _impl_._has_bits_[0] |= 0x00000004u;
2400inline ::int64_t ConstraintSolverStatistics::_internal_num_solutions()
const {
2401 ::google::protobuf::internal::TSanRead(&
_impl_);
2402 return _impl_.num_solutions_;
2404inline void ConstraintSolverStatistics::_internal_set_num_solutions(::int64_t value) {
2405 ::google::protobuf::internal::TSanWrite(&
_impl_);
2406 _impl_.num_solutions_ = value;
2411 ::google::protobuf::internal::TSanWrite(&
_impl_);
2412 _impl_.bytes_used_ = ::int64_t{0};
2413 _impl_._has_bits_[0] &= ~0x00000008u;
2417 return _internal_bytes_used();
2420 _internal_set_bytes_used(value);
2421 _impl_._has_bits_[0] |= 0x00000008u;
2424inline ::int64_t ConstraintSolverStatistics::_internal_bytes_used()
const {
2425 ::google::protobuf::internal::TSanRead(&
_impl_);
2426 return _impl_.bytes_used_;
2428inline void ConstraintSolverStatistics::_internal_set_bytes_used(::int64_t value) {
2429 ::google::protobuf::internal::TSanWrite(&
_impl_);
2430 _impl_.bytes_used_ = value;
2435 ::google::protobuf::internal::TSanWrite(&
_impl_);
2436 _impl_.duration_seconds_ = 0;
2437 _impl_._has_bits_[0] &= ~0x00000010u;
2441 return _internal_duration_seconds();
2444 _internal_set_duration_seconds(value);
2445 _impl_._has_bits_[0] |= 0x00000010u;
2448inline double ConstraintSolverStatistics::_internal_duration_seconds()
const {
2449 ::google::protobuf::internal::TSanRead(&
_impl_);
2450 return _impl_.duration_seconds_;
2452inline void ConstraintSolverStatistics::_internal_set_duration_seconds(
double value) {
2453 ::google::protobuf::internal::TSanWrite(&
_impl_);
2454 _impl_.duration_seconds_ = value;
2462inline int SearchStatistics::_internal_local_search_statistics_size()
const {
2463 return _internal_local_search_statistics().size();
2466 return _internal_local_search_statistics_size();
2469 ::google::protobuf::internal::TSanWrite(&
_impl_);
2470 _impl_.local_search_statistics_.Clear();
2473 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2475 return _internal_mutable_local_search_statistics()->Mutable(index);
2478 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2480 ::google::protobuf::internal::TSanWrite(&
_impl_);
2481 return _internal_mutable_local_search_statistics();
2484 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2486 return _internal_local_search_statistics().Get(index);
2489 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2490 ::google::protobuf::internal::TSanWrite(&
_impl_);
2496 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2498 return _internal_local_search_statistics();
2500inline const ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics>&
2501SearchStatistics::_internal_local_search_statistics()
const {
2502 ::google::protobuf::internal::TSanRead(&
_impl_);
2505inline ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics>* PROTOBUF_NONNULL
2506SearchStatistics::_internal_mutable_local_search_statistics() {
2507 ::google::protobuf::internal::TSanRead(&
_impl_);
2508 return &
_impl_.local_search_statistics_;
2512inline int SearchStatistics::_internal_constraint_solver_statistics_size()
const {
2513 return _internal_constraint_solver_statistics().size();
2516 return _internal_constraint_solver_statistics_size();
2519 ::google::protobuf::internal::TSanWrite(&
_impl_);
2520 _impl_.constraint_solver_statistics_.Clear();
2523 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2525 return _internal_mutable_constraint_solver_statistics()->Mutable(index);
2528 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2530 ::google::protobuf::internal::TSanWrite(&
_impl_);
2531 return _internal_mutable_constraint_solver_statistics();
2534 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2536 return _internal_constraint_solver_statistics().Get(index);
2539 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2540 ::google::protobuf::internal::TSanWrite(&
_impl_);
2546 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2548 return _internal_constraint_solver_statistics();
2550inline const ::google::protobuf::RepeatedPtrField<::operations_research::ConstraintSolverStatistics>&
2551SearchStatistics::_internal_constraint_solver_statistics()
const {
2552 ::google::protobuf::internal::TSanRead(&
_impl_);
2555inline ::google::protobuf::RepeatedPtrField<::operations_research::ConstraintSolverStatistics>* PROTOBUF_NONNULL
2556SearchStatistics::_internal_mutable_constraint_solver_statistics() {
2557 ::google::protobuf::internal::TSanRead(&
_impl_);
2558 return &
_impl_.constraint_solver_statistics_;
2562#pragma GCC diagnostic pop
2571#include "google/protobuf/port_undef.inc"
bool IsInitialized() const
::int64_t num_solutions() const
void set_num_branches(::int64_t value)
::int64_t num_failures() const
void set_num_solutions(::int64_t value)
::int64_t bytes_used() const
void set_num_failures(::int64_t value)
static constexpr auto InternalNewImpl_()
::google::protobuf::Metadata GetMetadata() const
double duration_seconds() const
void clear_bytes_used()
int64 bytes_used = 4;
void set_duration_seconds(double value)
ConstraintSolverStatistics *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
::size_t ByteSizeLong() const final
void CopyFrom(const ConstraintSolverStatistics &from)
::int64_t num_branches() const
void clear_duration_seconds()
double duration_seconds = 5;
void MergeFrom(const ConstraintSolverStatistics &from)
void set_bytes_used(::int64_t value)
void clear_num_failures()
int64 num_failures = 2;
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
friend void swap(ConstraintSolverStatistics &a, ConstraintSolverStatistics &b)
ConstraintSolverStatistics & operator=(const ConstraintSolverStatistics &from)
void Swap(ConstraintSolverStatistics *PROTOBUF_NONNULL other)
@ kDurationSecondsFieldNumber
@ kNumSolutionsFieldNumber
@ kNumFailuresFieldNumber
@ kNumBranchesFieldNumber
static constexpr auto InternalGenerateClassData_()
void clear_num_solutions()
int64 num_solutions = 3;
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
friend class ::google::protobuf::Arena
void clear_num_branches()
int64 num_branches = 1;
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
ConstraintSolverStatistics()
friend class ::google::protobuf::MessageLite
friend void swap(LocalSearchStatistics_FirstSolutionStatistics &a, LocalSearchStatistics_FirstSolutionStatistics &b)
LocalSearchStatistics_FirstSolutionStatistics()
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
static constexpr int kIndexInFileMessages
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
void clear_duration_seconds()
double duration_seconds = 2;
::std::string *PROTOBUF_NULLABLE release_strategy()
const ::std::string & strategy() const
::std::string *PROTOBUF_NONNULL mutable_strategy()
void set_duration_seconds(double value)
void MergeFrom(const LocalSearchStatistics_FirstSolutionStatistics &from)
LocalSearchStatistics_FirstSolutionStatistics & operator=(const LocalSearchStatistics_FirstSolutionStatistics &from)
void set_strategy(Arg_ &&arg, Args_... args)
inline ::google::protobuf::UnknownFieldSet *PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND
::size_t ByteSizeLong() const final
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
void set_allocated_strategy(::std::string *PROTOBUF_NULLABLE value)
PROTOBUF_CONSTEXPR LocalSearchStatistics_FirstSolutionStatistics(::google::protobuf::internal::ConstantInitialized)
bool IsInitialized() const
static const LocalSearchStatistics_FirstSolutionStatistics & default_instance()
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
double duration_seconds() const
void clear_strategy()
string strategy = 1;
void Swap(LocalSearchStatistics_FirstSolutionStatistics *PROTOBUF_NONNULL other)
void CopyFrom(const LocalSearchStatistics_FirstSolutionStatistics &from)
::std::string *PROTOBUF_NULLABLE release_local_search_filter()
friend class ::google::protobuf::MessageLite
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
::std::string *PROTOBUF_NONNULL mutable_local_search_filter()
void clear_local_search_filter()
string local_search_filter = 1;
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
LocalSearchStatistics_LocalSearchFilterStatistics & operator=(const LocalSearchStatistics_LocalSearchFilterStatistics &from)
::std::string *PROTOBUF_NULLABLE release_context()
void set_context(Arg_ &&arg, Args_... args)
const ::std::string & context() const
void clear_num_calls()
int64 num_calls = 2;
const ::std::string & local_search_filter() const
void set_allocated_local_search_filter(::std::string *PROTOBUF_NULLABLE value)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
::size_t ByteSizeLong() const final
double num_rejects_per_second() const
static const LocalSearchStatistics_LocalSearchFilterStatistics & default_instance()
void clear_context()
string context = 6;
void set_num_rejects(::int64_t value)
::int64_t num_rejects() const
::int64_t num_calls() const
@ kNumRejectsPerSecondFieldNumber
@ kDurationSecondsFieldNumber
void clear_num_rejects()
int64 num_rejects = 3;
void Swap(LocalSearchStatistics_LocalSearchFilterStatistics *PROTOBUF_NONNULL other)
void set_num_calls(::int64_t value)
void clear_duration_seconds()
double duration_seconds = 4;
void set_num_rejects_per_second(double value)
void set_allocated_context(::std::string *PROTOBUF_NULLABLE value)
void clear_num_rejects_per_second()
double num_rejects_per_second = 5;
PROTOBUF_CONSTEXPR LocalSearchStatistics_LocalSearchFilterStatistics(::google::protobuf::internal::ConstantInitialized)
void set_duration_seconds(double value)
LocalSearchStatistics_LocalSearchFilterStatistics()
double duration_seconds() const
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void CopyFrom(const LocalSearchStatistics_LocalSearchFilterStatistics &from)
void set_local_search_filter(Arg_ &&arg, Args_... args)
bool IsInitialized() const
::std::string *PROTOBUF_NONNULL mutable_context()
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
void MergeFrom(const LocalSearchStatistics_LocalSearchFilterStatistics &from)
friend class ::google::protobuf::MessageLite
bool IsInitialized() const
void clear_num_accepted_neighbors()
int64 num_accepted_neighbors = 4;
void set_num_filtered_neighbors(::int64_t value)
void set_local_search_operator(Arg_ &&arg, Args_... args)
::std::string *PROTOBUF_NONNULL mutable_local_search_operator()
void set_allocated_local_search_operator(::std::string *PROTOBUF_NULLABLE value)
::int64_t num_neighbors() const
::int64_t num_filtered_neighbors() const
::int64_t num_accepted_neighbors() const
void clear_make_next_neighbor_duration_seconds()
double make_next_neighbor_duration_seconds = 6;
void clear_num_neighbors()
int64 num_neighbors = 2;
void Swap(LocalSearchStatistics_LocalSearchOperatorStatistics *PROTOBUF_NONNULL other)
void CopyFrom(const LocalSearchStatistics_LocalSearchOperatorStatistics &from)
LocalSearchStatistics_LocalSearchOperatorStatistics(const LocalSearchStatistics_LocalSearchOperatorStatistics &from)
::std::string *PROTOBUF_NULLABLE release_local_search_operator()
void clear_accept_neighbor_duration_seconds()
double accept_neighbor_duration_seconds = 7;
void clear_num_filtered_neighbors()
int64 num_filtered_neighbors = 3;
void set_num_neighbors(::int64_t value)
void clear_duration_seconds()
double duration_seconds = 5;
void set_make_next_neighbor_duration_seconds(double value)
@ kNumFilteredNeighborsFieldNumber
@ kMakeNextNeighborDurationSecondsFieldNumber
@ kAcceptNeighborDurationSecondsFieldNumber
@ kNumAcceptedNeighborsFieldNumber
@ kDurationSecondsFieldNumber
LocalSearchStatistics_LocalSearchOperatorStatistics()
double duration_seconds() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
LocalSearchStatistics_LocalSearchOperatorStatistics(::google::protobuf::Arena *PROTOBUF_NULLABLE arena, LocalSearchStatistics_LocalSearchOperatorStatistics &&from) noexcept
void set_num_accepted_neighbors(::int64_t value)
void set_duration_seconds(double value)
double accept_neighbor_duration_seconds() const
void clear_local_search_operator()
string local_search_operator = 1;
const ::std::string & local_search_operator() const
PROTOBUF_CONSTEXPR LocalSearchStatistics_LocalSearchOperatorStatistics(::google::protobuf::internal::ConstantInitialized)
LocalSearchStatistics_LocalSearchOperatorStatistics & operator=(const LocalSearchStatistics_LocalSearchOperatorStatistics &from)
double make_next_neighbor_duration_seconds() const
void set_accept_neighbor_duration_seconds(double value)
::int64_t total_num_filtered_neighbors() const
void clear_total_num_filtered_neighbors()
int64 total_num_filtered_neighbors = 4;
const ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_FirstSolutionStatistics > & first_solution_statistics() const
LocalSearchStatistics_FirstSolutionStatistics FirstSolutionStatistics
nested types -------------------------------------------------—
void MergeFrom(const LocalSearchStatistics &from)
::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics > *PROTOBUF_NONNULL mutable_local_search_operator_statistics()
void clear_first_solution_statistics()
const ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics > & local_search_filter_statistics() const
::google::protobuf::Metadata GetMetadata() const
static constexpr auto InternalGenerateClassData_()
const ::operations_research::LocalSearchStatistics_FirstSolutionStatistics & first_solution_statistics(int index) const
void set_total_num_neighbors(::int64_t value)
void set_total_num_filtered_neighbors(::int64_t value)
::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics *PROTOBUF_NONNULL add_local_search_operator_statistics()
const ::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics & local_search_operator_statistics(int index) const
int local_search_filter_statistics_size() const
repeated .operations_research.LocalSearchStatistics.LocalSearchFilterStatistics local_search_filter_s...
void CopyFrom(const LocalSearchStatistics &from)
void set_total_num_accepted_neighbors(::int64_t value)
::size_t ByteSizeLong() const final
const ::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics & local_search_filter_statistics(int index) const
LocalSearchStatistics *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
static constexpr auto InternalNewImpl_()
LocalSearchStatistics & operator=(const LocalSearchStatistics &from)
::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics > *PROTOBUF_NONNULL mutable_local_search_filter_statistics()
::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics *PROTOBUF_NONNULL add_local_search_filter_statistics()
::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics *PROTOBUF_NONNULL mutable_local_search_operator_statistics(int index)
int first_solution_statistics_size() const
repeated .operations_research.LocalSearchStatistics.FirstSolutionStatistics first_solution_statistics...
::int64_t total_num_accepted_neighbors() const
void clear_local_search_filter_statistics()
void clear_total_num_neighbors()
int64 total_num_neighbors = 3;
@ kTotalNumNeighborsFieldNumber
@ kTotalNumAcceptedNeighborsFieldNumber
@ kLocalSearchOperatorStatisticsFieldNumber
@ kTotalNumFilteredNeighborsFieldNumber
@ kFirstSolutionStatisticsFieldNumber
@ kLocalSearchFilterStatisticsFieldNumber
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
LocalSearchStatistics_LocalSearchFilterStatistics LocalSearchFilterStatistics
::operations_research::LocalSearchStatistics_FirstSolutionStatistics *PROTOBUF_NONNULL mutable_first_solution_statistics(int index)
const ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics > & local_search_operator_statistics() const
void Swap(LocalSearchStatistics *PROTOBUF_NONNULL other)
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
static const LocalSearchStatistics & default_instance()
LocalSearchStatistics_LocalSearchOperatorStatistics LocalSearchOperatorStatistics
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
bool IsInitialized() const
void clear_total_num_accepted_neighbors()
int64 total_num_accepted_neighbors = 5;
::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_FirstSolutionStatistics > *PROTOBUF_NONNULL mutable_first_solution_statistics()
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
void clear_local_search_operator_statistics()
::int64_t total_num_neighbors() const
::operations_research::LocalSearchStatistics_FirstSolutionStatistics *PROTOBUF_NONNULL add_first_solution_statistics()
int local_search_operator_statistics_size() const
repeated .operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics local_search_operat...
::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics *PROTOBUF_NONNULL mutable_local_search_filter_statistics(int index)
friend class ::google::protobuf::Arena
void clear_constraint_solver_statistics()
const ::operations_research::LocalSearchStatistics & local_search_statistics(int index) const
static constexpr int kIndexInFileMessages
const ::google::protobuf::RepeatedPtrField<::operations_research::ConstraintSolverStatistics > & constraint_solver_statistics() const
void clear_local_search_statistics()
const ::operations_research::ConstraintSolverStatistics & constraint_solver_statistics(int index) const
::operations_research::LocalSearchStatistics *PROTOBUF_NONNULL add_local_search_statistics()
::operations_research::LocalSearchStatistics *PROTOBUF_NONNULL mutable_local_search_statistics(int index)
void Swap(SearchStatistics *PROTOBUF_NONNULL other)
::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics > *PROTOBUF_NONNULL mutable_local_search_statistics()
::operations_research::ConstraintSolverStatistics *PROTOBUF_NONNULL mutable_constraint_solver_statistics(int index)
::google::protobuf::RepeatedPtrField<::operations_research::ConstraintSolverStatistics > *PROTOBUF_NONNULL mutable_constraint_solver_statistics()
static const SearchStatistics & default_instance()
int constraint_solver_statistics_size() const
repeated .operations_research.ConstraintSolverStatistics constraint_solver_statistics = 2;
const ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics > & local_search_statistics() const
static constexpr auto InternalNewImpl_()
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
::google::protobuf::Metadata GetMetadata() const
static constexpr auto InternalGenerateClassData_()
SearchStatistics *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
::operations_research::ConstraintSolverStatistics *PROTOBUF_NONNULL add_constraint_solver_statistics()
SearchStatistics & operator=(const SearchStatistics &from)
friend void swap(SearchStatistics &a, SearchStatistics &b)
::size_t ByteSizeLong() const final
int local_search_statistics_size() const
repeated .operations_research.LocalSearchStatistics local_search_statistics = 1;
@ kLocalSearchStatisticsFieldNumber
@ kConstraintSolverStatisticsFieldNumber
friend class ::google::protobuf::Arena
bool IsInitialized() const
::absl::string_view GetAnyMessageName()
In SWIG mode, we don't want anything besides these top-level includes.
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SearchStatistics_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull LocalSearchStatistics_LocalSearchOperatorStatistics_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LocalSearchStatistics_LocalSearchFilterStatisticsDefaultTypeInternal _LocalSearchStatistics_LocalSearchFilterStatistics_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LocalSearchStatistics_FirstSolutionStatisticsDefaultTypeInternal _LocalSearchStatistics_FirstSolutionStatistics_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull LocalSearchStatistics_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SearchStatisticsDefaultTypeInternal _SearchStatistics_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LocalSearchStatisticsDefaultTypeInternal _LocalSearchStatistics_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull LocalSearchStatistics_FirstSolutionStatistics_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull LocalSearchStatistics_LocalSearchFilterStatistics_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ConstraintSolverStatisticsDefaultTypeInternal _ConstraintSolverStatistics_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ConstraintSolverStatistics_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LocalSearchStatistics_LocalSearchOperatorStatisticsDefaultTypeInternal _LocalSearchStatistics_LocalSearchOperatorStatistics_default_instance_
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fconstraint_5fsolver_2fsearch_5fstats_2eproto