OR-Tools  9.1
search_stats.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: ortools/constraint_solver/search_stats.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_ortools_2fconstraint_5fsolver_2fsearch_5fstats_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_ortools_2fconstraint_5fsolver_2fsearch_5fstats_2eproto
6
7#include <limits>
8#include <string>
9
10#include <google/protobuf/port_def.inc>
11#if PROTOBUF_VERSION < 3018000
12#error This file was generated by a newer version of protoc which is
13#error incompatible with your Protocol Buffer headers. Please update
14#error your headers.
15#endif
16#if 3018000 < PROTOBUF_MIN_PROTOC_VERSION
17#error This file was generated by an older version of protoc which is
18#error incompatible with your Protocol Buffer headers. Please
19#error regenerate this file with a newer version of protoc.
20#endif
21
22#include <google/protobuf/port_undef.inc>
23#include <google/protobuf/io/coded_stream.h>
24#include <google/protobuf/arena.h>
25#include <google/protobuf/arenastring.h>
26#include <google/protobuf/generated_message_table_driven.h>
27#include <google/protobuf/generated_message_util.h>
28#include <google/protobuf/metadata_lite.h>
29#include <google/protobuf/generated_message_reflection.h>
30#include <google/protobuf/message.h>
31#include <google/protobuf/repeated_field.h> // IWYU pragma: export
32#include <google/protobuf/extension_set.h> // IWYU pragma: export
33#include <google/protobuf/unknown_field_set.h>
34// @@protoc_insertion_point(includes)
35#include <google/protobuf/port_def.inc>
36#define PROTOBUF_INTERNAL_EXPORT_ortools_2fconstraint_5fsolver_2fsearch_5fstats_2eproto
37PROTOBUF_NAMESPACE_OPEN
38namespace internal {
39class AnyMetadata;
40} // namespace internal
41PROTOBUF_NAMESPACE_CLOSE
42
43// Internal implementation detail -- do not use these members.
45 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
47 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
49 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[5]
51 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
52 static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
53 static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
54};
55extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ortools_2fconstraint_5fsolver_2fsearch_5fstats_2eproto;
56namespace operations_research {
57class ConstraintSolverStatistics;
58struct ConstraintSolverStatisticsDefaultTypeInternal;
59extern ConstraintSolverStatisticsDefaultTypeInternal _ConstraintSolverStatistics_default_instance_;
60class LocalSearchStatistics;
61struct LocalSearchStatisticsDefaultTypeInternal;
62extern LocalSearchStatisticsDefaultTypeInternal _LocalSearchStatistics_default_instance_;
63class LocalSearchStatistics_LocalSearchFilterStatistics;
64struct LocalSearchStatistics_LocalSearchFilterStatisticsDefaultTypeInternal;
65extern LocalSearchStatistics_LocalSearchFilterStatisticsDefaultTypeInternal _LocalSearchStatistics_LocalSearchFilterStatistics_default_instance_;
66class LocalSearchStatistics_LocalSearchOperatorStatistics;
67struct LocalSearchStatistics_LocalSearchOperatorStatisticsDefaultTypeInternal;
68extern LocalSearchStatistics_LocalSearchOperatorStatisticsDefaultTypeInternal _LocalSearchStatistics_LocalSearchOperatorStatistics_default_instance_;
69class SearchStatistics;
70struct SearchStatisticsDefaultTypeInternal;
71extern SearchStatisticsDefaultTypeInternal _SearchStatistics_default_instance_;
72} // namespace operations_research
73PROTOBUF_NAMESPACE_OPEN
74template<> ::operations_research::ConstraintSolverStatistics* Arena::CreateMaybeMessage<::operations_research::ConstraintSolverStatistics>(Arena*);
75template<> ::operations_research::LocalSearchStatistics* Arena::CreateMaybeMessage<::operations_research::LocalSearchStatistics>(Arena*);
76template<> ::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics* Arena::CreateMaybeMessage<::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics>(Arena*);
77template<> ::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics* Arena::CreateMaybeMessage<::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics>(Arena*);
78template<> ::operations_research::SearchStatistics* Arena::CreateMaybeMessage<::operations_research::SearchStatistics>(Arena*);
79PROTOBUF_NAMESPACE_CLOSE
80namespace operations_research {
81
82// ===================================================================
83
85 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics) */ {
86 public:
89 explicit constexpr LocalSearchStatistics_LocalSearchOperatorStatistics(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
90
94 *this = ::std::move(from);
95 }
96
98 CopyFrom(from);
99 return *this;
100 }
102 if (this == &from) return *this;
103 if (GetOwningArena() == from.GetOwningArena()
104 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
105 && GetOwningArena() != nullptr
106 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
107 ) {
108 InternalSwap(&from);
109 } else {
110 CopyFrom(from);
111 }
112 return *this;
113 }
114
115 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
116 return GetDescriptor();
117 }
118 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
119 return default_instance().GetMetadata().descriptor;
120 }
121 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
122 return default_instance().GetMetadata().reflection;
123 }
126 }
128 return reinterpret_cast<const LocalSearchStatistics_LocalSearchOperatorStatistics*>(
130 }
131 static constexpr int kIndexInFileMessages =
132 0;
133
135 a.Swap(&b);
136 }
138 if (other == this) return;
139 if (GetOwningArena() == other->GetOwningArena()) {
140 InternalSwap(other);
141 } else {
142 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
143 }
144 }
146 if (other == this) return;
147 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
148 InternalSwap(other);
149 }
150
151 // implements Message ----------------------------------------------
152
155 }
156
157 LocalSearchStatistics_LocalSearchOperatorStatistics* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
158 return CreateMaybeMessage<LocalSearchStatistics_LocalSearchOperatorStatistics>(arena);
159 }
160 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
162 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
164 private:
165 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
166 public:
167 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
168 bool IsInitialized() const final;
169
170 size_t ByteSizeLong() const final;
171 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
172 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
173 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
174 int GetCachedSize() const final { return _cached_size_.Get(); }
175
176 private:
177 void SharedCtor();
178 void SharedDtor();
179 void SetCachedSize(int size) const final;
181 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
182 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
183 return "operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics";
184 }
185 protected:
186 explicit LocalSearchStatistics_LocalSearchOperatorStatistics(::PROTOBUF_NAMESPACE_ID::Arena* arena,
187 bool is_message_owned = false);
188 private:
189 static void ArenaDtor(void* object);
190 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
191 public:
192
193 static const ClassData _class_data_;
194 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
195
196 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
197
198 // nested types ----------------------------------------------------
199
200 // accessors -------------------------------------------------------
201
202 enum : int {
208 };
209 // string local_search_operator = 1;
211 const std::string& local_search_operator() const;
212 template <typename ArgT0 = const std::string&, typename... ArgT>
213 void set_local_search_operator(ArgT0&& arg0, ArgT... args);
214 std::string* mutable_local_search_operator();
215 PROTOBUF_MUST_USE_RESULT std::string* release_local_search_operator();
217 private:
218 const std::string& _internal_local_search_operator() const;
219 inline PROTOBUF_ALWAYS_INLINE void _internal_set_local_search_operator(const std::string& value);
220 std::string* _internal_mutable_local_search_operator();
221 public:
222
223 // int64 num_neighbors = 2;
224 void clear_num_neighbors();
225 ::PROTOBUF_NAMESPACE_ID::int64 num_neighbors() const;
226 void set_num_neighbors(::PROTOBUF_NAMESPACE_ID::int64 value);
227 private:
228 ::PROTOBUF_NAMESPACE_ID::int64 _internal_num_neighbors() const;
229 void _internal_set_num_neighbors(::PROTOBUF_NAMESPACE_ID::int64 value);
230 public:
231
232 // int64 num_filtered_neighbors = 3;
234 ::PROTOBUF_NAMESPACE_ID::int64 num_filtered_neighbors() const;
235 void set_num_filtered_neighbors(::PROTOBUF_NAMESPACE_ID::int64 value);
236 private:
237 ::PROTOBUF_NAMESPACE_ID::int64 _internal_num_filtered_neighbors() const;
238 void _internal_set_num_filtered_neighbors(::PROTOBUF_NAMESPACE_ID::int64 value);
239 public:
240
241 // int64 num_accepted_neighbors = 4;
243 ::PROTOBUF_NAMESPACE_ID::int64 num_accepted_neighbors() const;
244 void set_num_accepted_neighbors(::PROTOBUF_NAMESPACE_ID::int64 value);
245 private:
246 ::PROTOBUF_NAMESPACE_ID::int64 _internal_num_accepted_neighbors() const;
247 void _internal_set_num_accepted_neighbors(::PROTOBUF_NAMESPACE_ID::int64 value);
248 public:
249
250 // double duration_seconds = 5;
252 double duration_seconds() const;
253 void set_duration_seconds(double value);
254 private:
255 double _internal_duration_seconds() const;
256 void _internal_set_duration_seconds(double value);
257 public:
258
259 // @@protoc_insertion_point(class_scope:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics)
260 private:
261 class _Internal;
262
263 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
264 typedef void InternalArenaConstructable_;
265 typedef void DestructorSkippable_;
266 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr local_search_operator_;
267 ::PROTOBUF_NAMESPACE_ID::int64 num_neighbors_;
268 ::PROTOBUF_NAMESPACE_ID::int64 num_filtered_neighbors_;
269 ::PROTOBUF_NAMESPACE_ID::int64 num_accepted_neighbors_;
270 double duration_seconds_;
271 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
272 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2fsearch_5fstats_2eproto;
273};
274// -------------------------------------------------------------------
275
277 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics) */ {
278 public:
281 explicit constexpr LocalSearchStatistics_LocalSearchFilterStatistics(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
282
286 *this = ::std::move(from);
287 }
288
290 CopyFrom(from);
291 return *this;
292 }
294 if (this == &from) return *this;
295 if (GetOwningArena() == from.GetOwningArena()
296 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
297 && GetOwningArena() != nullptr
298 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
299 ) {
300 InternalSwap(&from);
301 } else {
302 CopyFrom(from);
303 }
304 return *this;
305 }
306
307 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
308 return GetDescriptor();
309 }
310 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
311 return default_instance().GetMetadata().descriptor;
312 }
313 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
314 return default_instance().GetMetadata().reflection;
315 }
318 }
320 return reinterpret_cast<const LocalSearchStatistics_LocalSearchFilterStatistics*>(
322 }
323 static constexpr int kIndexInFileMessages =
324 1;
325
327 a.Swap(&b);
328 }
330 if (other == this) return;
331 if (GetOwningArena() == other->GetOwningArena()) {
332 InternalSwap(other);
333 } else {
334 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
335 }
336 }
338 if (other == this) return;
339 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
340 InternalSwap(other);
341 }
342
343 // implements Message ----------------------------------------------
344
347 }
348
349 LocalSearchStatistics_LocalSearchFilterStatistics* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
350 return CreateMaybeMessage<LocalSearchStatistics_LocalSearchFilterStatistics>(arena);
351 }
352 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
354 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
356 private:
357 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
358 public:
359 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
360 bool IsInitialized() const final;
361
362 size_t ByteSizeLong() const final;
363 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
364 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
365 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
366 int GetCachedSize() const final { return _cached_size_.Get(); }
367
368 private:
369 void SharedCtor();
370 void SharedDtor();
371 void SetCachedSize(int size) const final;
373 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
374 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
375 return "operations_research.LocalSearchStatistics.LocalSearchFilterStatistics";
376 }
377 protected:
378 explicit LocalSearchStatistics_LocalSearchFilterStatistics(::PROTOBUF_NAMESPACE_ID::Arena* arena,
379 bool is_message_owned = false);
380 private:
381 static void ArenaDtor(void* object);
382 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
383 public:
384
385 static const ClassData _class_data_;
386 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
387
388 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
389
390 // nested types ----------------------------------------------------
391
392 // accessors -------------------------------------------------------
393
394 enum : int {
399 };
400 // string local_search_filter = 1;
402 const std::string& local_search_filter() const;
403 template <typename ArgT0 = const std::string&, typename... ArgT>
404 void set_local_search_filter(ArgT0&& arg0, ArgT... args);
405 std::string* mutable_local_search_filter();
406 PROTOBUF_MUST_USE_RESULT std::string* release_local_search_filter();
408 private:
409 const std::string& _internal_local_search_filter() const;
410 inline PROTOBUF_ALWAYS_INLINE void _internal_set_local_search_filter(const std::string& value);
411 std::string* _internal_mutable_local_search_filter();
412 public:
413
414 // int64 num_calls = 2;
415 void clear_num_calls();
416 ::PROTOBUF_NAMESPACE_ID::int64 num_calls() const;
417 void set_num_calls(::PROTOBUF_NAMESPACE_ID::int64 value);
418 private:
419 ::PROTOBUF_NAMESPACE_ID::int64 _internal_num_calls() const;
420 void _internal_set_num_calls(::PROTOBUF_NAMESPACE_ID::int64 value);
421 public:
422
423 // int64 num_rejects = 3;
424 void clear_num_rejects();
425 ::PROTOBUF_NAMESPACE_ID::int64 num_rejects() const;
426 void set_num_rejects(::PROTOBUF_NAMESPACE_ID::int64 value);
427 private:
428 ::PROTOBUF_NAMESPACE_ID::int64 _internal_num_rejects() const;
429 void _internal_set_num_rejects(::PROTOBUF_NAMESPACE_ID::int64 value);
430 public:
431
432 // double duration_seconds = 4;
434 double duration_seconds() const;
435 void set_duration_seconds(double value);
436 private:
437 double _internal_duration_seconds() const;
438 void _internal_set_duration_seconds(double value);
439 public:
440
441 // @@protoc_insertion_point(class_scope:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics)
442 private:
443 class _Internal;
444
445 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
446 typedef void InternalArenaConstructable_;
447 typedef void DestructorSkippable_;
448 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr local_search_filter_;
449 ::PROTOBUF_NAMESPACE_ID::int64 num_calls_;
450 ::PROTOBUF_NAMESPACE_ID::int64 num_rejects_;
451 double duration_seconds_;
452 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
453 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2fsearch_5fstats_2eproto;
454};
455// -------------------------------------------------------------------
456
458 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:operations_research.LocalSearchStatistics) */ {
459 public:
461 ~LocalSearchStatistics() override;
462 explicit constexpr LocalSearchStatistics(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
463
467 *this = ::std::move(from);
468 }
469
471 CopyFrom(from);
472 return *this;
473 }
475 if (this == &from) return *this;
476 if (GetOwningArena() == from.GetOwningArena()
477 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
478 && GetOwningArena() != nullptr
479 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
480 ) {
481 InternalSwap(&from);
482 } else {
483 CopyFrom(from);
484 }
485 return *this;
486 }
487
488 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
489 return GetDescriptor();
490 }
491 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
492 return default_instance().GetMetadata().descriptor;
493 }
494 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
495 return default_instance().GetMetadata().reflection;
496 }
499 }
501 return reinterpret_cast<const LocalSearchStatistics*>(
503 }
504 static constexpr int kIndexInFileMessages =
505 2;
506
508 a.Swap(&b);
509 }
510 inline void Swap(LocalSearchStatistics* other) {
511 if (other == this) return;
512 if (GetOwningArena() == other->GetOwningArena()) {
513 InternalSwap(other);
514 } else {
515 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
516 }
517 }
519 if (other == this) return;
520 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
521 InternalSwap(other);
522 }
523
524 // implements Message ----------------------------------------------
525
526 inline LocalSearchStatistics* New() const final {
527 return new LocalSearchStatistics();
528 }
529
530 LocalSearchStatistics* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
531 return CreateMaybeMessage<LocalSearchStatistics>(arena);
532 }
533 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
534 void CopyFrom(const LocalSearchStatistics& from);
535 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
536 void MergeFrom(const LocalSearchStatistics& from);
537 private:
538 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
539 public:
540 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
541 bool IsInitialized() const final;
542
543 size_t ByteSizeLong() const final;
544 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
545 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
546 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
547 int GetCachedSize() const final { return _cached_size_.Get(); }
548
549 private:
550 void SharedCtor();
551 void SharedDtor();
552 void SetCachedSize(int size) const final;
553 void InternalSwap(LocalSearchStatistics* other);
554 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
555 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
556 return "operations_research.LocalSearchStatistics";
557 }
558 protected:
559 explicit LocalSearchStatistics(::PROTOBUF_NAMESPACE_ID::Arena* arena,
560 bool is_message_owned = false);
561 private:
562 static void ArenaDtor(void* object);
563 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
564 public:
565
566 static const ClassData _class_data_;
567 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
568
569 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
570
571 // nested types ----------------------------------------------------
572
575
576 // accessors -------------------------------------------------------
577
578 enum : int {
584 };
585 // repeated .operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics local_search_operator_statistics = 1;
587 private:
588 int _internal_local_search_operator_statistics_size() const;
589 public:
592 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics >*
594 private:
595 const ::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics& _internal_local_search_operator_statistics(int index) const;
596 ::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics* _internal_add_local_search_operator_statistics();
597 public:
598 const ::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics& local_search_operator_statistics(int index) const;
600 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics >&
602
603 // repeated .operations_research.LocalSearchStatistics.LocalSearchFilterStatistics local_search_filter_statistics = 2;
605 private:
606 int _internal_local_search_filter_statistics_size() const;
607 public:
610 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics >*
612 private:
613 const ::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics& _internal_local_search_filter_statistics(int index) const;
614 ::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics* _internal_add_local_search_filter_statistics();
615 public:
616 const ::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics& local_search_filter_statistics(int index) const;
618 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics >&
620
621 // int64 total_num_neighbors = 3;
623 ::PROTOBUF_NAMESPACE_ID::int64 total_num_neighbors() const;
624 void set_total_num_neighbors(::PROTOBUF_NAMESPACE_ID::int64 value);
625 private:
626 ::PROTOBUF_NAMESPACE_ID::int64 _internal_total_num_neighbors() const;
627 void _internal_set_total_num_neighbors(::PROTOBUF_NAMESPACE_ID::int64 value);
628 public:
629
630 // int64 total_num_filtered_neighbors = 4;
632 ::PROTOBUF_NAMESPACE_ID::int64 total_num_filtered_neighbors() const;
633 void set_total_num_filtered_neighbors(::PROTOBUF_NAMESPACE_ID::int64 value);
634 private:
635 ::PROTOBUF_NAMESPACE_ID::int64 _internal_total_num_filtered_neighbors() const;
636 void _internal_set_total_num_filtered_neighbors(::PROTOBUF_NAMESPACE_ID::int64 value);
637 public:
638
639 // int64 total_num_accepted_neighbors = 5;
641 ::PROTOBUF_NAMESPACE_ID::int64 total_num_accepted_neighbors() const;
642 void set_total_num_accepted_neighbors(::PROTOBUF_NAMESPACE_ID::int64 value);
643 private:
644 ::PROTOBUF_NAMESPACE_ID::int64 _internal_total_num_accepted_neighbors() const;
645 void _internal_set_total_num_accepted_neighbors(::PROTOBUF_NAMESPACE_ID::int64 value);
646 public:
647
648 // @@protoc_insertion_point(class_scope:operations_research.LocalSearchStatistics)
649 private:
650 class _Internal;
651
652 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
653 typedef void InternalArenaConstructable_;
654 typedef void DestructorSkippable_;
655 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics > local_search_operator_statistics_;
656 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics > local_search_filter_statistics_;
657 ::PROTOBUF_NAMESPACE_ID::int64 total_num_neighbors_;
658 ::PROTOBUF_NAMESPACE_ID::int64 total_num_filtered_neighbors_;
659 ::PROTOBUF_NAMESPACE_ID::int64 total_num_accepted_neighbors_;
660 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
661 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2fsearch_5fstats_2eproto;
662};
663// -------------------------------------------------------------------
664
666 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:operations_research.ConstraintSolverStatistics) */ {
667 public:
670 explicit constexpr ConstraintSolverStatistics(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
671
675 *this = ::std::move(from);
676 }
677
679 CopyFrom(from);
680 return *this;
681 }
683 if (this == &from) return *this;
684 if (GetOwningArena() == from.GetOwningArena()
685 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
686 && GetOwningArena() != nullptr
687 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
688 ) {
689 InternalSwap(&from);
690 } else {
691 CopyFrom(from);
692 }
693 return *this;
694 }
695
696 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
697 return GetDescriptor();
698 }
699 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
700 return default_instance().GetMetadata().descriptor;
701 }
702 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
703 return default_instance().GetMetadata().reflection;
704 }
707 }
709 return reinterpret_cast<const ConstraintSolverStatistics*>(
711 }
712 static constexpr int kIndexInFileMessages =
713 3;
714
716 a.Swap(&b);
717 }
718 inline void Swap(ConstraintSolverStatistics* other) {
719 if (other == this) return;
720 if (GetOwningArena() == other->GetOwningArena()) {
721 InternalSwap(other);
722 } else {
723 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
724 }
725 }
727 if (other == this) return;
728 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
729 InternalSwap(other);
730 }
731
732 // implements Message ----------------------------------------------
733
734 inline ConstraintSolverStatistics* New() const final {
735 return new ConstraintSolverStatistics();
736 }
737
738 ConstraintSolverStatistics* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
739 return CreateMaybeMessage<ConstraintSolverStatistics>(arena);
740 }
741 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
742 void CopyFrom(const ConstraintSolverStatistics& from);
743 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
744 void MergeFrom(const ConstraintSolverStatistics& from);
745 private:
746 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
747 public:
748 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
749 bool IsInitialized() const final;
750
751 size_t ByteSizeLong() const final;
752 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
753 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
754 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
755 int GetCachedSize() const final { return _cached_size_.Get(); }
756
757 private:
758 void SharedCtor();
759 void SharedDtor();
760 void SetCachedSize(int size) const final;
761 void InternalSwap(ConstraintSolverStatistics* other);
762 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
763 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
764 return "operations_research.ConstraintSolverStatistics";
765 }
766 protected:
767 explicit ConstraintSolverStatistics(::PROTOBUF_NAMESPACE_ID::Arena* arena,
768 bool is_message_owned = false);
769 private:
770 static void ArenaDtor(void* object);
771 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
772 public:
773
774 static const ClassData _class_data_;
775 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
776
777 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
778
779 // nested types ----------------------------------------------------
780
781 // accessors -------------------------------------------------------
782
783 enum : int {
789 };
790 // int64 num_branches = 1;
791 void clear_num_branches();
792 ::PROTOBUF_NAMESPACE_ID::int64 num_branches() const;
793 void set_num_branches(::PROTOBUF_NAMESPACE_ID::int64 value);
794 private:
795 ::PROTOBUF_NAMESPACE_ID::int64 _internal_num_branches() const;
796 void _internal_set_num_branches(::PROTOBUF_NAMESPACE_ID::int64 value);
797 public:
798
799 // int64 num_failures = 2;
800 void clear_num_failures();
801 ::PROTOBUF_NAMESPACE_ID::int64 num_failures() const;
802 void set_num_failures(::PROTOBUF_NAMESPACE_ID::int64 value);
803 private:
804 ::PROTOBUF_NAMESPACE_ID::int64 _internal_num_failures() const;
805 void _internal_set_num_failures(::PROTOBUF_NAMESPACE_ID::int64 value);
806 public:
807
808 // int64 num_solutions = 3;
809 void clear_num_solutions();
810 ::PROTOBUF_NAMESPACE_ID::int64 num_solutions() const;
811 void set_num_solutions(::PROTOBUF_NAMESPACE_ID::int64 value);
812 private:
813 ::PROTOBUF_NAMESPACE_ID::int64 _internal_num_solutions() const;
814 void _internal_set_num_solutions(::PROTOBUF_NAMESPACE_ID::int64 value);
815 public:
816
817 // int64 bytes_used = 4;
818 void clear_bytes_used();
819 ::PROTOBUF_NAMESPACE_ID::int64 bytes_used() const;
820 void set_bytes_used(::PROTOBUF_NAMESPACE_ID::int64 value);
821 private:
822 ::PROTOBUF_NAMESPACE_ID::int64 _internal_bytes_used() const;
823 void _internal_set_bytes_used(::PROTOBUF_NAMESPACE_ID::int64 value);
824 public:
825
826 // double duration_seconds = 5;
828 double duration_seconds() const;
829 void set_duration_seconds(double value);
830 private:
831 double _internal_duration_seconds() const;
832 void _internal_set_duration_seconds(double value);
833 public:
834
835 // @@protoc_insertion_point(class_scope:operations_research.ConstraintSolverStatistics)
836 private:
837 class _Internal;
838
839 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
840 typedef void InternalArenaConstructable_;
841 typedef void DestructorSkippable_;
842 ::PROTOBUF_NAMESPACE_ID::int64 num_branches_;
843 ::PROTOBUF_NAMESPACE_ID::int64 num_failures_;
844 ::PROTOBUF_NAMESPACE_ID::int64 num_solutions_;
845 ::PROTOBUF_NAMESPACE_ID::int64 bytes_used_;
846 double duration_seconds_;
847 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
848 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2fsearch_5fstats_2eproto;
849};
850// -------------------------------------------------------------------
851
852class SearchStatistics final :
853 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:operations_research.SearchStatistics) */ {
854 public:
855 inline SearchStatistics() : SearchStatistics(nullptr) {}
856 ~SearchStatistics() override;
857 explicit constexpr SearchStatistics(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
858
861 : SearchStatistics() {
862 *this = ::std::move(from);
863 }
864
866 CopyFrom(from);
867 return *this;
868 }
869 inline SearchStatistics& operator=(SearchStatistics&& from) noexcept {
870 if (this == &from) return *this;
871 if (GetOwningArena() == from.GetOwningArena()
872 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
873 && GetOwningArena() != nullptr
874 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
875 ) {
876 InternalSwap(&from);
877 } else {
878 CopyFrom(from);
879 }
880 return *this;
881 }
882
883 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
884 return GetDescriptor();
885 }
886 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
887 return default_instance().GetMetadata().descriptor;
888 }
889 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
890 return default_instance().GetMetadata().reflection;
891 }
894 }
896 return reinterpret_cast<const SearchStatistics*>(
898 }
899 static constexpr int kIndexInFileMessages =
900 4;
901
903 a.Swap(&b);
904 }
905 inline void Swap(SearchStatistics* other) {
906 if (other == this) return;
907 if (GetOwningArena() == other->GetOwningArena()) {
908 InternalSwap(other);
909 } else {
910 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
911 }
912 }
914 if (other == this) return;
915 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
916 InternalSwap(other);
917 }
918
919 // implements Message ----------------------------------------------
920
921 inline SearchStatistics* New() const final {
922 return new SearchStatistics();
923 }
924
925 SearchStatistics* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
926 return CreateMaybeMessage<SearchStatistics>(arena);
927 }
928 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
929 void CopyFrom(const SearchStatistics& from);
930 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
931 void MergeFrom(const SearchStatistics& from);
932 private:
933 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
934 public:
935 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
936 bool IsInitialized() const final;
937
938 size_t ByteSizeLong() const final;
939 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
940 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
941 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
942 int GetCachedSize() const final { return _cached_size_.Get(); }
943
944 private:
945 void SharedCtor();
946 void SharedDtor();
947 void SetCachedSize(int size) const final;
948 void InternalSwap(SearchStatistics* other);
949 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
950 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
951 return "operations_research.SearchStatistics";
952 }
953 protected:
954 explicit SearchStatistics(::PROTOBUF_NAMESPACE_ID::Arena* arena,
955 bool is_message_owned = false);
956 private:
957 static void ArenaDtor(void* object);
958 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
959 public:
960
961 static const ClassData _class_data_;
962 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
963
964 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
965
966 // nested types ----------------------------------------------------
967
968 // accessors -------------------------------------------------------
969
970 enum : int {
973 };
974 // .operations_research.LocalSearchStatistics local_search_statistics = 1;
975 bool has_local_search_statistics() const;
976 private:
977 bool _internal_has_local_search_statistics() const;
978 public:
980 const ::operations_research::LocalSearchStatistics& local_search_statistics() const;
981 PROTOBUF_MUST_USE_RESULT ::operations_research::LocalSearchStatistics* release_local_search_statistics();
984 private:
985 const ::operations_research::LocalSearchStatistics& _internal_local_search_statistics() const;
986 ::operations_research::LocalSearchStatistics* _internal_mutable_local_search_statistics();
987 public:
991
992 // .operations_research.ConstraintSolverStatistics constraint_solver_statistics = 2;
994 private:
995 bool _internal_has_constraint_solver_statistics() const;
996 public:
998 const ::operations_research::ConstraintSolverStatistics& constraint_solver_statistics() const;
999 PROTOBUF_MUST_USE_RESULT ::operations_research::ConstraintSolverStatistics* release_constraint_solver_statistics();
1002 private:
1003 const ::operations_research::ConstraintSolverStatistics& _internal_constraint_solver_statistics() const;
1004 ::operations_research::ConstraintSolverStatistics* _internal_mutable_constraint_solver_statistics();
1005 public:
1009
1010 // @@protoc_insertion_point(class_scope:operations_research.SearchStatistics)
1011 private:
1012 class _Internal;
1013
1014 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1015 typedef void InternalArenaConstructable_;
1016 typedef void DestructorSkippable_;
1017 ::operations_research::LocalSearchStatistics* local_search_statistics_;
1018 ::operations_research::ConstraintSolverStatistics* constraint_solver_statistics_;
1019 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1020 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2fsearch_5fstats_2eproto;
1021};
1022// ===================================================================
1023
1024
1025// ===================================================================
1026
1027#ifdef __GNUC__
1028 #pragma GCC diagnostic push
1029 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1030#endif // __GNUC__
1031// LocalSearchStatistics_LocalSearchOperatorStatistics
1032
1033// string local_search_operator = 1;
1035 local_search_operator_.ClearToEmpty();
1036}
1038 // @@protoc_insertion_point(field_get:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics.local_search_operator)
1039 return _internal_local_search_operator();
1040}
1041template <typename ArgT0, typename... ArgT>
1042inline PROTOBUF_ALWAYS_INLINE
1044
1045 local_search_operator_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1046 // @@protoc_insertion_point(field_set:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics.local_search_operator)
1047}
1049 std::string* _s = _internal_mutable_local_search_operator();
1050 // @@protoc_insertion_point(field_mutable:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics.local_search_operator)
1051 return _s;
1052}
1053inline const std::string& LocalSearchStatistics_LocalSearchOperatorStatistics::_internal_local_search_operator() const {
1054 return local_search_operator_.Get();
1055}
1056inline void LocalSearchStatistics_LocalSearchOperatorStatistics::_internal_set_local_search_operator(const std::string& value) {
1057
1058 local_search_operator_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
1059}
1060inline std::string* LocalSearchStatistics_LocalSearchOperatorStatistics::_internal_mutable_local_search_operator() {
1061
1062 return local_search_operator_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
1063}
1065 // @@protoc_insertion_point(field_release:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics.local_search_operator)
1066 return local_search_operator_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
1067}
1069 if (local_search_operator != nullptr) {
1070
1071 } else {
1072
1073 }
1074 local_search_operator_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), local_search_operator,
1075 GetArenaForAllocation());
1076 // @@protoc_insertion_point(field_set_allocated:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics.local_search_operator)
1077}
1078
1079// int64 num_neighbors = 2;
1081 num_neighbors_ = int64_t{0};
1082}
1083inline ::PROTOBUF_NAMESPACE_ID::int64 LocalSearchStatistics_LocalSearchOperatorStatistics::_internal_num_neighbors() const {
1084 return num_neighbors_;
1085}
1086inline ::PROTOBUF_NAMESPACE_ID::int64 LocalSearchStatistics_LocalSearchOperatorStatistics::num_neighbors() const {
1087 // @@protoc_insertion_point(field_get:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics.num_neighbors)
1088 return _internal_num_neighbors();
1089}
1090inline void LocalSearchStatistics_LocalSearchOperatorStatistics::_internal_set_num_neighbors(::PROTOBUF_NAMESPACE_ID::int64 value) {
1091
1092 num_neighbors_ = value;
1093}
1095 _internal_set_num_neighbors(value);
1096 // @@protoc_insertion_point(field_set:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics.num_neighbors)
1097}
1098
1099// int64 num_filtered_neighbors = 3;
1101 num_filtered_neighbors_ = int64_t{0};
1102}
1103inline ::PROTOBUF_NAMESPACE_ID::int64 LocalSearchStatistics_LocalSearchOperatorStatistics::_internal_num_filtered_neighbors() const {
1104 return num_filtered_neighbors_;
1105}
1107 // @@protoc_insertion_point(field_get:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics.num_filtered_neighbors)
1108 return _internal_num_filtered_neighbors();
1109}
1110inline void LocalSearchStatistics_LocalSearchOperatorStatistics::_internal_set_num_filtered_neighbors(::PROTOBUF_NAMESPACE_ID::int64 value) {
1111
1112 num_filtered_neighbors_ = value;
1113}
1115 _internal_set_num_filtered_neighbors(value);
1116 // @@protoc_insertion_point(field_set:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics.num_filtered_neighbors)
1117}
1118
1119// int64 num_accepted_neighbors = 4;
1121 num_accepted_neighbors_ = int64_t{0};
1122}
1123inline ::PROTOBUF_NAMESPACE_ID::int64 LocalSearchStatistics_LocalSearchOperatorStatistics::_internal_num_accepted_neighbors() const {
1124 return num_accepted_neighbors_;
1125}
1127 // @@protoc_insertion_point(field_get:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics.num_accepted_neighbors)
1128 return _internal_num_accepted_neighbors();
1129}
1130inline void LocalSearchStatistics_LocalSearchOperatorStatistics::_internal_set_num_accepted_neighbors(::PROTOBUF_NAMESPACE_ID::int64 value) {
1131
1132 num_accepted_neighbors_ = value;
1133}
1135 _internal_set_num_accepted_neighbors(value);
1136 // @@protoc_insertion_point(field_set:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics.num_accepted_neighbors)
1137}
1138
1139// double duration_seconds = 5;
1141 duration_seconds_ = 0;
1142}
1143inline double LocalSearchStatistics_LocalSearchOperatorStatistics::_internal_duration_seconds() const {
1144 return duration_seconds_;
1145}
1147 // @@protoc_insertion_point(field_get:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics.duration_seconds)
1148 return _internal_duration_seconds();
1149}
1150inline void LocalSearchStatistics_LocalSearchOperatorStatistics::_internal_set_duration_seconds(double value) {
1151
1152 duration_seconds_ = value;
1153}
1155 _internal_set_duration_seconds(value);
1156 // @@protoc_insertion_point(field_set:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics.duration_seconds)
1157}
1158
1159// -------------------------------------------------------------------
1160
1161// LocalSearchStatistics_LocalSearchFilterStatistics
1162
1163// string local_search_filter = 1;
1165 local_search_filter_.ClearToEmpty();
1166}
1168 // @@protoc_insertion_point(field_get:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics.local_search_filter)
1169 return _internal_local_search_filter();
1170}
1171template <typename ArgT0, typename... ArgT>
1172inline PROTOBUF_ALWAYS_INLINE
1174
1175 local_search_filter_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1176 // @@protoc_insertion_point(field_set:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics.local_search_filter)
1177}
1179 std::string* _s = _internal_mutable_local_search_filter();
1180 // @@protoc_insertion_point(field_mutable:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics.local_search_filter)
1181 return _s;
1182}
1183inline const std::string& LocalSearchStatistics_LocalSearchFilterStatistics::_internal_local_search_filter() const {
1184 return local_search_filter_.Get();
1185}
1186inline void LocalSearchStatistics_LocalSearchFilterStatistics::_internal_set_local_search_filter(const std::string& value) {
1187
1188 local_search_filter_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
1189}
1190inline std::string* LocalSearchStatistics_LocalSearchFilterStatistics::_internal_mutable_local_search_filter() {
1191
1192 return local_search_filter_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
1193}
1195 // @@protoc_insertion_point(field_release:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics.local_search_filter)
1196 return local_search_filter_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
1197}
1199 if (local_search_filter != nullptr) {
1200
1201 } else {
1202
1203 }
1204 local_search_filter_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), local_search_filter,
1205 GetArenaForAllocation());
1206 // @@protoc_insertion_point(field_set_allocated:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics.local_search_filter)
1207}
1208
1209// int64 num_calls = 2;
1211 num_calls_ = int64_t{0};
1212}
1213inline ::PROTOBUF_NAMESPACE_ID::int64 LocalSearchStatistics_LocalSearchFilterStatistics::_internal_num_calls() const {
1214 return num_calls_;
1215}
1216inline ::PROTOBUF_NAMESPACE_ID::int64 LocalSearchStatistics_LocalSearchFilterStatistics::num_calls() const {
1217 // @@protoc_insertion_point(field_get:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics.num_calls)
1218 return _internal_num_calls();
1219}
1220inline void LocalSearchStatistics_LocalSearchFilterStatistics::_internal_set_num_calls(::PROTOBUF_NAMESPACE_ID::int64 value) {
1221
1222 num_calls_ = value;
1223}
1225 _internal_set_num_calls(value);
1226 // @@protoc_insertion_point(field_set:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics.num_calls)
1227}
1228
1229// int64 num_rejects = 3;
1231 num_rejects_ = int64_t{0};
1232}
1233inline ::PROTOBUF_NAMESPACE_ID::int64 LocalSearchStatistics_LocalSearchFilterStatistics::_internal_num_rejects() const {
1234 return num_rejects_;
1235}
1236inline ::PROTOBUF_NAMESPACE_ID::int64 LocalSearchStatistics_LocalSearchFilterStatistics::num_rejects() const {
1237 // @@protoc_insertion_point(field_get:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics.num_rejects)
1238 return _internal_num_rejects();
1239}
1240inline void LocalSearchStatistics_LocalSearchFilterStatistics::_internal_set_num_rejects(::PROTOBUF_NAMESPACE_ID::int64 value) {
1241
1242 num_rejects_ = value;
1243}
1245 _internal_set_num_rejects(value);
1246 // @@protoc_insertion_point(field_set:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics.num_rejects)
1247}
1248
1249// double duration_seconds = 4;
1251 duration_seconds_ = 0;
1252}
1253inline double LocalSearchStatistics_LocalSearchFilterStatistics::_internal_duration_seconds() const {
1254 return duration_seconds_;
1255}
1257 // @@protoc_insertion_point(field_get:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics.duration_seconds)
1258 return _internal_duration_seconds();
1259}
1260inline void LocalSearchStatistics_LocalSearchFilterStatistics::_internal_set_duration_seconds(double value) {
1261
1262 duration_seconds_ = value;
1263}
1265 _internal_set_duration_seconds(value);
1266 // @@protoc_insertion_point(field_set:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics.duration_seconds)
1267}
1268
1269// -------------------------------------------------------------------
1270
1271// LocalSearchStatistics
1272
1273// repeated .operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics local_search_operator_statistics = 1;
1274inline int LocalSearchStatistics::_internal_local_search_operator_statistics_size() const {
1275 return local_search_operator_statistics_.size();
1276}
1278 return _internal_local_search_operator_statistics_size();
1279}
1281 local_search_operator_statistics_.Clear();
1282}
1283inline ::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics* LocalSearchStatistics::mutable_local_search_operator_statistics(int index) {
1284 // @@protoc_insertion_point(field_mutable:operations_research.LocalSearchStatistics.local_search_operator_statistics)
1285 return local_search_operator_statistics_.Mutable(index);
1286}
1287inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics >*
1289 // @@protoc_insertion_point(field_mutable_list:operations_research.LocalSearchStatistics.local_search_operator_statistics)
1290 return &local_search_operator_statistics_;
1291}
1292inline const ::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics& LocalSearchStatistics::_internal_local_search_operator_statistics(int index) const {
1293 return local_search_operator_statistics_.Get(index);
1294}
1295inline const ::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics& LocalSearchStatistics::local_search_operator_statistics(int index) const {
1296 // @@protoc_insertion_point(field_get:operations_research.LocalSearchStatistics.local_search_operator_statistics)
1297 return _internal_local_search_operator_statistics(index);
1298}
1299inline ::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics* LocalSearchStatistics::_internal_add_local_search_operator_statistics() {
1300 return local_search_operator_statistics_.Add();
1301}
1302inline ::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics* LocalSearchStatistics::add_local_search_operator_statistics() {
1303 ::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics* _add = _internal_add_local_search_operator_statistics();
1304 // @@protoc_insertion_point(field_add:operations_research.LocalSearchStatistics.local_search_operator_statistics)
1305 return _add;
1306}
1307inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics >&
1309 // @@protoc_insertion_point(field_list:operations_research.LocalSearchStatistics.local_search_operator_statistics)
1310 return local_search_operator_statistics_;
1311}
1312
1313// repeated .operations_research.LocalSearchStatistics.LocalSearchFilterStatistics local_search_filter_statistics = 2;
1314inline int LocalSearchStatistics::_internal_local_search_filter_statistics_size() const {
1315 return local_search_filter_statistics_.size();
1316}
1318 return _internal_local_search_filter_statistics_size();
1319}
1321 local_search_filter_statistics_.Clear();
1322}
1323inline ::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics* LocalSearchStatistics::mutable_local_search_filter_statistics(int index) {
1324 // @@protoc_insertion_point(field_mutable:operations_research.LocalSearchStatistics.local_search_filter_statistics)
1325 return local_search_filter_statistics_.Mutable(index);
1326}
1327inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics >*
1329 // @@protoc_insertion_point(field_mutable_list:operations_research.LocalSearchStatistics.local_search_filter_statistics)
1330 return &local_search_filter_statistics_;
1331}
1332inline const ::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics& LocalSearchStatistics::_internal_local_search_filter_statistics(int index) const {
1333 return local_search_filter_statistics_.Get(index);
1334}
1335inline const ::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics& LocalSearchStatistics::local_search_filter_statistics(int index) const {
1336 // @@protoc_insertion_point(field_get:operations_research.LocalSearchStatistics.local_search_filter_statistics)
1337 return _internal_local_search_filter_statistics(index);
1338}
1339inline ::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics* LocalSearchStatistics::_internal_add_local_search_filter_statistics() {
1340 return local_search_filter_statistics_.Add();
1341}
1342inline ::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics* LocalSearchStatistics::add_local_search_filter_statistics() {
1343 ::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics* _add = _internal_add_local_search_filter_statistics();
1344 // @@protoc_insertion_point(field_add:operations_research.LocalSearchStatistics.local_search_filter_statistics)
1345 return _add;
1346}
1347inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics >&
1349 // @@protoc_insertion_point(field_list:operations_research.LocalSearchStatistics.local_search_filter_statistics)
1350 return local_search_filter_statistics_;
1351}
1352
1353// int64 total_num_neighbors = 3;
1355 total_num_neighbors_ = int64_t{0};
1356}
1357inline ::PROTOBUF_NAMESPACE_ID::int64 LocalSearchStatistics::_internal_total_num_neighbors() const {
1358 return total_num_neighbors_;
1359}
1360inline ::PROTOBUF_NAMESPACE_ID::int64 LocalSearchStatistics::total_num_neighbors() const {
1361 // @@protoc_insertion_point(field_get:operations_research.LocalSearchStatistics.total_num_neighbors)
1362 return _internal_total_num_neighbors();
1363}
1364inline void LocalSearchStatistics::_internal_set_total_num_neighbors(::PROTOBUF_NAMESPACE_ID::int64 value) {
1365
1366 total_num_neighbors_ = value;
1367}
1368inline void LocalSearchStatistics::set_total_num_neighbors(::PROTOBUF_NAMESPACE_ID::int64 value) {
1369 _internal_set_total_num_neighbors(value);
1370 // @@protoc_insertion_point(field_set:operations_research.LocalSearchStatistics.total_num_neighbors)
1371}
1372
1373// int64 total_num_filtered_neighbors = 4;
1375 total_num_filtered_neighbors_ = int64_t{0};
1376}
1377inline ::PROTOBUF_NAMESPACE_ID::int64 LocalSearchStatistics::_internal_total_num_filtered_neighbors() const {
1378 return total_num_filtered_neighbors_;
1379}
1380inline ::PROTOBUF_NAMESPACE_ID::int64 LocalSearchStatistics::total_num_filtered_neighbors() const {
1381 // @@protoc_insertion_point(field_get:operations_research.LocalSearchStatistics.total_num_filtered_neighbors)
1382 return _internal_total_num_filtered_neighbors();
1383}
1384inline void LocalSearchStatistics::_internal_set_total_num_filtered_neighbors(::PROTOBUF_NAMESPACE_ID::int64 value) {
1385
1386 total_num_filtered_neighbors_ = value;
1387}
1388inline void LocalSearchStatistics::set_total_num_filtered_neighbors(::PROTOBUF_NAMESPACE_ID::int64 value) {
1389 _internal_set_total_num_filtered_neighbors(value);
1390 // @@protoc_insertion_point(field_set:operations_research.LocalSearchStatistics.total_num_filtered_neighbors)
1391}
1392
1393// int64 total_num_accepted_neighbors = 5;
1395 total_num_accepted_neighbors_ = int64_t{0};
1396}
1397inline ::PROTOBUF_NAMESPACE_ID::int64 LocalSearchStatistics::_internal_total_num_accepted_neighbors() const {
1398 return total_num_accepted_neighbors_;
1399}
1400inline ::PROTOBUF_NAMESPACE_ID::int64 LocalSearchStatistics::total_num_accepted_neighbors() const {
1401 // @@protoc_insertion_point(field_get:operations_research.LocalSearchStatistics.total_num_accepted_neighbors)
1402 return _internal_total_num_accepted_neighbors();
1403}
1404inline void LocalSearchStatistics::_internal_set_total_num_accepted_neighbors(::PROTOBUF_NAMESPACE_ID::int64 value) {
1405
1406 total_num_accepted_neighbors_ = value;
1407}
1408inline void LocalSearchStatistics::set_total_num_accepted_neighbors(::PROTOBUF_NAMESPACE_ID::int64 value) {
1409 _internal_set_total_num_accepted_neighbors(value);
1410 // @@protoc_insertion_point(field_set:operations_research.LocalSearchStatistics.total_num_accepted_neighbors)
1411}
1412
1413// -------------------------------------------------------------------
1414
1415// ConstraintSolverStatistics
1416
1417// int64 num_branches = 1;
1419 num_branches_ = int64_t{0};
1420}
1421inline ::PROTOBUF_NAMESPACE_ID::int64 ConstraintSolverStatistics::_internal_num_branches() const {
1422 return num_branches_;
1423}
1424inline ::PROTOBUF_NAMESPACE_ID::int64 ConstraintSolverStatistics::num_branches() const {
1425 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverStatistics.num_branches)
1426 return _internal_num_branches();
1427}
1428inline void ConstraintSolverStatistics::_internal_set_num_branches(::PROTOBUF_NAMESPACE_ID::int64 value) {
1429
1430 num_branches_ = value;
1431}
1432inline void ConstraintSolverStatistics::set_num_branches(::PROTOBUF_NAMESPACE_ID::int64 value) {
1433 _internal_set_num_branches(value);
1434 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverStatistics.num_branches)
1435}
1436
1437// int64 num_failures = 2;
1439 num_failures_ = int64_t{0};
1440}
1441inline ::PROTOBUF_NAMESPACE_ID::int64 ConstraintSolverStatistics::_internal_num_failures() const {
1442 return num_failures_;
1443}
1444inline ::PROTOBUF_NAMESPACE_ID::int64 ConstraintSolverStatistics::num_failures() const {
1445 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverStatistics.num_failures)
1446 return _internal_num_failures();
1447}
1448inline void ConstraintSolverStatistics::_internal_set_num_failures(::PROTOBUF_NAMESPACE_ID::int64 value) {
1449
1450 num_failures_ = value;
1451}
1452inline void ConstraintSolverStatistics::set_num_failures(::PROTOBUF_NAMESPACE_ID::int64 value) {
1453 _internal_set_num_failures(value);
1454 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverStatistics.num_failures)
1455}
1456
1457// int64 num_solutions = 3;
1459 num_solutions_ = int64_t{0};
1460}
1461inline ::PROTOBUF_NAMESPACE_ID::int64 ConstraintSolverStatistics::_internal_num_solutions() const {
1462 return num_solutions_;
1463}
1464inline ::PROTOBUF_NAMESPACE_ID::int64 ConstraintSolverStatistics::num_solutions() const {
1465 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverStatistics.num_solutions)
1466 return _internal_num_solutions();
1467}
1468inline void ConstraintSolverStatistics::_internal_set_num_solutions(::PROTOBUF_NAMESPACE_ID::int64 value) {
1469
1470 num_solutions_ = value;
1471}
1472inline void ConstraintSolverStatistics::set_num_solutions(::PROTOBUF_NAMESPACE_ID::int64 value) {
1473 _internal_set_num_solutions(value);
1474 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverStatistics.num_solutions)
1475}
1476
1477// int64 bytes_used = 4;
1479 bytes_used_ = int64_t{0};
1480}
1481inline ::PROTOBUF_NAMESPACE_ID::int64 ConstraintSolverStatistics::_internal_bytes_used() const {
1482 return bytes_used_;
1483}
1484inline ::PROTOBUF_NAMESPACE_ID::int64 ConstraintSolverStatistics::bytes_used() const {
1485 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverStatistics.bytes_used)
1486 return _internal_bytes_used();
1487}
1488inline void ConstraintSolverStatistics::_internal_set_bytes_used(::PROTOBUF_NAMESPACE_ID::int64 value) {
1489
1490 bytes_used_ = value;
1491}
1492inline void ConstraintSolverStatistics::set_bytes_used(::PROTOBUF_NAMESPACE_ID::int64 value) {
1493 _internal_set_bytes_used(value);
1494 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverStatistics.bytes_used)
1495}
1496
1497// double duration_seconds = 5;
1499 duration_seconds_ = 0;
1500}
1501inline double ConstraintSolverStatistics::_internal_duration_seconds() const {
1502 return duration_seconds_;
1503}
1505 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverStatistics.duration_seconds)
1506 return _internal_duration_seconds();
1507}
1508inline void ConstraintSolverStatistics::_internal_set_duration_seconds(double value) {
1509
1510 duration_seconds_ = value;
1511}
1513 _internal_set_duration_seconds(value);
1514 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverStatistics.duration_seconds)
1515}
1516
1517// -------------------------------------------------------------------
1518
1519// SearchStatistics
1520
1521// .operations_research.LocalSearchStatistics local_search_statistics = 1;
1522inline bool SearchStatistics::_internal_has_local_search_statistics() const {
1523 return this != internal_default_instance() && local_search_statistics_ != nullptr;
1524}
1526 return _internal_has_local_search_statistics();
1527}
1529 if (GetArenaForAllocation() == nullptr && local_search_statistics_ != nullptr) {
1530 delete local_search_statistics_;
1531 }
1532 local_search_statistics_ = nullptr;
1533}
1534inline const ::operations_research::LocalSearchStatistics& SearchStatistics::_internal_local_search_statistics() const {
1535 const ::operations_research::LocalSearchStatistics* p = local_search_statistics_;
1536 return p != nullptr ? *p : reinterpret_cast<const ::operations_research::LocalSearchStatistics&>(
1538}
1539inline const ::operations_research::LocalSearchStatistics& SearchStatistics::local_search_statistics() const {
1540 // @@protoc_insertion_point(field_get:operations_research.SearchStatistics.local_search_statistics)
1541 return _internal_local_search_statistics();
1542}
1544 ::operations_research::LocalSearchStatistics* local_search_statistics) {
1545 if (GetArenaForAllocation() == nullptr) {
1546 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(local_search_statistics_);
1547 }
1548 local_search_statistics_ = local_search_statistics;
1550
1551 } else {
1552
1553 }
1554 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.SearchStatistics.local_search_statistics)
1555}
1556inline ::operations_research::LocalSearchStatistics* SearchStatistics::release_local_search_statistics() {
1557
1558 ::operations_research::LocalSearchStatistics* temp = local_search_statistics_;
1559 local_search_statistics_ = nullptr;
1560#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1561 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1562 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1563 if (GetArenaForAllocation() == nullptr) { delete old; }
1564#else // PROTOBUF_FORCE_COPY_IN_RELEASE
1565 if (GetArenaForAllocation() != nullptr) {
1566 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1567 }
1568#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1569 return temp;
1570}
1571inline ::operations_research::LocalSearchStatistics* SearchStatistics::unsafe_arena_release_local_search_statistics() {
1572 // @@protoc_insertion_point(field_release:operations_research.SearchStatistics.local_search_statistics)
1573
1574 ::operations_research::LocalSearchStatistics* temp = local_search_statistics_;
1575 local_search_statistics_ = nullptr;
1576 return temp;
1577}
1578inline ::operations_research::LocalSearchStatistics* SearchStatistics::_internal_mutable_local_search_statistics() {
1579
1580 if (local_search_statistics_ == nullptr) {
1581 auto* p = CreateMaybeMessage<::operations_research::LocalSearchStatistics>(GetArenaForAllocation());
1582 local_search_statistics_ = p;
1583 }
1584 return local_search_statistics_;
1585}
1586inline ::operations_research::LocalSearchStatistics* SearchStatistics::mutable_local_search_statistics() {
1587 ::operations_research::LocalSearchStatistics* _msg = _internal_mutable_local_search_statistics();
1588 // @@protoc_insertion_point(field_mutable:operations_research.SearchStatistics.local_search_statistics)
1589 return _msg;
1590}
1592 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1593 if (message_arena == nullptr) {
1594 delete local_search_statistics_;
1595 }
1597 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1598 ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::operations_research::LocalSearchStatistics>::GetOwningArena(local_search_statistics);
1599 if (message_arena != submessage_arena) {
1600 local_search_statistics = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1601 message_arena, local_search_statistics, submessage_arena);
1602 }
1603
1604 } else {
1605
1606 }
1607 local_search_statistics_ = local_search_statistics;
1608 // @@protoc_insertion_point(field_set_allocated:operations_research.SearchStatistics.local_search_statistics)
1609}
1610
1611// .operations_research.ConstraintSolverStatistics constraint_solver_statistics = 2;
1612inline bool SearchStatistics::_internal_has_constraint_solver_statistics() const {
1613 return this != internal_default_instance() && constraint_solver_statistics_ != nullptr;
1614}
1616 return _internal_has_constraint_solver_statistics();
1617}
1619 if (GetArenaForAllocation() == nullptr && constraint_solver_statistics_ != nullptr) {
1620 delete constraint_solver_statistics_;
1621 }
1622 constraint_solver_statistics_ = nullptr;
1623}
1624inline const ::operations_research::ConstraintSolverStatistics& SearchStatistics::_internal_constraint_solver_statistics() const {
1625 const ::operations_research::ConstraintSolverStatistics* p = constraint_solver_statistics_;
1626 return p != nullptr ? *p : reinterpret_cast<const ::operations_research::ConstraintSolverStatistics&>(
1628}
1629inline const ::operations_research::ConstraintSolverStatistics& SearchStatistics::constraint_solver_statistics() const {
1630 // @@protoc_insertion_point(field_get:operations_research.SearchStatistics.constraint_solver_statistics)
1631 return _internal_constraint_solver_statistics();
1632}
1634 ::operations_research::ConstraintSolverStatistics* constraint_solver_statistics) {
1635 if (GetArenaForAllocation() == nullptr) {
1636 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(constraint_solver_statistics_);
1637 }
1638 constraint_solver_statistics_ = constraint_solver_statistics;
1640
1641 } else {
1642
1643 }
1644 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.SearchStatistics.constraint_solver_statistics)
1645}
1646inline ::operations_research::ConstraintSolverStatistics* SearchStatistics::release_constraint_solver_statistics() {
1647
1648 ::operations_research::ConstraintSolverStatistics* temp = constraint_solver_statistics_;
1649 constraint_solver_statistics_ = nullptr;
1650#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1651 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1652 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1653 if (GetArenaForAllocation() == nullptr) { delete old; }
1654#else // PROTOBUF_FORCE_COPY_IN_RELEASE
1655 if (GetArenaForAllocation() != nullptr) {
1656 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1657 }
1658#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1659 return temp;
1660}
1661inline ::operations_research::ConstraintSolverStatistics* SearchStatistics::unsafe_arena_release_constraint_solver_statistics() {
1662 // @@protoc_insertion_point(field_release:operations_research.SearchStatistics.constraint_solver_statistics)
1663
1664 ::operations_research::ConstraintSolverStatistics* temp = constraint_solver_statistics_;
1665 constraint_solver_statistics_ = nullptr;
1666 return temp;
1667}
1668inline ::operations_research::ConstraintSolverStatistics* SearchStatistics::_internal_mutable_constraint_solver_statistics() {
1669
1670 if (constraint_solver_statistics_ == nullptr) {
1671 auto* p = CreateMaybeMessage<::operations_research::ConstraintSolverStatistics>(GetArenaForAllocation());
1672 constraint_solver_statistics_ = p;
1673 }
1674 return constraint_solver_statistics_;
1675}
1676inline ::operations_research::ConstraintSolverStatistics* SearchStatistics::mutable_constraint_solver_statistics() {
1677 ::operations_research::ConstraintSolverStatistics* _msg = _internal_mutable_constraint_solver_statistics();
1678 // @@protoc_insertion_point(field_mutable:operations_research.SearchStatistics.constraint_solver_statistics)
1679 return _msg;
1680}
1682 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1683 if (message_arena == nullptr) {
1684 delete constraint_solver_statistics_;
1685 }
1687 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1688 ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::operations_research::ConstraintSolverStatistics>::GetOwningArena(constraint_solver_statistics);
1689 if (message_arena != submessage_arena) {
1690 constraint_solver_statistics = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1691 message_arena, constraint_solver_statistics, submessage_arena);
1692 }
1693
1694 } else {
1695
1696 }
1697 constraint_solver_statistics_ = constraint_solver_statistics;
1698 // @@protoc_insertion_point(field_set_allocated:operations_research.SearchStatistics.constraint_solver_statistics)
1699}
1700
1701#ifdef __GNUC__
1702 #pragma GCC diagnostic pop
1703#endif // __GNUC__
1704// -------------------------------------------------------------------
1705
1706// -------------------------------------------------------------------
1707
1708// -------------------------------------------------------------------
1709
1710// -------------------------------------------------------------------
1711
1712
1713// @@protoc_insertion_point(namespace_scope)
1714
1715} // namespace operations_research
1716
1717// @@protoc_insertion_point(global_scope)
1718
1719#include <google/protobuf/port_undef.inc>
1720#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ortools_2fconstraint_5fsolver_2fsearch_5fstats_2eproto
void set_num_branches(::PROTOBUF_NAMESPACE_ID::int64 value)
void CopyFrom(const ConstraintSolverStatistics &from)
::PROTOBUF_NAMESPACE_ID::int64 num_failures() const
static const ConstraintSolverStatistics & default_instance()
ConstraintSolverStatistics & operator=(const ConstraintSolverStatistics &from)
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
ConstraintSolverStatistics * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
void UnsafeArenaSwap(ConstraintSolverStatistics *other)
::PROTOBUF_NAMESPACE_ID::int64 num_branches() const
static const ConstraintSolverStatistics * internal_default_instance()
ConstraintSolverStatistics & operator=(ConstraintSolverStatistics &&from) noexcept
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void Swap(ConstraintSolverStatistics *other)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
void set_bytes_used(::PROTOBUF_NAMESPACE_ID::int64 value)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
ConstraintSolverStatistics * New() const final
void MergeFrom(const ConstraintSolverStatistics &from)
friend void swap(ConstraintSolverStatistics &a, ConstraintSolverStatistics &b)
::PROTOBUF_NAMESPACE_ID::int64 num_solutions() const
ConstraintSolverStatistics(ConstraintSolverStatistics &&from) noexcept
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
::PROTOBUF_NAMESPACE_ID::int64 bytes_used() const
void set_num_failures(::PROTOBUF_NAMESPACE_ID::int64 value)
void set_num_solutions(::PROTOBUF_NAMESPACE_ID::int64 value)
::PROTOBUF_NAMESPACE_ID::uint8 * _InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
LocalSearchStatistics_LocalSearchFilterStatistics * New() const final
LocalSearchStatistics_LocalSearchFilterStatistics(LocalSearchStatistics_LocalSearchFilterStatistics &&from) noexcept
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
friend void swap(LocalSearchStatistics_LocalSearchFilterStatistics &a, LocalSearchStatistics_LocalSearchFilterStatistics &b)
void Swap(LocalSearchStatistics_LocalSearchFilterStatistics *other)
LocalSearchStatistics_LocalSearchFilterStatistics & operator=(const LocalSearchStatistics_LocalSearchFilterStatistics &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void CopyFrom(const LocalSearchStatistics_LocalSearchFilterStatistics &from)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
void MergeFrom(const LocalSearchStatistics_LocalSearchFilterStatistics &from)
void UnsafeArenaSwap(LocalSearchStatistics_LocalSearchFilterStatistics *other)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
static const LocalSearchStatistics_LocalSearchFilterStatistics & default_instance()
LocalSearchStatistics_LocalSearchFilterStatistics & operator=(LocalSearchStatistics_LocalSearchFilterStatistics &&from) noexcept
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
LocalSearchStatistics_LocalSearchFilterStatistics * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
static const LocalSearchStatistics_LocalSearchFilterStatistics * internal_default_instance()
::PROTOBUF_NAMESPACE_ID::uint8 * _InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
void MergeFrom(const LocalSearchStatistics_LocalSearchOperatorStatistics &from)
LocalSearchStatistics_LocalSearchOperatorStatistics & operator=(const LocalSearchStatistics_LocalSearchOperatorStatistics &from)
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
void Swap(LocalSearchStatistics_LocalSearchOperatorStatistics *other)
LocalSearchStatistics_LocalSearchOperatorStatistics * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void set_allocated_local_search_operator(std::string *local_search_operator)
void CopyFrom(const LocalSearchStatistics_LocalSearchOperatorStatistics &from)
void UnsafeArenaSwap(LocalSearchStatistics_LocalSearchOperatorStatistics *other)
static const LocalSearchStatistics_LocalSearchOperatorStatistics & default_instance()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
LocalSearchStatistics_LocalSearchOperatorStatistics(LocalSearchStatistics_LocalSearchOperatorStatistics &&from) noexcept
LocalSearchStatistics_LocalSearchOperatorStatistics & operator=(LocalSearchStatistics_LocalSearchOperatorStatistics &&from) noexcept
static const LocalSearchStatistics_LocalSearchOperatorStatistics * internal_default_instance()
friend void swap(LocalSearchStatistics_LocalSearchOperatorStatistics &a, LocalSearchStatistics_LocalSearchOperatorStatistics &b)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
LocalSearchStatistics_LocalSearchOperatorStatistics * New() const final
::PROTOBUF_NAMESPACE_ID::uint8 * _InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics * add_local_search_operator_statistics()
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics > & local_search_operator_statistics() const
LocalSearchStatistics & operator=(LocalSearchStatistics &&from) noexcept
void set_total_num_filtered_neighbors(::PROTOBUF_NAMESPACE_ID::int64 value)
LocalSearchStatistics & operator=(const LocalSearchStatistics &from)
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
::PROTOBUF_NAMESPACE_ID::int64 total_num_neighbors() const
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics > * mutable_local_search_operator_statistics()
void UnsafeArenaSwap(LocalSearchStatistics *other)
static const LocalSearchStatistics & default_instance()
LocalSearchStatistics * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
::PROTOBUF_NAMESPACE_ID::int64 total_num_filtered_neighbors() const
::PROTOBUF_NAMESPACE_ID::int64 total_num_accepted_neighbors() const
static const LocalSearchStatistics * internal_default_instance()
void set_total_num_neighbors(::PROTOBUF_NAMESPACE_ID::int64 value)
::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics * add_local_search_filter_statistics()
void set_total_num_accepted_neighbors(::PROTOBUF_NAMESPACE_ID::int64 value)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void CopyFrom(const LocalSearchStatistics &from)
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics > * mutable_local_search_filter_statistics()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
friend void swap(LocalSearchStatistics &a, LocalSearchStatistics &b)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
void Swap(LocalSearchStatistics *other)
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics > & local_search_filter_statistics() const
void MergeFrom(const LocalSearchStatistics &from)
LocalSearchStatistics(LocalSearchStatistics &&from) noexcept
LocalSearchStatistics * New() const final
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
::PROTOBUF_NAMESPACE_ID::uint8 * _InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
PROTOBUF_MUST_USE_RESULT::operations_research::ConstraintSolverStatistics * release_constraint_solver_statistics()
void UnsafeArenaSwap(SearchStatistics *other)
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
PROTOBUF_MUST_USE_RESULT::operations_research::LocalSearchStatistics * release_local_search_statistics()
const ::operations_research::LocalSearchStatistics & local_search_statistics() const
void MergeFrom(const SearchStatistics &from)
static const SearchStatistics * internal_default_instance()
void Swap(SearchStatistics *other)
void set_allocated_constraint_solver_statistics(::operations_research::ConstraintSolverStatistics *constraint_solver_statistics)
void CopyFrom(const SearchStatistics &from)
::operations_research::LocalSearchStatistics * unsafe_arena_release_local_search_statistics()
void unsafe_arena_set_allocated_constraint_solver_statistics(::operations_research::ConstraintSolverStatistics *constraint_solver_statistics)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void unsafe_arena_set_allocated_local_search_statistics(::operations_research::LocalSearchStatistics *local_search_statistics)
::operations_research::LocalSearchStatistics * mutable_local_search_statistics()
SearchStatistics * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
void set_allocated_local_search_statistics(::operations_research::LocalSearchStatistics *local_search_statistics)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
SearchStatistics * New() const final
::operations_research::ConstraintSolverStatistics * mutable_constraint_solver_statistics()
SearchStatistics & operator=(SearchStatistics &&from) noexcept
SearchStatistics(SearchStatistics &&from) noexcept
::operations_research::ConstraintSolverStatistics * unsafe_arena_release_constraint_solver_statistics()
friend void swap(SearchStatistics &a, SearchStatistics &b)
const ::operations_research::ConstraintSolverStatistics & constraint_solver_statistics() const
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
SearchStatistics & operator=(const SearchStatistics &from)
static const SearchStatistics & default_instance()
::PROTOBUF_NAMESPACE_ID::uint8 * _InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
int64_t b
int64_t a
int64_t value
Collection of objects used to extend the Constraint Solver library.
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT LocalSearchStatistics_LocalSearchFilterStatisticsDefaultTypeInternal _LocalSearchStatistics_LocalSearchFilterStatistics_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT SearchStatisticsDefaultTypeInternal _SearchStatistics_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT LocalSearchStatistics_LocalSearchOperatorStatisticsDefaultTypeInternal _LocalSearchStatistics_LocalSearchOperatorStatistics_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ConstraintSolverStatisticsDefaultTypeInternal _ConstraintSolverStatistics_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT LocalSearchStatisticsDefaultTypeInternal _LocalSearchStatistics_default_instance_
int index
Definition: pack.cc:509
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ortools_2fconstraint_5fsolver_2fsearch_5fstats_2eproto
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[5] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)