Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
search_stats.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// NO CHECKED-IN PROTOBUF GENCODE
3// source: ortools/constraint_solver/search_stats.proto
4// Protobuf C++ Version: 6.31.1
5
6#ifndef ortools_2fconstraint_5fsolver_2fsearch_5fstats_2eproto_2epb_2eh
7#define ortools_2fconstraint_5fsolver_2fsearch_5fstats_2eproto_2epb_2eh
8
9#include <limits>
10#include <string>
11#include <type_traits>
12#include <utility>
13
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"
19#endif
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" // IWYU pragma: export
30#include "google/protobuf/extension_set.h" // IWYU pragma: export
31#include "google/protobuf/unknown_field_set.h"
32// @@protoc_insertion_point(includes)
33
34// Must be included last.
35#include "google/protobuf/port_def.inc"
36
37#define PROTOBUF_INTERNAL_EXPORT_ortools_2fconstraint_5fsolver_2fsearch_5fstats_2eproto OR_PROTO_DLL
38
39namespace google {
40namespace protobuf {
41namespace internal {
42template <typename T>
43::absl::string_view GetAnyMessageName();
44} // namespace internal
45} // namespace protobuf
46} // namespace google
47
48// Internal implementation detail -- do not use these members.
50 static const ::uint32_t offsets[];
51};
52extern "C" {
53OR_PROTO_DLL extern const ::google::protobuf::internal::DescriptorTable descriptor_table_ortools_2fconstraint_5fsolver_2fsearch_5fstats_2eproto;
54} // extern "C"
55namespace operations_research {
59OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull ConstraintSolverStatistics_class_data_;
63OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull LocalSearchStatistics_class_data_;
67OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull LocalSearchStatistics_FirstSolutionStatistics_class_data_;
71OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull LocalSearchStatistics_LocalSearchFilterStatistics_class_data_;
75OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull LocalSearchStatistics_LocalSearchOperatorStatistics_class_data_;
79OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull SearchStatistics_class_data_;
80} // namespace operations_research
81namespace google {
82namespace protobuf {
83} // namespace protobuf
84} // namespace google
85
86namespace operations_research {
87
88// ===================================================================
89
90
91// -------------------------------------------------------------------
92
93class OR_PROTO_DLL LocalSearchStatistics_LocalSearchOperatorStatistics final : public ::google::protobuf::Message
94/* @@protoc_insertion_point(class_definition:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics) */ {
95 public:
99#if defined(PROTOBUF_CUSTOM_VTABLE)
100 void operator delete(LocalSearchStatistics_LocalSearchOperatorStatistics* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
101 SharedDtor(*msg);
102 ::google::protobuf::internal::SizedDelete(msg, sizeof(LocalSearchStatistics_LocalSearchOperatorStatistics));
103 }
104#endif
105
106 template <typename = void>
107 explicit PROTOBUF_CONSTEXPR LocalSearchStatistics_LocalSearchOperatorStatistics(::google::protobuf::internal::ConstantInitialized);
108
114 return *this;
115 }
117 if (this == &from) return *this;
118 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
119 InternalSwap(&from);
120 } else {
121 CopyFrom(from);
122 }
123 return *this;
124 }
125
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);
129 }
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>();
133 }
134
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;
144 static const LocalSearchStatistics_LocalSearchOperatorStatistics& default_instance() {
145 return *reinterpret_cast<const LocalSearchStatistics_LocalSearchOperatorStatistics*>(
150 inline void Swap(LocalSearchStatistics_LocalSearchOperatorStatistics* PROTOBUF_NONNULL other) {
151 if (other == this) return;
152 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
153 InternalSwap(other);
154 } else {
155 ::google::protobuf::internal::GenericSwap(this, other);
156 }
157 }
158 void UnsafeArenaSwap(LocalSearchStatistics_LocalSearchOperatorStatistics* PROTOBUF_NONNULL other) {
159 if (other == this) return;
160 ABSL_DCHECK(GetArena() == other->GetArena());
161 InternalSwap(other);
162 }
163
164 // implements Message ----------------------------------------------
165
166 LocalSearchStatistics_LocalSearchOperatorStatistics* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
167 return ::google::protobuf::Message::DefaultConstruct<LocalSearchStatistics_LocalSearchOperatorStatistics>(arena);
169 using ::google::protobuf::Message::CopyFrom;
171 using ::google::protobuf::Message::MergeFrom;
172 void MergeFrom(const LocalSearchStatistics_LocalSearchOperatorStatistics& from) { LocalSearchStatistics_LocalSearchOperatorStatistics::MergeImpl(*this, from); }
173
174 private:
175 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
176 const ::google::protobuf::MessageLite& from_msg);
177
178 public:
179 bool IsInitialized() const {
180 return true;
182 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
183 #if defined(PROTOBUF_CUSTOM_VTABLE)
184 private:
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);
189
190 public:
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);
196 }
197 #else // PROTOBUF_CUSTOM_VTABLE
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;
202 #endif // PROTOBUF_CUSTOM_VTABLE
203 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
204
205 private:
206 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
207 static void SharedDtor(MessageLite& self);
208 void InternalSwap(LocalSearchStatistics_LocalSearchOperatorStatistics* PROTOBUF_NONNULL other);
209 private:
210 template <typename T>
211 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
212 static ::absl::string_view FullMessageName() { return "operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics"; }
213
214 protected:
215 explicit LocalSearchStatistics_LocalSearchOperatorStatistics(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
216 LocalSearchStatistics_LocalSearchOperatorStatistics(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const LocalSearchStatistics_LocalSearchOperatorStatistics& from);
218 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, LocalSearchStatistics_LocalSearchOperatorStatistics&& from) noexcept
220 *this = ::std::move(from);
221 }
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_();
227
228 public:
229 static constexpr auto InternalGenerateClassData_();
230
231 ::google::protobuf::Metadata GetMetadata() const;
232 // nested types ----------------------------------------------------
233
234 // accessors -------------------------------------------------------
235 enum : int {
236 kLocalSearchOperatorFieldNumber = 1,
237 kNumNeighborsFieldNumber = 2,
243 };
244 // string local_search_operator = 1;
246 const ::std::string& local_search_operator() const;
247 template <typename Arg_ = const ::std::string&, typename... Args_>
248 void set_local_search_operator(Arg_&& arg, Args_... args);
249 ::std::string* PROTOBUF_NONNULL mutable_local_search_operator();
250 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_local_search_operator();
251 void set_allocated_local_search_operator(::std::string* PROTOBUF_NULLABLE value);
252
253 private:
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();
257
258 public:
259 // int64 num_neighbors = 2;
260 void clear_num_neighbors() ;
261 ::int64_t num_neighbors() const;
262 void set_num_neighbors(::int64_t value);
263
264 private:
265 ::int64_t _internal_num_neighbors() const;
266 void _internal_set_num_neighbors(::int64_t value);
267
268 public:
269 // int64 num_filtered_neighbors = 3;
271 ::int64_t num_filtered_neighbors() const;
272 void set_num_filtered_neighbors(::int64_t value);
273
274 private:
275 ::int64_t _internal_num_filtered_neighbors() const;
276 void _internal_set_num_filtered_neighbors(::int64_t value);
277
278 public:
279 // int64 num_accepted_neighbors = 4;
281 ::int64_t num_accepted_neighbors() const;
282 void set_num_accepted_neighbors(::int64_t value);
283
284 private:
285 ::int64_t _internal_num_accepted_neighbors() const;
286 void _internal_set_num_accepted_neighbors(::int64_t value);
287
288 public:
289 // double duration_seconds = 5;
291 double duration_seconds() const;
292 void set_duration_seconds(double value);
293
294 private:
295 double _internal_duration_seconds() const;
296 void _internal_set_duration_seconds(double value);
297
298 public:
299 // double make_next_neighbor_duration_seconds = 6;
303
304 private:
305 double _internal_make_next_neighbor_duration_seconds() const;
306 void _internal_set_make_next_neighbor_duration_seconds(double value);
307
308 public:
309 // double accept_neighbor_duration_seconds = 7;
312 void set_accept_neighbor_duration_seconds(double value);
313
314 private:
315 double _internal_accept_neighbor_duration_seconds() const;
316 void _internal_set_accept_neighbor_duration_seconds(double value);
317
318 public:
319 // @@protoc_insertion_point(class_scope:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics)
320 private:
321 class _Internal;
322 friend class ::google::protobuf::internal::TcParser;
323 static const ::google::protobuf::internal::TcParseTable<3, 7,
324 0, 101,
325 2>
326 _table_;
327
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;
334 struct Impl_ {
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
353 };
354 union { Impl_ _impl_; };
355 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2fsearch_5fstats_2eproto;
358OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull LocalSearchStatistics_LocalSearchOperatorStatistics_class_data_;
359// -------------------------------------------------------------------
360
361class OR_PROTO_DLL LocalSearchStatistics_LocalSearchFilterStatistics final : public ::google::protobuf::Message
362/* @@protoc_insertion_point(class_definition:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics) */ {
363 public:
366
367#if defined(PROTOBUF_CUSTOM_VTABLE)
368 void operator delete(LocalSearchStatistics_LocalSearchFilterStatistics* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
369 SharedDtor(*msg);
370 ::google::protobuf::internal::SizedDelete(msg, sizeof(LocalSearchStatistics_LocalSearchFilterStatistics));
371 }
372#endif
373
374 template <typename = void>
375 explicit PROTOBUF_CONSTEXPR LocalSearchStatistics_LocalSearchFilterStatistics(::google::protobuf::internal::ConstantInitialized);
376
379 : LocalSearchStatistics_LocalSearchFilterStatistics(nullptr, ::std::move(from)) {}
381 CopyFrom(from);
382 return *this;
385 if (this == &from) return *this;
386 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
387 InternalSwap(&from);
388 } else {
389 CopyFrom(from);
390 }
391 return *this;
392 }
393
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>();
402
403 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
404 return GetDescriptor();
405 }
406 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
407 return default_instance().GetMetadata().descriptor;
408 }
409 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
410 return default_instance().GetMetadata().reflection;
411 }
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())) {
421 InternalSwap(other);
422 } else {
423 ::google::protobuf::internal::GenericSwap(this, other);
424 }
425 }
426 void UnsafeArenaSwap(LocalSearchStatistics_LocalSearchFilterStatistics* PROTOBUF_NONNULL other) {
427 if (other == this) return;
428 ABSL_DCHECK(GetArena() == other->GetArena());
429 InternalSwap(other);
430 }
431
432 // implements Message ----------------------------------------------
433
434 LocalSearchStatistics_LocalSearchFilterStatistics* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
435 return ::google::protobuf::Message::DefaultConstruct<LocalSearchStatistics_LocalSearchFilterStatistics>(arena);
436 }
437 using ::google::protobuf::Message::CopyFrom;
439 using ::google::protobuf::Message::MergeFrom;
440 void MergeFrom(const LocalSearchStatistics_LocalSearchFilterStatistics& from) { LocalSearchStatistics_LocalSearchFilterStatistics::MergeImpl(*this, from); }
441
442 private:
443 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
444 const ::google::protobuf::MessageLite& from_msg);
445
446 public:
447 bool IsInitialized() const {
448 return true;
449 }
450 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
451 #if defined(PROTOBUF_CUSTOM_VTABLE)
452 private:
453 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
454 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
455 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
456 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
457
458 public:
459 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
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);
464 }
465 #else // PROTOBUF_CUSTOM_VTABLE
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;
470 #endif // PROTOBUF_CUSTOM_VTABLE
471 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
472
473 private:
474 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
475 static void SharedDtor(MessageLite& self);
476 void InternalSwap(LocalSearchStatistics_LocalSearchFilterStatistics* PROTOBUF_NONNULL other);
477 private:
478 template <typename T>
479 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
480 static ::absl::string_view FullMessageName() { return "operations_research.LocalSearchStatistics.LocalSearchFilterStatistics"; }
481
482 protected:
483 explicit LocalSearchStatistics_LocalSearchFilterStatistics(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
484 LocalSearchStatistics_LocalSearchFilterStatistics(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const LocalSearchStatistics_LocalSearchFilterStatistics& from);
486 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, LocalSearchStatistics_LocalSearchFilterStatistics&& from) noexcept
488 *this = ::std::move(from);
489 }
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_();
495
496 public:
497 static constexpr auto InternalGenerateClassData_();
498
499 ::google::protobuf::Metadata GetMetadata() const;
500 // nested types ----------------------------------------------------
501
502 // accessors -------------------------------------------------------
503 enum : int {
504 kLocalSearchFilterFieldNumber = 1,
505 kContextFieldNumber = 6,
506 kNumCallsFieldNumber = 2,
510 };
511 // string local_search_filter = 1;
513 const ::std::string& local_search_filter() const;
514 template <typename Arg_ = const ::std::string&, typename... Args_>
515 void set_local_search_filter(Arg_&& arg, Args_... args);
516 ::std::string* PROTOBUF_NONNULL mutable_local_search_filter();
517 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_local_search_filter();
518 void set_allocated_local_search_filter(::std::string* PROTOBUF_NULLABLE value);
519
520 private:
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();
524
525 public:
526 // string context = 6;
527 void clear_context() ;
528 const ::std::string& context() const;
529 template <typename Arg_ = const ::std::string&, typename... Args_>
530 void set_context(Arg_&& arg, Args_... args);
531 ::std::string* PROTOBUF_NONNULL mutable_context();
532 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_context();
533 void set_allocated_context(::std::string* PROTOBUF_NULLABLE value);
534
535 private:
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();
539
540 public:
541 // int64 num_calls = 2;
542 void clear_num_calls() ;
543 ::int64_t num_calls() const;
544 void set_num_calls(::int64_t value);
545
546 private:
547 ::int64_t _internal_num_calls() const;
548 void _internal_set_num_calls(::int64_t value);
549
550 public:
551 // int64 num_rejects = 3;
552 void clear_num_rejects() ;
553 ::int64_t num_rejects() const;
554 void set_num_rejects(::int64_t value);
555
556 private:
557 ::int64_t _internal_num_rejects() const;
558 void _internal_set_num_rejects(::int64_t value);
559
560 public:
561 // double duration_seconds = 4;
563 double duration_seconds() const;
564 void set_duration_seconds(double value);
565
566 private:
567 double _internal_duration_seconds() const;
568 void _internal_set_duration_seconds(double value);
569
570 public:
571 // double num_rejects_per_second = 5;
573 double num_rejects_per_second() const;
574 void set_num_rejects_per_second(double value);
575
576 private:
577 double _internal_num_rejects_per_second() const;
578 void _internal_set_num_rejects_per_second(double value);
579
580 public:
581 // @@protoc_insertion_point(class_scope:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics)
582 private:
583 class _Internal;
584 friend class ::google::protobuf::internal::TcParser;
585 static const ::google::protobuf::internal::TcParseTable<3, 6,
586 0, 104,
587 2>
588 _table_;
589
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;
596 struct Impl_ {
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
614 };
615 union { Impl_ _impl_; };
616 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2fsearch_5fstats_2eproto;
617};
619OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull LocalSearchStatistics_LocalSearchFilterStatistics_class_data_;
620// -------------------------------------------------------------------
621
622class OR_PROTO_DLL LocalSearchStatistics_FirstSolutionStatistics final : public ::google::protobuf::Message
623/* @@protoc_insertion_point(class_definition:operations_research.LocalSearchStatistics.FirstSolutionStatistics) */ {
624 public:
627
628#if defined(PROTOBUF_CUSTOM_VTABLE)
629 void operator delete(LocalSearchStatistics_FirstSolutionStatistics* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
630 SharedDtor(*msg);
631 ::google::protobuf::internal::SizedDelete(msg, sizeof(LocalSearchStatistics_FirstSolutionStatistics));
632 }
633#endif
634
635 template <typename = void>
636 explicit PROTOBUF_CONSTEXPR LocalSearchStatistics_FirstSolutionStatistics(::google::protobuf::internal::ConstantInitialized);
637
639 inline LocalSearchStatistics_FirstSolutionStatistics(LocalSearchStatistics_FirstSolutionStatistics&& from) noexcept
640 : LocalSearchStatistics_FirstSolutionStatistics(nullptr, ::std::move(from)) {}
642 CopyFrom(from);
643 return *this;
644 }
646 if (this == &from) return *this;
647 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
648 InternalSwap(&from);
649 } else {
650 CopyFrom(from);
651 }
652 return *this;
653 }
654
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);
658 }
659 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
660 ABSL_ATTRIBUTE_LIFETIME_BOUND {
661 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
662 }
664 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
665 return GetDescriptor();
666 }
667 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
668 return default_instance().GetMetadata().descriptor;
669 }
670 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
671 return default_instance().GetMetadata().reflection;
672 }
673 static const LocalSearchStatistics_FirstSolutionStatistics& default_instance() {
677 static constexpr int kIndexInFileMessages = 0;
679 inline void Swap(LocalSearchStatistics_FirstSolutionStatistics* PROTOBUF_NONNULL other) {
680 if (other == this) return;
681 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
682 InternalSwap(other);
683 } else {
684 ::google::protobuf::internal::GenericSwap(this, other);
685 }
686 }
687 void UnsafeArenaSwap(LocalSearchStatistics_FirstSolutionStatistics* PROTOBUF_NONNULL other) {
688 if (other == this) return;
689 ABSL_DCHECK(GetArena() == other->GetArena());
690 InternalSwap(other);
692
693 // implements Message ----------------------------------------------
694
695 LocalSearchStatistics_FirstSolutionStatistics* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
696 return ::google::protobuf::Message::DefaultConstruct<LocalSearchStatistics_FirstSolutionStatistics>(arena);
697 }
698 using ::google::protobuf::Message::CopyFrom;
700 using ::google::protobuf::Message::MergeFrom;
701 void MergeFrom(const LocalSearchStatistics_FirstSolutionStatistics& from) { LocalSearchStatistics_FirstSolutionStatistics::MergeImpl(*this, from); }
702
703 private:
704 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
705 const ::google::protobuf::MessageLite& from_msg);
706
707 public:
708 bool IsInitialized() const {
709 return true;
710 }
711 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
712 #if defined(PROTOBUF_CUSTOM_VTABLE)
713 private:
714 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
715 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
716 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
717 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
718
719 public:
720 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
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);
725 }
726 #else // PROTOBUF_CUSTOM_VTABLE
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;
731 #endif // PROTOBUF_CUSTOM_VTABLE
732 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
733
734 private:
735 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
736 static void SharedDtor(MessageLite& self);
737 void InternalSwap(LocalSearchStatistics_FirstSolutionStatistics* PROTOBUF_NONNULL other);
738 private:
739 template <typename T>
740 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
741 static ::absl::string_view FullMessageName() { return "operations_research.LocalSearchStatistics.FirstSolutionStatistics"; }
742
743 protected:
744 explicit LocalSearchStatistics_FirstSolutionStatistics(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
745 LocalSearchStatistics_FirstSolutionStatistics(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const LocalSearchStatistics_FirstSolutionStatistics& from);
747 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, LocalSearchStatistics_FirstSolutionStatistics&& from) noexcept
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_();
756
757 public:
758 static constexpr auto InternalGenerateClassData_();
759
760 ::google::protobuf::Metadata GetMetadata() const;
761 // nested types ----------------------------------------------------
762
763 // accessors -------------------------------------------------------
764 enum : int {
765 kStrategyFieldNumber = 1,
766 kDurationSecondsFieldNumber = 2,
767 };
768 // string strategy = 1;
770 const ::std::string& strategy() const;
771 template <typename Arg_ = const ::std::string&, typename... Args_>
772 void set_strategy(Arg_&& arg, Args_... args);
773 ::std::string* PROTOBUF_NONNULL mutable_strategy();
774 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_strategy();
775 void set_allocated_strategy(::std::string* PROTOBUF_NULLABLE value);
777 private:
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();
781
782 public:
783 // double duration_seconds = 2;
785 double duration_seconds() const;
786 void set_duration_seconds(double value);
787
788 private:
789 double _internal_duration_seconds() const;
790 void _internal_set_duration_seconds(double value);
791
792 public:
793 // @@protoc_insertion_point(class_scope:operations_research.LocalSearchStatistics.FirstSolutionStatistics)
794 private:
795 class _Internal;
796 friend class ::google::protobuf::internal::TcParser;
797 static const ::google::protobuf::internal::TcParseTable<1, 2,
798 0, 82,
799 2>
800 _table_;
801
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;
808 struct Impl_ {
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
822 };
823 union { Impl_ _impl_; };
824 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2fsearch_5fstats_2eproto;
825};
826
827OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull LocalSearchStatistics_FirstSolutionStatistics_class_data_;
828// -------------------------------------------------------------------
829
830class OR_PROTO_DLL ConstraintSolverStatistics final : public ::google::protobuf::Message
831/* @@protoc_insertion_point(class_definition:operations_research.ConstraintSolverStatistics) */ {
832 public:
834 ~ConstraintSolverStatistics() PROTOBUF_FINAL;
836#if defined(PROTOBUF_CUSTOM_VTABLE)
837 void operator delete(ConstraintSolverStatistics* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
838 SharedDtor(*msg);
839 ::google::protobuf::internal::SizedDelete(msg, sizeof(ConstraintSolverStatistics));
840 }
841#endif
842
843 template <typename = void>
844 explicit PROTOBUF_CONSTEXPR ConstraintSolverStatistics(::google::protobuf::internal::ConstantInitialized);
845
847 inline ConstraintSolverStatistics(ConstraintSolverStatistics&& from) noexcept
848 : ConstraintSolverStatistics(nullptr, ::std::move(from)) {}
850 CopyFrom(from);
851 return *this;
853 inline ConstraintSolverStatistics& operator=(ConstraintSolverStatistics&& from) noexcept {
854 if (this == &from) return *this;
855 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
856 InternalSwap(&from);
857 } else {
858 CopyFrom(from);
859 }
860 return *this;
861 }
862
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);
866 }
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>();
870 }
871
872 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
873 return GetDescriptor();
874 }
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;
881 static const ConstraintSolverStatistics& default_instance() {
882 return *reinterpret_cast<const ConstraintSolverStatistics*>(
884 }
885 static constexpr int kIndexInFileMessages = 4;
887 inline void Swap(ConstraintSolverStatistics* PROTOBUF_NONNULL other) {
888 if (other == this) return;
889 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
890 InternalSwap(other);
891 } else {
892 ::google::protobuf::internal::GenericSwap(this, other);
893 }
894 }
895 void UnsafeArenaSwap(ConstraintSolverStatistics* PROTOBUF_NONNULL other) {
896 if (other == this) return;
897 ABSL_DCHECK(GetArena() == other->GetArena());
898 InternalSwap(other);
899 }
901 // implements Message ----------------------------------------------
902
903 ConstraintSolverStatistics* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
904 return ::google::protobuf::Message::DefaultConstruct<ConstraintSolverStatistics>(arena);
905 }
906 using ::google::protobuf::Message::CopyFrom;
907 void CopyFrom(const ConstraintSolverStatistics& from);
908 using ::google::protobuf::Message::MergeFrom;
909 void MergeFrom(const ConstraintSolverStatistics& from) { ConstraintSolverStatistics::MergeImpl(*this, from); }
910
911 private:
912 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
913 const ::google::protobuf::MessageLite& from_msg);
915 public:
916 bool IsInitialized() const {
917 return true;
918 }
919 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
920 #if defined(PROTOBUF_CUSTOM_VTABLE)
921 private:
922 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
923 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
924 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
925 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
926
927 public:
928 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
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);
933 }
934 #else // PROTOBUF_CUSTOM_VTABLE
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;
939 #endif // PROTOBUF_CUSTOM_VTABLE
940 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
941
942 private:
943 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
944 static void SharedDtor(MessageLite& self);
945 void InternalSwap(ConstraintSolverStatistics* PROTOBUF_NONNULL other);
946 private:
947 template <typename T>
948 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
949 static ::absl::string_view FullMessageName() { return "operations_research.ConstraintSolverStatistics"; }
950
951 protected:
952 explicit ConstraintSolverStatistics(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
953 ConstraintSolverStatistics(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ConstraintSolverStatistics& from);
955 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ConstraintSolverStatistics&& from) noexcept
957 *this = ::std::move(from);
958 }
959 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
960 static void* PROTOBUF_NONNULL PlacementNew_(
961 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
962 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
963 static constexpr auto InternalNewImpl_();
964
965 public:
966 static constexpr auto InternalGenerateClassData_();
967
968 ::google::protobuf::Metadata GetMetadata() const;
969 // nested types ----------------------------------------------------
970
971 // accessors -------------------------------------------------------
972 enum : int {
978 };
979 // int64 num_branches = 1;
981 ::int64_t num_branches() const;
982 void set_num_branches(::int64_t value);
983
984 private:
985 ::int64_t _internal_num_branches() const;
986 void _internal_set_num_branches(::int64_t value);
987
988 public:
989 // int64 num_failures = 2;
990 void clear_num_failures() ;
991 ::int64_t num_failures() const;
992 void set_num_failures(::int64_t value);
993
994 private:
995 ::int64_t _internal_num_failures() const;
996 void _internal_set_num_failures(::int64_t value);
997
998 public:
999 // int64 num_solutions = 3;
1000 void clear_num_solutions() ;
1001 ::int64_t num_solutions() const;
1002 void set_num_solutions(::int64_t value);
1003
1004 private:
1005 ::int64_t _internal_num_solutions() const;
1006 void _internal_set_num_solutions(::int64_t value);
1007
1008 public:
1009 // int64 bytes_used = 4;
1010 void clear_bytes_used() ;
1011 ::int64_t bytes_used() const;
1012 void set_bytes_used(::int64_t value);
1013
1014 private:
1015 ::int64_t _internal_bytes_used() const;
1016 void _internal_set_bytes_used(::int64_t value);
1017
1018 public:
1019 // double duration_seconds = 5;
1020 void clear_duration_seconds() ;
1021 double duration_seconds() const;
1022 void set_duration_seconds(double value);
1023
1024 private:
1025 double _internal_duration_seconds() const;
1026 void _internal_set_duration_seconds(double value);
1027
1028 public:
1029 // @@protoc_insertion_point(class_scope:operations_research.ConstraintSolverStatistics)
1030 private:
1031 class _Internal;
1032 friend class ::google::protobuf::internal::TcParser;
1033 static const ::google::protobuf::internal::TcParseTable<3, 5,
1034 0, 0,
1035 2>
1036 _table_;
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;
1044 struct Impl_ {
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,
1052 const ConstraintSolverStatistics& from_msg);
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
1061 };
1062 union { Impl_ _impl_; };
1063 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2fsearch_5fstats_2eproto;
1064};
1065
1066OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull ConstraintSolverStatistics_class_data_;
1067// -------------------------------------------------------------------
1069class OR_PROTO_DLL LocalSearchStatistics final : public ::google::protobuf::Message
1070/* @@protoc_insertion_point(class_definition:operations_research.LocalSearchStatistics) */ {
1071 public:
1072 inline LocalSearchStatistics() : LocalSearchStatistics(nullptr) {}
1073 ~LocalSearchStatistics() PROTOBUF_FINAL;
1074
1075#if defined(PROTOBUF_CUSTOM_VTABLE)
1076 void operator delete(LocalSearchStatistics* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
1077 SharedDtor(*msg);
1078 ::google::protobuf::internal::SizedDelete(msg, sizeof(LocalSearchStatistics));
1079 }
1080#endif
1081
1082 template <typename = void>
1083 explicit PROTOBUF_CONSTEXPR LocalSearchStatistics(::google::protobuf::internal::ConstantInitialized);
1084
1085 inline LocalSearchStatistics(const LocalSearchStatistics& from) : LocalSearchStatistics(nullptr, from) {}
1086 inline LocalSearchStatistics(LocalSearchStatistics&& from) noexcept
1087 : LocalSearchStatistics(nullptr, ::std::move(from)) {}
1088 inline LocalSearchStatistics& operator=(const LocalSearchStatistics& from) {
1090 return *this;
1093 if (this == &from) return *this;
1094 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1095 InternalSwap(&from);
1096 } else {
1097 CopyFrom(from);
1099 return *this;
1100 }
1101
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);
1105 }
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>();
1109 }
1110
1111 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1113 }
1114 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1115 return default_instance().GetMetadata().descriptor;
1116 }
1117 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1118 return default_instance().GetMetadata().reflection;
1119 }
1121 return *reinterpret_cast<const LocalSearchStatistics*>(
1124 static constexpr int kIndexInFileMessages = 3;
1125 friend void swap(LocalSearchStatistics& a, LocalSearchStatistics& b) { a.Swap(&b); }
1126 inline void Swap(LocalSearchStatistics* PROTOBUF_NONNULL other) {
1127 if (other == this) return;
1128 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1129 InternalSwap(other);
1130 } else {
1131 ::google::protobuf::internal::GenericSwap(this, other);
1133 }
1134 void UnsafeArenaSwap(LocalSearchStatistics* PROTOBUF_NONNULL other) {
1135 if (other == this) return;
1136 ABSL_DCHECK(GetArena() == other->GetArena());
1137 InternalSwap(other);
1138 }
1139
1140 // implements Message ----------------------------------------------
1141
1142 LocalSearchStatistics* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
1143 return ::google::protobuf::Message::DefaultConstruct<LocalSearchStatistics>(arena);
1144 }
1145 using ::google::protobuf::Message::CopyFrom;
1146 void CopyFrom(const LocalSearchStatistics& from);
1147 using ::google::protobuf::Message::MergeFrom;
1148 void MergeFrom(const LocalSearchStatistics& from) { LocalSearchStatistics::MergeImpl(*this, from); }
1149
1150 private:
1151 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1152 const ::google::protobuf::MessageLite& from_msg);
1153
1154 public:
1155 bool IsInitialized() const {
1156 return true;
1157 }
1158 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
1159 #if defined(PROTOBUF_CUSTOM_VTABLE)
1160 private:
1161 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1162 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1163 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1164 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1165
1166 public:
1167 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
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);
1172 }
1173 #else // PROTOBUF_CUSTOM_VTABLE
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;
1178 #endif // PROTOBUF_CUSTOM_VTABLE
1179 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
1180
1181 private:
1182 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1183 static void SharedDtor(MessageLite& self);
1184 void InternalSwap(LocalSearchStatistics* PROTOBUF_NONNULL other);
1185 private:
1186 template <typename T>
1187 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
1188 static ::absl::string_view FullMessageName() { return "operations_research.LocalSearchStatistics"; }
1189
1190 protected:
1191 explicit LocalSearchStatistics(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1192 LocalSearchStatistics(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const LocalSearchStatistics& from);
1194 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, LocalSearchStatistics&& from) noexcept
1195 : LocalSearchStatistics(arena) {
1196 *this = ::std::move(from);
1197 }
1198 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1199 static void* PROTOBUF_NONNULL PlacementNew_(
1200 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1201 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1202 static constexpr auto InternalNewImpl_();
1203
1204 public:
1205 static constexpr auto InternalGenerateClassData_();
1206
1207 ::google::protobuf::Metadata GetMetadata() const;
1208 // nested types ----------------------------------------------------
1212
1213 // accessors -------------------------------------------------------
1214 enum : int {
1222 // repeated .operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics local_search_operator_statistics = 1;
1224 private:
1225 int _internal_local_search_operator_statistics_size() const;
1227 public:
1230 ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics>* PROTOBUF_NONNULL mutable_local_search_operator_statistics();
1231
1232 private:
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();
1235 public:
1236 const ::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics& local_search_operator_statistics(int index) const;
1238 const ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics>& local_search_operator_statistics() const;
1239 // repeated .operations_research.LocalSearchStatistics.LocalSearchFilterStatistics local_search_filter_statistics = 2;
1241 private:
1242 int _internal_local_search_filter_statistics_size() const;
1243
1244 public:
1247 ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics>* PROTOBUF_NONNULL mutable_local_search_filter_statistics();
1248
1249 private:
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();
1252 public:
1253 const ::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics& local_search_filter_statistics(int index) const;
1255 const ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics>& local_search_filter_statistics() const;
1256 // repeated .operations_research.LocalSearchStatistics.FirstSolutionStatistics first_solution_statistics = 6;
1258 private:
1259 int _internal_first_solution_statistics_size() const;
1260
1261 public:
1264 ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_FirstSolutionStatistics>* PROTOBUF_NONNULL mutable_first_solution_statistics();
1265
1266 private:
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();
1269 public:
1270 const ::operations_research::LocalSearchStatistics_FirstSolutionStatistics& first_solution_statistics(int index) const;
1272 const ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_FirstSolutionStatistics>& first_solution_statistics() const;
1273 // int64 total_num_neighbors = 3;
1275 ::int64_t total_num_neighbors() const;
1276 void set_total_num_neighbors(::int64_t value);
1277
1278 private:
1279 ::int64_t _internal_total_num_neighbors() const;
1280 void _internal_set_total_num_neighbors(::int64_t value);
1281
1282 public:
1283 // int64 total_num_filtered_neighbors = 4;
1285 ::int64_t total_num_filtered_neighbors() const;
1286 void set_total_num_filtered_neighbors(::int64_t value);
1287
1288 private:
1289 ::int64_t _internal_total_num_filtered_neighbors() const;
1290 void _internal_set_total_num_filtered_neighbors(::int64_t value);
1291
1292 public:
1293 // int64 total_num_accepted_neighbors = 5;
1295 ::int64_t total_num_accepted_neighbors() const;
1296 void set_total_num_accepted_neighbors(::int64_t value);
1297
1298 private:
1299 ::int64_t _internal_total_num_accepted_neighbors() const;
1300 void _internal_set_total_num_accepted_neighbors(::int64_t value);
1301
1302 public:
1303 // @@protoc_insertion_point(class_scope:operations_research.LocalSearchStatistics)
1304 private:
1305 class _Internal;
1306 friend class ::google::protobuf::internal::TcParser;
1307 static const ::google::protobuf::internal::TcParseTable<3, 6,
1308 3, 0,
1309 2>
1310 _table_;
1311
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;
1318 struct Impl_ {
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,
1326 const LocalSearchStatistics& from_msg);
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
1336 };
1337 union { Impl_ _impl_; };
1338 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2fsearch_5fstats_2eproto;
1339};
1340
1341OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull LocalSearchStatistics_class_data_;
1342// -------------------------------------------------------------------
1344class OR_PROTO_DLL SearchStatistics final : public ::google::protobuf::Message
1345/* @@protoc_insertion_point(class_definition:operations_research.SearchStatistics) */ {
1346 public:
1347 inline SearchStatistics() : SearchStatistics(nullptr) {}
1348 ~SearchStatistics() PROTOBUF_FINAL;
1349
1350#if defined(PROTOBUF_CUSTOM_VTABLE)
1351 void operator delete(SearchStatistics* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
1352 SharedDtor(*msg);
1353 ::google::protobuf::internal::SizedDelete(msg, sizeof(SearchStatistics));
1355#endif
1356
1357 template <typename = void>
1358 explicit PROTOBUF_CONSTEXPR SearchStatistics(::google::protobuf::internal::ConstantInitialized);
1359
1360 inline SearchStatistics(const SearchStatistics& from) : SearchStatistics(nullptr, from) {}
1361 inline SearchStatistics(SearchStatistics&& from) noexcept
1362 : SearchStatistics(nullptr, ::std::move(from)) {}
1363 inline SearchStatistics& operator=(const SearchStatistics& from) {
1364 CopyFrom(from);
1365 return *this;
1366 }
1368 if (this == &from) return *this;
1369 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1370 InternalSwap(&from);
1371 } else {
1372 CopyFrom(from);
1373 }
1374 return *this;
1375 }
1376
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);
1380 }
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>();
1385
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;
1391 }
1392 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1393 return default_instance().GetMetadata().reflection;
1394 }
1395 static const SearchStatistics& default_instance() {
1396 return *reinterpret_cast<const SearchStatistics*>(
1398 }
1399 static constexpr int kIndexInFileMessages = 5;
1400 friend void swap(SearchStatistics& a, SearchStatistics& b) { a.Swap(&b); }
1401 inline void Swap(SearchStatistics* PROTOBUF_NONNULL other) {
1402 if (other == this) return;
1403 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1404 InternalSwap(other);
1405 } else {
1406 ::google::protobuf::internal::GenericSwap(this, other);
1409 void UnsafeArenaSwap(SearchStatistics* PROTOBUF_NONNULL other) {
1410 if (other == this) return;
1411 ABSL_DCHECK(GetArena() == other->GetArena());
1412 InternalSwap(other);
1413 }
1414
1415 // implements Message ----------------------------------------------
1417 SearchStatistics* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
1418 return ::google::protobuf::Message::DefaultConstruct<SearchStatistics>(arena);
1419 }
1420 using ::google::protobuf::Message::CopyFrom;
1421 void CopyFrom(const SearchStatistics& from);
1422 using ::google::protobuf::Message::MergeFrom;
1423 void MergeFrom(const SearchStatistics& from) { SearchStatistics::MergeImpl(*this, from); }
1425 private:
1426 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1427 const ::google::protobuf::MessageLite& from_msg);
1428
1429 public:
1430 bool IsInitialized() const {
1431 return true;
1432 }
1433 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
1434 #if defined(PROTOBUF_CUSTOM_VTABLE)
1435 private:
1436 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1437 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1438 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1439 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1440
1441 public:
1442 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
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);
1447 }
1448 #else // PROTOBUF_CUSTOM_VTABLE
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;
1453 #endif // PROTOBUF_CUSTOM_VTABLE
1454 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
1455
1456 private:
1457 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1458 static void SharedDtor(MessageLite& self);
1459 void InternalSwap(SearchStatistics* PROTOBUF_NONNULL other);
1460 private:
1461 template <typename T>
1462 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
1463 static ::absl::string_view FullMessageName() { return "operations_research.SearchStatistics"; }
1464
1465 protected:
1466 explicit SearchStatistics(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1467 SearchStatistics(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SearchStatistics& from);
1469 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SearchStatistics&& from) noexcept
1470 : SearchStatistics(arena) {
1471 *this = ::std::move(from);
1472 }
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);
1477 static constexpr auto InternalNewImpl_();
1478
1479 public:
1480 static constexpr auto InternalGenerateClassData_();
1481
1482 ::google::protobuf::Metadata GetMetadata() const;
1483 // nested types ----------------------------------------------------
1484
1485 // accessors -------------------------------------------------------
1486 enum : int {
1489 };
1490 // repeated .operations_research.LocalSearchStatistics local_search_statistics = 1;
1491 int local_search_statistics_size() const;
1492 private:
1493 int _internal_local_search_statistics_size() const;
1495 public:
1498 ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics>* PROTOBUF_NONNULL mutable_local_search_statistics();
1499
1500 private:
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();
1503 public:
1504 const ::operations_research::LocalSearchStatistics& local_search_statistics(int index) const;
1506 const ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics>& local_search_statistics() const;
1507 // repeated .operations_research.ConstraintSolverStatistics constraint_solver_statistics = 2;
1509 private:
1510 int _internal_constraint_solver_statistics_size() const;
1511
1512 public:
1515 ::google::protobuf::RepeatedPtrField<::operations_research::ConstraintSolverStatistics>* PROTOBUF_NONNULL mutable_constraint_solver_statistics();
1516
1517 private:
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();
1520 public:
1521 const ::operations_research::ConstraintSolverStatistics& constraint_solver_statistics(int index) const;
1523 const ::google::protobuf::RepeatedPtrField<::operations_research::ConstraintSolverStatistics>& constraint_solver_statistics() const;
1524 // @@protoc_insertion_point(class_scope:operations_research.SearchStatistics)
1525 private:
1526 class _Internal;
1527 friend class ::google::protobuf::internal::TcParser;
1528 static const ::google::protobuf::internal::TcParseTable<1, 2,
1529 2, 0,
1530 2>
1531 _table_;
1532
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;
1539 struct Impl_ {
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,
1547 const SearchStatistics& from_msg);
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
1552 };
1553 union { Impl_ _impl_; };
1554 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2fsearch_5fstats_2eproto;
1555};
1556
1557OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull SearchStatistics_class_data_;
1558
1559// ===================================================================
1562
1563
1564// ===================================================================
1565
1566
1567#ifdef __GNUC__
1568#pragma GCC diagnostic push
1569#pragma GCC diagnostic ignored "-Wstrict-aliasing"
1570#endif // __GNUC__
1571// -------------------------------------------------------------------
1572
1573// LocalSearchStatistics_FirstSolutionStatistics
1574
1575// string strategy = 1;
1577 ::google::protobuf::internal::TSanWrite(&_impl_);
1578 _impl_.strategy_.ClearToEmpty();
1579 _impl_._has_bits_[0] &= ~0x00000001u;
1580}
1581inline const ::std::string& LocalSearchStatistics_FirstSolutionStatistics::strategy() const
1582 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1583 // @@protoc_insertion_point(field_get:operations_research.LocalSearchStatistics.FirstSolutionStatistics.strategy)
1584 return _internal_strategy();
1585}
1586template <typename Arg_, typename... Args_>
1587PROTOBUF_ALWAYS_INLINE void LocalSearchStatistics_FirstSolutionStatistics::set_strategy(Arg_&& arg, Args_... args) {
1588 ::google::protobuf::internal::TSanWrite(&_impl_);
1589 _impl_._has_bits_[0] |= 0x00000001u;
1590 _impl_.strategy_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
1591 // @@protoc_insertion_point(field_set:operations_research.LocalSearchStatistics.FirstSolutionStatistics.strategy)
1592}
1593inline ::std::string* PROTOBUF_NONNULL LocalSearchStatistics_FirstSolutionStatistics::mutable_strategy()
1594 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1595 ::std::string* _s = _internal_mutable_strategy();
1596 // @@protoc_insertion_point(field_mutable:operations_research.LocalSearchStatistics.FirstSolutionStatistics.strategy)
1597 return _s;
1598}
1599inline const ::std::string& LocalSearchStatistics_FirstSolutionStatistics::_internal_strategy() const {
1600 ::google::protobuf::internal::TSanRead(&_impl_);
1601 return _impl_.strategy_.Get();
1602}
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());
1607}
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());
1612}
1613inline ::std::string* PROTOBUF_NULLABLE LocalSearchStatistics_FirstSolutionStatistics::release_strategy() {
1614 ::google::protobuf::internal::TSanWrite(&_impl_);
1615 // @@protoc_insertion_point(field_release:operations_research.LocalSearchStatistics.FirstSolutionStatistics.strategy)
1616 if ((_impl_._has_bits_[0] & 0x00000001u) == 0) {
1617 return nullptr;
1618 }
1619 _impl_._has_bits_[0] &= ~0x00000001u;
1620 auto* released = _impl_.strategy_.Release();
1621 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
1622 _impl_.strategy_.Set("", GetArena());
1624 return released;
1625}
1626inline void LocalSearchStatistics_FirstSolutionStatistics::set_allocated_strategy(::std::string* PROTOBUF_NULLABLE value) {
1627 ::google::protobuf::internal::TSanWrite(&_impl_);
1628 if (value != nullptr) {
1629 _impl_._has_bits_[0] |= 0x00000001u;
1630 } else {
1631 _impl_._has_bits_[0] &= ~0x00000001u;
1632 }
1633 _impl_.strategy_.SetAllocated(value, GetArena());
1634 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.strategy_.IsDefault()) {
1635 _impl_.strategy_.Set("", GetArena());
1637 // @@protoc_insertion_point(field_set_allocated:operations_research.LocalSearchStatistics.FirstSolutionStatistics.strategy)
1638}
1639
1640// double duration_seconds = 2;
1642 ::google::protobuf::internal::TSanWrite(&_impl_);
1643 _impl_.duration_seconds_ = 0;
1644 _impl_._has_bits_[0] &= ~0x00000002u;
1645}
1647 // @@protoc_insertion_point(field_get:operations_research.LocalSearchStatistics.FirstSolutionStatistics.duration_seconds)
1648 return _internal_duration_seconds();
1649}
1651 _internal_set_duration_seconds(value);
1652 _impl_._has_bits_[0] |= 0x00000002u;
1653 // @@protoc_insertion_point(field_set:operations_research.LocalSearchStatistics.FirstSolutionStatistics.duration_seconds)
1654}
1655inline double LocalSearchStatistics_FirstSolutionStatistics::_internal_duration_seconds() const {
1656 ::google::protobuf::internal::TSanRead(&_impl_);
1657 return _impl_.duration_seconds_;
1658}
1659inline void LocalSearchStatistics_FirstSolutionStatistics::_internal_set_duration_seconds(double value) {
1660 ::google::protobuf::internal::TSanWrite(&_impl_);
1661 _impl_.duration_seconds_ = value;
1662}
1663
1664// -------------------------------------------------------------------
1665
1666// LocalSearchStatistics_LocalSearchOperatorStatistics
1667
1668// string local_search_operator = 1;
1670 ::google::protobuf::internal::TSanWrite(&_impl_);
1671 _impl_.local_search_operator_.ClearToEmpty();
1672 _impl_._has_bits_[0] &= ~0x00000001u;
1673}
1675 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1676 // @@protoc_insertion_point(field_get:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics.local_search_operator)
1677 return _internal_local_search_operator();
1678}
1679template <typename Arg_, typename... Args_>
1680PROTOBUF_ALWAYS_INLINE void LocalSearchStatistics_LocalSearchOperatorStatistics::set_local_search_operator(Arg_&& arg, Args_... 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());
1684 // @@protoc_insertion_point(field_set:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics.local_search_operator)
1687 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1688 ::std::string* _s = _internal_mutable_local_search_operator();
1689 // @@protoc_insertion_point(field_mutable:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics.local_search_operator)
1690 return _s;
1692inline const ::std::string& LocalSearchStatistics_LocalSearchOperatorStatistics::_internal_local_search_operator() const {
1693 ::google::protobuf::internal::TSanRead(&_impl_);
1694 return _impl_.local_search_operator_.Get();
1695}
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());
1700}
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());
1705}
1707 ::google::protobuf::internal::TSanWrite(&_impl_);
1708 // @@protoc_insertion_point(field_release:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics.local_search_operator)
1709 if ((_impl_._has_bits_[0] & 0x00000001u) == 0) {
1710 return nullptr;
1711 }
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());
1716 }
1717 return released;
1718}
1719inline void LocalSearchStatistics_LocalSearchOperatorStatistics::set_allocated_local_search_operator(::std::string* PROTOBUF_NULLABLE value) {
1720 ::google::protobuf::internal::TSanWrite(&_impl_);
1721 if (value != nullptr) {
1722 _impl_._has_bits_[0] |= 0x00000001u;
1723 } else {
1724 _impl_._has_bits_[0] &= ~0x00000001u;
1725 }
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());
1729 }
1730 // @@protoc_insertion_point(field_set_allocated:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics.local_search_operator)
1731}
1732
1733// int64 num_neighbors = 2;
1735 ::google::protobuf::internal::TSanWrite(&_impl_);
1736 _impl_.num_neighbors_ = ::int64_t{0};
1737 _impl_._has_bits_[0] &= ~0x00000002u;
1738}
1740 // @@protoc_insertion_point(field_get:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics.num_neighbors)
1741 return _internal_num_neighbors();
1742}
1744 _internal_set_num_neighbors(value);
1745 _impl_._has_bits_[0] |= 0x00000002u;
1746 // @@protoc_insertion_point(field_set:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics.num_neighbors)
1747}
1748inline ::int64_t LocalSearchStatistics_LocalSearchOperatorStatistics::_internal_num_neighbors() const {
1749 ::google::protobuf::internal::TSanRead(&_impl_);
1750 return _impl_.num_neighbors_;
1751}
1752inline void LocalSearchStatistics_LocalSearchOperatorStatistics::_internal_set_num_neighbors(::int64_t value) {
1753 ::google::protobuf::internal::TSanWrite(&_impl_);
1754 _impl_.num_neighbors_ = value;
1755}
1756
1757// int64 num_filtered_neighbors = 3;
1759 ::google::protobuf::internal::TSanWrite(&_impl_);
1760 _impl_.num_filtered_neighbors_ = ::int64_t{0};
1761 _impl_._has_bits_[0] &= ~0x00000004u;
1762}
1764 // @@protoc_insertion_point(field_get:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics.num_filtered_neighbors)
1765 return _internal_num_filtered_neighbors();
1766}
1768 _internal_set_num_filtered_neighbors(value);
1769 _impl_._has_bits_[0] |= 0x00000004u;
1770 // @@protoc_insertion_point(field_set:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics.num_filtered_neighbors)
1771}
1772inline ::int64_t LocalSearchStatistics_LocalSearchOperatorStatistics::_internal_num_filtered_neighbors() const {
1773 ::google::protobuf::internal::TSanRead(&_impl_);
1774 return _impl_.num_filtered_neighbors_;
1775}
1776inline void LocalSearchStatistics_LocalSearchOperatorStatistics::_internal_set_num_filtered_neighbors(::int64_t value) {
1777 ::google::protobuf::internal::TSanWrite(&_impl_);
1778 _impl_.num_filtered_neighbors_ = value;
1779}
1780
1781// int64 num_accepted_neighbors = 4;
1783 ::google::protobuf::internal::TSanWrite(&_impl_);
1784 _impl_.num_accepted_neighbors_ = ::int64_t{0};
1785 _impl_._has_bits_[0] &= ~0x00000008u;
1786}
1788 // @@protoc_insertion_point(field_get:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics.num_accepted_neighbors)
1789 return _internal_num_accepted_neighbors();
1790}
1792 _internal_set_num_accepted_neighbors(value);
1793 _impl_._has_bits_[0] |= 0x00000008u;
1794 // @@protoc_insertion_point(field_set:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics.num_accepted_neighbors)
1795}
1796inline ::int64_t LocalSearchStatistics_LocalSearchOperatorStatistics::_internal_num_accepted_neighbors() const {
1797 ::google::protobuf::internal::TSanRead(&_impl_);
1798 return _impl_.num_accepted_neighbors_;
1799}
1800inline void LocalSearchStatistics_LocalSearchOperatorStatistics::_internal_set_num_accepted_neighbors(::int64_t value) {
1801 ::google::protobuf::internal::TSanWrite(&_impl_);
1802 _impl_.num_accepted_neighbors_ = value;
1803}
1804
1805// double duration_seconds = 5;
1807 ::google::protobuf::internal::TSanWrite(&_impl_);
1808 _impl_.duration_seconds_ = 0;
1809 _impl_._has_bits_[0] &= ~0x00000010u;
1810}
1812 // @@protoc_insertion_point(field_get:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics.duration_seconds)
1813 return _internal_duration_seconds();
1814}
1816 _internal_set_duration_seconds(value);
1817 _impl_._has_bits_[0] |= 0x00000010u;
1818 // @@protoc_insertion_point(field_set:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics.duration_seconds)
1819}
1820inline double LocalSearchStatistics_LocalSearchOperatorStatistics::_internal_duration_seconds() const {
1821 ::google::protobuf::internal::TSanRead(&_impl_);
1822 return _impl_.duration_seconds_;
1823}
1824inline void LocalSearchStatistics_LocalSearchOperatorStatistics::_internal_set_duration_seconds(double value) {
1825 ::google::protobuf::internal::TSanWrite(&_impl_);
1826 _impl_.duration_seconds_ = value;
1827}
1828
1829// double make_next_neighbor_duration_seconds = 6;
1831 ::google::protobuf::internal::TSanWrite(&_impl_);
1832 _impl_.make_next_neighbor_duration_seconds_ = 0;
1833 _impl_._has_bits_[0] &= ~0x00000020u;
1834}
1836 // @@protoc_insertion_point(field_get:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics.make_next_neighbor_duration_seconds)
1837 return _internal_make_next_neighbor_duration_seconds();
1838}
1840 _internal_set_make_next_neighbor_duration_seconds(value);
1841 _impl_._has_bits_[0] |= 0x00000020u;
1842 // @@protoc_insertion_point(field_set:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics.make_next_neighbor_duration_seconds)
1843}
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_;
1847}
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;
1851}
1852
1853// double accept_neighbor_duration_seconds = 7;
1855 ::google::protobuf::internal::TSanWrite(&_impl_);
1856 _impl_.accept_neighbor_duration_seconds_ = 0;
1857 _impl_._has_bits_[0] &= ~0x00000040u;
1858}
1860 // @@protoc_insertion_point(field_get:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics.accept_neighbor_duration_seconds)
1861 return _internal_accept_neighbor_duration_seconds();
1862}
1864 _internal_set_accept_neighbor_duration_seconds(value);
1865 _impl_._has_bits_[0] |= 0x00000040u;
1866 // @@protoc_insertion_point(field_set:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics.accept_neighbor_duration_seconds)
1867}
1868inline double LocalSearchStatistics_LocalSearchOperatorStatistics::_internal_accept_neighbor_duration_seconds() const {
1869 ::google::protobuf::internal::TSanRead(&_impl_);
1870 return _impl_.accept_neighbor_duration_seconds_;
1871}
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;
1875}
1876
1877// -------------------------------------------------------------------
1878
1879// LocalSearchStatistics_LocalSearchFilterStatistics
1880
1881// string local_search_filter = 1;
1883 ::google::protobuf::internal::TSanWrite(&_impl_);
1884 _impl_.local_search_filter_.ClearToEmpty();
1885 _impl_._has_bits_[0] &= ~0x00000001u;
1886}
1888 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1889 // @@protoc_insertion_point(field_get:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics.local_search_filter)
1890 return _internal_local_search_filter();
1891}
1892template <typename Arg_, typename... Args_>
1893PROTOBUF_ALWAYS_INLINE void LocalSearchStatistics_LocalSearchFilterStatistics::set_local_search_filter(Arg_&& arg, Args_... 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());
1897 // @@protoc_insertion_point(field_set:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics.local_search_filter)
1898}
1900 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1901 ::std::string* _s = _internal_mutable_local_search_filter();
1902 // @@protoc_insertion_point(field_mutable:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics.local_search_filter)
1903 return _s;
1904}
1905inline const ::std::string& LocalSearchStatistics_LocalSearchFilterStatistics::_internal_local_search_filter() const {
1906 ::google::protobuf::internal::TSanRead(&_impl_);
1907 return _impl_.local_search_filter_.Get();
1908}
1909inline void LocalSearchStatistics_LocalSearchFilterStatistics::_internal_set_local_search_filter(const ::std::string& value) {
1910 ::google::protobuf::internal::TSanWrite(&_impl_);
1911 _impl_._has_bits_[0] |= 0x00000001u;
1912 _impl_.local_search_filter_.Set(value, GetArena());
1913}
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());
1918}
1920 ::google::protobuf::internal::TSanWrite(&_impl_);
1921 // @@protoc_insertion_point(field_release:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics.local_search_filter)
1922 if ((_impl_._has_bits_[0] & 0x00000001u) == 0) {
1923 return nullptr;
1924 }
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());
1929 }
1930 return released;
1932inline void LocalSearchStatistics_LocalSearchFilterStatistics::set_allocated_local_search_filter(::std::string* PROTOBUF_NULLABLE value) {
1933 ::google::protobuf::internal::TSanWrite(&_impl_);
1934 if (value != nullptr) {
1935 _impl_._has_bits_[0] |= 0x00000001u;
1936 } else {
1937 _impl_._has_bits_[0] &= ~0x00000001u;
1938 }
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());
1942 }
1943 // @@protoc_insertion_point(field_set_allocated:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics.local_search_filter)
1945
1946// int64 num_calls = 2;
1948 ::google::protobuf::internal::TSanWrite(&_impl_);
1949 _impl_.num_calls_ = ::int64_t{0};
1950 _impl_._has_bits_[0] &= ~0x00000004u;
1951}
1953 // @@protoc_insertion_point(field_get:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics.num_calls)
1954 return _internal_num_calls();
1955}
1957 _internal_set_num_calls(value);
1958 _impl_._has_bits_[0] |= 0x00000004u;
1959 // @@protoc_insertion_point(field_set:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics.num_calls)
1960}
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;
1969
1970// int64 num_rejects = 3;
1972 ::google::protobuf::internal::TSanWrite(&_impl_);
1973 _impl_.num_rejects_ = ::int64_t{0};
1974 _impl_._has_bits_[0] &= ~0x00000008u;
1975}
1977 // @@protoc_insertion_point(field_get:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics.num_rejects)
1978 return _internal_num_rejects();
1979}
1981 _internal_set_num_rejects(value);
1982 _impl_._has_bits_[0] |= 0x00000008u;
1983 // @@protoc_insertion_point(field_set:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics.num_rejects)
1984}
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;
1993
1994// double duration_seconds = 4;
1996 ::google::protobuf::internal::TSanWrite(&_impl_);
1997 _impl_.duration_seconds_ = 0;
1998 _impl_._has_bits_[0] &= ~0x00000010u;
1999}
2001 // @@protoc_insertion_point(field_get:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics.duration_seconds)
2002 return _internal_duration_seconds();
2003}
2005 _internal_set_duration_seconds(value);
2006 _impl_._has_bits_[0] |= 0x00000010u;
2007 // @@protoc_insertion_point(field_set:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics.duration_seconds)
2008}
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;
2017
2018// double num_rejects_per_second = 5;
2020 ::google::protobuf::internal::TSanWrite(&_impl_);
2021 _impl_.num_rejects_per_second_ = 0;
2022 _impl_._has_bits_[0] &= ~0x00000020u;
2023}
2025 // @@protoc_insertion_point(field_get:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics.num_rejects_per_second)
2026 return _internal_num_rejects_per_second();
2027}
2029 _internal_set_num_rejects_per_second(value);
2030 _impl_._has_bits_[0] |= 0x00000020u;
2031 // @@protoc_insertion_point(field_set:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics.num_rejects_per_second)
2032}
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;
2041
2042// string context = 6;
2044 ::google::protobuf::internal::TSanWrite(&_impl_);
2045 _impl_.context_.ClearToEmpty();
2046 _impl_._has_bits_[0] &= ~0x00000002u;
2047}
2048inline const ::std::string& LocalSearchStatistics_LocalSearchFilterStatistics::context() const
2049 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2050 // @@protoc_insertion_point(field_get:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics.context)
2051 return _internal_context();
2052}
2053template <typename Arg_, typename... Args_>
2054PROTOBUF_ALWAYS_INLINE void LocalSearchStatistics_LocalSearchFilterStatistics::set_context(Arg_&& arg, Args_... args) {
2055 ::google::protobuf::internal::TSanWrite(&_impl_);
2056 _impl_._has_bits_[0] |= 0x00000002u;
2057 _impl_.context_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
2058 // @@protoc_insertion_point(field_set:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics.context)
2059}
2061 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2062 ::std::string* _s = _internal_mutable_context();
2063 // @@protoc_insertion_point(field_mutable:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics.context)
2064 return _s;
2065}
2066inline const ::std::string& LocalSearchStatistics_LocalSearchFilterStatistics::_internal_context() const {
2067 ::google::protobuf::internal::TSanRead(&_impl_);
2068 return _impl_.context_.Get();
2069}
2070inline void LocalSearchStatistics_LocalSearchFilterStatistics::_internal_set_context(const ::std::string& value) {
2071 ::google::protobuf::internal::TSanWrite(&_impl_);
2072 _impl_._has_bits_[0] |= 0x00000002u;
2073 _impl_.context_.Set(value, GetArena());
2074}
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());
2079}
2080inline ::std::string* PROTOBUF_NULLABLE LocalSearchStatistics_LocalSearchFilterStatistics::release_context() {
2081 ::google::protobuf::internal::TSanWrite(&_impl_);
2082 // @@protoc_insertion_point(field_release:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics.context)
2083 if ((_impl_._has_bits_[0] & 0x00000002u) == 0) {
2084 return nullptr;
2085 }
2086 _impl_._has_bits_[0] &= ~0x00000002u;
2087 auto* released = _impl_.context_.Release();
2088 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
2089 _impl_.context_.Set("", GetArena());
2090 }
2091 return released;
2093inline void LocalSearchStatistics_LocalSearchFilterStatistics::set_allocated_context(::std::string* PROTOBUF_NULLABLE value) {
2094 ::google::protobuf::internal::TSanWrite(&_impl_);
2095 if (value != nullptr) {
2096 _impl_._has_bits_[0] |= 0x00000002u;
2097 } else {
2098 _impl_._has_bits_[0] &= ~0x00000002u;
2099 }
2100 _impl_.context_.SetAllocated(value, GetArena());
2101 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.context_.IsDefault()) {
2102 _impl_.context_.Set("", GetArena());
2103 }
2104 // @@protoc_insertion_point(field_set_allocated:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics.context)
2106
2107// -------------------------------------------------------------------
2108
2109// LocalSearchStatistics
2110
2111// repeated .operations_research.LocalSearchStatistics.FirstSolutionStatistics first_solution_statistics = 6;
2112inline int LocalSearchStatistics::_internal_first_solution_statistics_size() const {
2113 return _internal_first_solution_statistics().size();
2114}
2116 return _internal_first_solution_statistics_size();
2117}
2119 ::google::protobuf::internal::TSanWrite(&_impl_);
2120 _impl_.first_solution_statistics_.Clear();
2121}
2122inline ::operations_research::LocalSearchStatistics_FirstSolutionStatistics* PROTOBUF_NONNULL LocalSearchStatistics::mutable_first_solution_statistics(int index)
2123 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2124 // @@protoc_insertion_point(field_mutable:operations_research.LocalSearchStatistics.first_solution_statistics)
2125 return _internal_mutable_first_solution_statistics()->Mutable(index);
2126}
2127inline ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_FirstSolutionStatistics>* PROTOBUF_NONNULL LocalSearchStatistics::mutable_first_solution_statistics()
2128 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2129 // @@protoc_insertion_point(field_mutable_list:operations_research.LocalSearchStatistics.first_solution_statistics)
2130 ::google::protobuf::internal::TSanWrite(&_impl_);
2131 return _internal_mutable_first_solution_statistics();
2132}
2133inline const ::operations_research::LocalSearchStatistics_FirstSolutionStatistics& LocalSearchStatistics::first_solution_statistics(int index) const
2134 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2135 // @@protoc_insertion_point(field_get:operations_research.LocalSearchStatistics.first_solution_statistics)
2136 return _internal_first_solution_statistics().Get(index);
2137}
2138inline ::operations_research::LocalSearchStatistics_FirstSolutionStatistics* PROTOBUF_NONNULL LocalSearchStatistics::add_first_solution_statistics()
2139 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2140 ::google::protobuf::internal::TSanWrite(&_impl_);
2141 ::operations_research::LocalSearchStatistics_FirstSolutionStatistics* _add = _internal_mutable_first_solution_statistics()->Add();
2142 // @@protoc_insertion_point(field_add:operations_research.LocalSearchStatistics.first_solution_statistics)
2143 return _add;
2144}
2145inline const ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_FirstSolutionStatistics>& LocalSearchStatistics::first_solution_statistics() const
2146 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2147 // @@protoc_insertion_point(field_list:operations_research.LocalSearchStatistics.first_solution_statistics)
2148 return _internal_first_solution_statistics();
2149}
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_;
2154}
2155inline ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_FirstSolutionStatistics>* PROTOBUF_NONNULL
2156LocalSearchStatistics::_internal_mutable_first_solution_statistics() {
2157 ::google::protobuf::internal::TSanRead(&_impl_);
2158 return &_impl_.first_solution_statistics_;
2159}
2160
2161// repeated .operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics local_search_operator_statistics = 1;
2162inline int LocalSearchStatistics::_internal_local_search_operator_statistics_size() const {
2163 return _internal_local_search_operator_statistics().size();
2164}
2166 return _internal_local_search_operator_statistics_size();
2167}
2169 ::google::protobuf::internal::TSanWrite(&_impl_);
2170 _impl_.local_search_operator_statistics_.Clear();
2171}
2172inline ::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics* PROTOBUF_NONNULL LocalSearchStatistics::mutable_local_search_operator_statistics(int index)
2173 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2174 // @@protoc_insertion_point(field_mutable:operations_research.LocalSearchStatistics.local_search_operator_statistics)
2175 return _internal_mutable_local_search_operator_statistics()->Mutable(index);
2176}
2177inline ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics>* PROTOBUF_NONNULL LocalSearchStatistics::mutable_local_search_operator_statistics()
2178 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2179 // @@protoc_insertion_point(field_mutable_list:operations_research.LocalSearchStatistics.local_search_operator_statistics)
2180 ::google::protobuf::internal::TSanWrite(&_impl_);
2181 return _internal_mutable_local_search_operator_statistics();
2182}
2183inline const ::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics& LocalSearchStatistics::local_search_operator_statistics(int index) const
2184 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2185 // @@protoc_insertion_point(field_get:operations_research.LocalSearchStatistics.local_search_operator_statistics)
2186 return _internal_local_search_operator_statistics().Get(index);
2187}
2188inline ::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics* PROTOBUF_NONNULL LocalSearchStatistics::add_local_search_operator_statistics()
2189 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2190 ::google::protobuf::internal::TSanWrite(&_impl_);
2191 ::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics* _add = _internal_mutable_local_search_operator_statistics()->Add();
2192 // @@protoc_insertion_point(field_add:operations_research.LocalSearchStatistics.local_search_operator_statistics)
2193 return _add;
2194}
2195inline const ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics>& LocalSearchStatistics::local_search_operator_statistics() const
2196 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2197 // @@protoc_insertion_point(field_list:operations_research.LocalSearchStatistics.local_search_operator_statistics)
2198 return _internal_local_search_operator_statistics();
2199}
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_;
2204}
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_;
2209}
2210
2211// int64 total_num_neighbors = 3;
2213 ::google::protobuf::internal::TSanWrite(&_impl_);
2214 _impl_.total_num_neighbors_ = ::int64_t{0};
2215 _impl_._has_bits_[0] &= ~0x00000001u;
2216}
2217inline ::int64_t LocalSearchStatistics::total_num_neighbors() const {
2218 // @@protoc_insertion_point(field_get:operations_research.LocalSearchStatistics.total_num_neighbors)
2219 return _internal_total_num_neighbors();
2220}
2221inline void LocalSearchStatistics::set_total_num_neighbors(::int64_t value) {
2222 _internal_set_total_num_neighbors(value);
2223 _impl_._has_bits_[0] |= 0x00000001u;
2224 // @@protoc_insertion_point(field_set:operations_research.LocalSearchStatistics.total_num_neighbors)
2226inline ::int64_t LocalSearchStatistics::_internal_total_num_neighbors() const {
2227 ::google::protobuf::internal::TSanRead(&_impl_);
2228 return _impl_.total_num_neighbors_;
2229}
2230inline void LocalSearchStatistics::_internal_set_total_num_neighbors(::int64_t value) {
2231 ::google::protobuf::internal::TSanWrite(&_impl_);
2232 _impl_.total_num_neighbors_ = value;
2233}
2235// int64 total_num_filtered_neighbors = 4;
2237 ::google::protobuf::internal::TSanWrite(&_impl_);
2238 _impl_.total_num_filtered_neighbors_ = ::int64_t{0};
2239 _impl_._has_bits_[0] &= ~0x00000002u;
2240}
2242 // @@protoc_insertion_point(field_get:operations_research.LocalSearchStatistics.total_num_filtered_neighbors)
2243 return _internal_total_num_filtered_neighbors();
2244}
2246 _internal_set_total_num_filtered_neighbors(value);
2247 _impl_._has_bits_[0] |= 0x00000002u;
2248 // @@protoc_insertion_point(field_set:operations_research.LocalSearchStatistics.total_num_filtered_neighbors)
2250inline ::int64_t LocalSearchStatistics::_internal_total_num_filtered_neighbors() const {
2251 ::google::protobuf::internal::TSanRead(&_impl_);
2252 return _impl_.total_num_filtered_neighbors_;
2253}
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;
2257}
2259// int64 total_num_accepted_neighbors = 5;
2261 ::google::protobuf::internal::TSanWrite(&_impl_);
2262 _impl_.total_num_accepted_neighbors_ = ::int64_t{0};
2263 _impl_._has_bits_[0] &= ~0x00000004u;
2264}
2266 // @@protoc_insertion_point(field_get:operations_research.LocalSearchStatistics.total_num_accepted_neighbors)
2267 return _internal_total_num_accepted_neighbors();
2268}
2270 _internal_set_total_num_accepted_neighbors(value);
2271 _impl_._has_bits_[0] |= 0x00000004u;
2272 // @@protoc_insertion_point(field_set:operations_research.LocalSearchStatistics.total_num_accepted_neighbors)
2274inline ::int64_t LocalSearchStatistics::_internal_total_num_accepted_neighbors() const {
2275 ::google::protobuf::internal::TSanRead(&_impl_);
2276 return _impl_.total_num_accepted_neighbors_;
2277}
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;
2281}
2283// repeated .operations_research.LocalSearchStatistics.LocalSearchFilterStatistics local_search_filter_statistics = 2;
2284inline int LocalSearchStatistics::_internal_local_search_filter_statistics_size() const {
2285 return _internal_local_search_filter_statistics().size();
2286}
2288 return _internal_local_search_filter_statistics_size();
2289}
2291 ::google::protobuf::internal::TSanWrite(&_impl_);
2292 _impl_.local_search_filter_statistics_.Clear();
2293}
2294inline ::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics* PROTOBUF_NONNULL LocalSearchStatistics::mutable_local_search_filter_statistics(int index)
2295 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2296 // @@protoc_insertion_point(field_mutable:operations_research.LocalSearchStatistics.local_search_filter_statistics)
2297 return _internal_mutable_local_search_filter_statistics()->Mutable(index);
2298}
2299inline ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics>* PROTOBUF_NONNULL LocalSearchStatistics::mutable_local_search_filter_statistics()
2300 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2301 // @@protoc_insertion_point(field_mutable_list:operations_research.LocalSearchStatistics.local_search_filter_statistics)
2302 ::google::protobuf::internal::TSanWrite(&_impl_);
2303 return _internal_mutable_local_search_filter_statistics();
2304}
2305inline const ::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics& LocalSearchStatistics::local_search_filter_statistics(int index) const
2306 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2307 // @@protoc_insertion_point(field_get:operations_research.LocalSearchStatistics.local_search_filter_statistics)
2308 return _internal_local_search_filter_statistics().Get(index);
2309}
2310inline ::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics* PROTOBUF_NONNULL LocalSearchStatistics::add_local_search_filter_statistics()
2311 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2312 ::google::protobuf::internal::TSanWrite(&_impl_);
2313 ::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics* _add = _internal_mutable_local_search_filter_statistics()->Add();
2314 // @@protoc_insertion_point(field_add:operations_research.LocalSearchStatistics.local_search_filter_statistics)
2315 return _add;
2316}
2317inline const ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics>& LocalSearchStatistics::local_search_filter_statistics() const
2318 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2319 // @@protoc_insertion_point(field_list:operations_research.LocalSearchStatistics.local_search_filter_statistics)
2320 return _internal_local_search_filter_statistics();
2321}
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_;
2326}
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_;
2331}
2332
2333// -------------------------------------------------------------------
2334
2335// ConstraintSolverStatistics
2336
2337// int64 num_branches = 1;
2339 ::google::protobuf::internal::TSanWrite(&_impl_);
2340 _impl_.num_branches_ = ::int64_t{0};
2341 _impl_._has_bits_[0] &= ~0x00000001u;
2342}
2343inline ::int64_t ConstraintSolverStatistics::num_branches() const {
2344 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverStatistics.num_branches)
2345 return _internal_num_branches();
2346}
2347inline void ConstraintSolverStatistics::set_num_branches(::int64_t value) {
2348 _internal_set_num_branches(value);
2349 _impl_._has_bits_[0] |= 0x00000001u;
2350 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverStatistics.num_branches)
2351}
2352inline ::int64_t ConstraintSolverStatistics::_internal_num_branches() const {
2353 ::google::protobuf::internal::TSanRead(&_impl_);
2354 return _impl_.num_branches_;
2355}
2356inline void ConstraintSolverStatistics::_internal_set_num_branches(::int64_t value) {
2357 ::google::protobuf::internal::TSanWrite(&_impl_);
2358 _impl_.num_branches_ = value;
2359}
2360
2361// int64 num_failures = 2;
2363 ::google::protobuf::internal::TSanWrite(&_impl_);
2364 _impl_.num_failures_ = ::int64_t{0};
2365 _impl_._has_bits_[0] &= ~0x00000002u;
2366}
2367inline ::int64_t ConstraintSolverStatistics::num_failures() const {
2368 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverStatistics.num_failures)
2369 return _internal_num_failures();
2370}
2371inline void ConstraintSolverStatistics::set_num_failures(::int64_t value) {
2372 _internal_set_num_failures(value);
2373 _impl_._has_bits_[0] |= 0x00000002u;
2374 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverStatistics.num_failures)
2375}
2376inline ::int64_t ConstraintSolverStatistics::_internal_num_failures() const {
2377 ::google::protobuf::internal::TSanRead(&_impl_);
2378 return _impl_.num_failures_;
2379}
2380inline void ConstraintSolverStatistics::_internal_set_num_failures(::int64_t value) {
2381 ::google::protobuf::internal::TSanWrite(&_impl_);
2382 _impl_.num_failures_ = value;
2383}
2384
2385// int64 num_solutions = 3;
2387 ::google::protobuf::internal::TSanWrite(&_impl_);
2388 _impl_.num_solutions_ = ::int64_t{0};
2389 _impl_._has_bits_[0] &= ~0x00000004u;
2390}
2391inline ::int64_t ConstraintSolverStatistics::num_solutions() const {
2392 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverStatistics.num_solutions)
2393 return _internal_num_solutions();
2394}
2395inline void ConstraintSolverStatistics::set_num_solutions(::int64_t value) {
2396 _internal_set_num_solutions(value);
2397 _impl_._has_bits_[0] |= 0x00000004u;
2398 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverStatistics.num_solutions)
2399}
2400inline ::int64_t ConstraintSolverStatistics::_internal_num_solutions() const {
2401 ::google::protobuf::internal::TSanRead(&_impl_);
2402 return _impl_.num_solutions_;
2403}
2404inline void ConstraintSolverStatistics::_internal_set_num_solutions(::int64_t value) {
2405 ::google::protobuf::internal::TSanWrite(&_impl_);
2406 _impl_.num_solutions_ = value;
2407}
2408
2409// int64 bytes_used = 4;
2411 ::google::protobuf::internal::TSanWrite(&_impl_);
2412 _impl_.bytes_used_ = ::int64_t{0};
2413 _impl_._has_bits_[0] &= ~0x00000008u;
2414}
2415inline ::int64_t ConstraintSolverStatistics::bytes_used() const {
2416 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverStatistics.bytes_used)
2417 return _internal_bytes_used();
2418}
2419inline void ConstraintSolverStatistics::set_bytes_used(::int64_t value) {
2420 _internal_set_bytes_used(value);
2421 _impl_._has_bits_[0] |= 0x00000008u;
2422 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverStatistics.bytes_used)
2423}
2424inline ::int64_t ConstraintSolverStatistics::_internal_bytes_used() const {
2425 ::google::protobuf::internal::TSanRead(&_impl_);
2426 return _impl_.bytes_used_;
2427}
2428inline void ConstraintSolverStatistics::_internal_set_bytes_used(::int64_t value) {
2429 ::google::protobuf::internal::TSanWrite(&_impl_);
2430 _impl_.bytes_used_ = value;
2431}
2432
2433// double duration_seconds = 5;
2435 ::google::protobuf::internal::TSanWrite(&_impl_);
2436 _impl_.duration_seconds_ = 0;
2437 _impl_._has_bits_[0] &= ~0x00000010u;
2438}
2440 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverStatistics.duration_seconds)
2441 return _internal_duration_seconds();
2442}
2443inline void ConstraintSolverStatistics::set_duration_seconds(double value) {
2444 _internal_set_duration_seconds(value);
2445 _impl_._has_bits_[0] |= 0x00000010u;
2446 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverStatistics.duration_seconds)
2447}
2448inline double ConstraintSolverStatistics::_internal_duration_seconds() const {
2449 ::google::protobuf::internal::TSanRead(&_impl_);
2450 return _impl_.duration_seconds_;
2451}
2452inline void ConstraintSolverStatistics::_internal_set_duration_seconds(double value) {
2453 ::google::protobuf::internal::TSanWrite(&_impl_);
2454 _impl_.duration_seconds_ = value;
2455}
2456
2457// -------------------------------------------------------------------
2458
2459// SearchStatistics
2460
2461// repeated .operations_research.LocalSearchStatistics local_search_statistics = 1;
2462inline int SearchStatistics::_internal_local_search_statistics_size() const {
2463 return _internal_local_search_statistics().size();
2464}
2466 return _internal_local_search_statistics_size();
2467}
2469 ::google::protobuf::internal::TSanWrite(&_impl_);
2470 _impl_.local_search_statistics_.Clear();
2471}
2472inline ::operations_research::LocalSearchStatistics* PROTOBUF_NONNULL SearchStatistics::mutable_local_search_statistics(int index)
2473 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2474 // @@protoc_insertion_point(field_mutable:operations_research.SearchStatistics.local_search_statistics)
2475 return _internal_mutable_local_search_statistics()->Mutable(index);
2476}
2477inline ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics>* PROTOBUF_NONNULL SearchStatistics::mutable_local_search_statistics()
2478 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2479 // @@protoc_insertion_point(field_mutable_list:operations_research.SearchStatistics.local_search_statistics)
2480 ::google::protobuf::internal::TSanWrite(&_impl_);
2481 return _internal_mutable_local_search_statistics();
2482}
2483inline const ::operations_research::LocalSearchStatistics& SearchStatistics::local_search_statistics(int index) const
2484 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2485 // @@protoc_insertion_point(field_get:operations_research.SearchStatistics.local_search_statistics)
2486 return _internal_local_search_statistics().Get(index);
2488inline ::operations_research::LocalSearchStatistics* PROTOBUF_NONNULL SearchStatistics::add_local_search_statistics()
2489 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2490 ::google::protobuf::internal::TSanWrite(&_impl_);
2491 ::operations_research::LocalSearchStatistics* _add = _internal_mutable_local_search_statistics()->Add();
2492 // @@protoc_insertion_point(field_add:operations_research.SearchStatistics.local_search_statistics)
2493 return _add;
2494}
2495inline const ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics>& SearchStatistics::local_search_statistics() const
2496 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2497 // @@protoc_insertion_point(field_list:operations_research.SearchStatistics.local_search_statistics)
2498 return _internal_local_search_statistics();
2499}
2500inline const ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics>&
2501SearchStatistics::_internal_local_search_statistics() const {
2502 ::google::protobuf::internal::TSanRead(&_impl_);
2503 return _impl_.local_search_statistics_;
2504}
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_;
2509}
2511// repeated .operations_research.ConstraintSolverStatistics constraint_solver_statistics = 2;
2512inline int SearchStatistics::_internal_constraint_solver_statistics_size() const {
2513 return _internal_constraint_solver_statistics().size();
2514}
2516 return _internal_constraint_solver_statistics_size();
2517}
2519 ::google::protobuf::internal::TSanWrite(&_impl_);
2520 _impl_.constraint_solver_statistics_.Clear();
2521}
2522inline ::operations_research::ConstraintSolverStatistics* PROTOBUF_NONNULL SearchStatistics::mutable_constraint_solver_statistics(int index)
2523 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2524 // @@protoc_insertion_point(field_mutable:operations_research.SearchStatistics.constraint_solver_statistics)
2525 return _internal_mutable_constraint_solver_statistics()->Mutable(index);
2526}
2527inline ::google::protobuf::RepeatedPtrField<::operations_research::ConstraintSolverStatistics>* PROTOBUF_NONNULL SearchStatistics::mutable_constraint_solver_statistics()
2528 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2529 // @@protoc_insertion_point(field_mutable_list:operations_research.SearchStatistics.constraint_solver_statistics)
2530 ::google::protobuf::internal::TSanWrite(&_impl_);
2531 return _internal_mutable_constraint_solver_statistics();
2532}
2533inline const ::operations_research::ConstraintSolverStatistics& SearchStatistics::constraint_solver_statistics(int index) const
2534 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2535 // @@protoc_insertion_point(field_get:operations_research.SearchStatistics.constraint_solver_statistics)
2536 return _internal_constraint_solver_statistics().Get(index);
2538inline ::operations_research::ConstraintSolverStatistics* PROTOBUF_NONNULL SearchStatistics::add_constraint_solver_statistics()
2539 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2540 ::google::protobuf::internal::TSanWrite(&_impl_);
2541 ::operations_research::ConstraintSolverStatistics* _add = _internal_mutable_constraint_solver_statistics()->Add();
2542 // @@protoc_insertion_point(field_add:operations_research.SearchStatistics.constraint_solver_statistics)
2543 return _add;
2544}
2545inline const ::google::protobuf::RepeatedPtrField<::operations_research::ConstraintSolverStatistics>& SearchStatistics::constraint_solver_statistics() const
2546 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2547 // @@protoc_insertion_point(field_list:operations_research.SearchStatistics.constraint_solver_statistics)
2548 return _internal_constraint_solver_statistics();
2549}
2550inline const ::google::protobuf::RepeatedPtrField<::operations_research::ConstraintSolverStatistics>&
2551SearchStatistics::_internal_constraint_solver_statistics() const {
2552 ::google::protobuf::internal::TSanRead(&_impl_);
2553 return _impl_.constraint_solver_statistics_;
2554}
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_;
2559}
2561#ifdef __GNUC__
2562#pragma GCC diagnostic pop
2563#endif // __GNUC__
2564
2565// @@protoc_insertion_point(namespace_scope)
2566} // namespace operations_research
2567
2568
2569// @@protoc_insertion_point(global_scope)
2570
2571#include "google/protobuf/port_undef.inc"
2572
2573#endif // ortools_2fconstraint_5fsolver_2fsearch_5fstats_2eproto_2epb_2eh
::google::protobuf::Metadata GetMetadata() const
ConstraintSolverStatistics *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
void CopyFrom(const ConstraintSolverStatistics &from)
void clear_duration_seconds()
double duration_seconds = 5;
void MergeFrom(const ConstraintSolverStatistics &from)
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)
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()
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
friend void swap(LocalSearchStatistics_FirstSolutionStatistics &a, LocalSearchStatistics_FirstSolutionStatistics &b)
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
void MergeFrom(const LocalSearchStatistics_FirstSolutionStatistics &from)
LocalSearchStatistics_FirstSolutionStatistics & operator=(const LocalSearchStatistics_FirstSolutionStatistics &from)
inline ::google::protobuf::UnknownFieldSet *PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND
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)
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
void Swap(LocalSearchStatistics_FirstSolutionStatistics *PROTOBUF_NONNULL other)
void CopyFrom(const LocalSearchStatistics_FirstSolutionStatistics &from)
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
LocalSearchStatistics_LocalSearchFilterStatistics & operator=(const LocalSearchStatistics_LocalSearchFilterStatistics &from)
void set_allocated_local_search_filter(::std::string *PROTOBUF_NULLABLE value)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
static const LocalSearchStatistics_LocalSearchFilterStatistics & default_instance()
void Swap(LocalSearchStatistics_LocalSearchFilterStatistics *PROTOBUF_NONNULL other)
void set_allocated_context(::std::string *PROTOBUF_NULLABLE value)
PROTOBUF_CONSTEXPR LocalSearchStatistics_LocalSearchFilterStatistics(::google::protobuf::internal::ConstantInitialized)
::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)
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
void MergeFrom(const LocalSearchStatistics_LocalSearchFilterStatistics &from)
void set_allocated_local_search_operator(::std::string *PROTOBUF_NULLABLE value)
void clear_make_next_neighbor_duration_seconds()
double make_next_neighbor_duration_seconds = 6;
void Swap(LocalSearchStatistics_LocalSearchOperatorStatistics *PROTOBUF_NONNULL other)
void CopyFrom(const LocalSearchStatistics_LocalSearchOperatorStatistics &from)
LocalSearchStatistics_LocalSearchOperatorStatistics(const LocalSearchStatistics_LocalSearchOperatorStatistics &from)
void clear_accept_neighbor_duration_seconds()
double accept_neighbor_duration_seconds = 7;
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
LocalSearchStatistics_LocalSearchOperatorStatistics(::google::protobuf::Arena *PROTOBUF_NULLABLE arena, LocalSearchStatistics_LocalSearchOperatorStatistics &&from) noexcept
PROTOBUF_CONSTEXPR LocalSearchStatistics_LocalSearchOperatorStatistics(::google::protobuf::internal::ConstantInitialized)
LocalSearchStatistics_LocalSearchOperatorStatistics & operator=(const LocalSearchStatistics_LocalSearchOperatorStatistics &from)
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()
const ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics > & local_search_filter_statistics() const
::google::protobuf::Metadata GetMetadata() const
const ::operations_research::LocalSearchStatistics_FirstSolutionStatistics & first_solution_statistics(int index) const
::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)
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 -------------------------------------------—
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...
void clear_total_num_neighbors()
int64 total_num_neighbors = 3;
::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()
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()
::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
const ::operations_research::LocalSearchStatistics & local_search_statistics(int index) const
const ::google::protobuf::RepeatedPtrField<::operations_research::ConstraintSolverStatistics > & constraint_solver_statistics() const
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
::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)
int local_search_statistics_size() const
repeated .operations_research.LocalSearchStatistics local_search_statistics = 1;
friend class ::google::protobuf::Arena
::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
Internal implementation detail – do not use these members.