6#ifndef ortools_2fconstraint_5fsolver_2frouting_5fils_2eproto_2epb_2eh
7#define ortools_2fconstraint_5fsolver_2frouting_5fils_2eproto_2epb_2eh
14#include "google/protobuf/runtime_version.h"
15#if PROTOBUF_VERSION != 6033001
16#error "Protobuf C++ gencode is built with an incompatible version of"
17#error "Protobuf C++ headers/runtime. See"
18#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
20#include "google/protobuf/io/coded_stream.h"
21#include "google/protobuf/arena.h"
22#include "google/protobuf/arenastring.h"
23#include "google/protobuf/generated_message_bases.h"
24#include "google/protobuf/generated_message_tctable_decl.h"
25#include "google/protobuf/generated_message_util.h"
26#include "google/protobuf/metadata_lite.h"
27#include "google/protobuf/generated_message_reflection.h"
28#include "google/protobuf/message.h"
29#include "google/protobuf/message_lite.h"
30#include "google/protobuf/repeated_field.h"
31#include "google/protobuf/extension_set.h"
32#include "google/protobuf/generated_enum_reflection.h"
33#include "google/protobuf/unknown_field_set.h"
39#include "google/protobuf/port_def.inc"
41#define PROTOBUF_INTERNAL_EXPORT_ortools_2fconstraint_5fsolver_2frouting_5fils_2eproto OR_PROTO_DLL
138internal::EnumTraitsT<::operations_research::CoolingScheduleStrategy_Value_internal_data_>
139 internal::EnumTraitsImpl::value<::operations_research::CoolingScheduleStrategy_Value>;
141internal::EnumTraitsT<::operations_research::PerturbationStrategy_Value_internal_data_>
142 internal::EnumTraitsImpl::value<::operations_research::PerturbationStrategy_Value>;
144internal::EnumTraitsT<::operations_research::RuinCompositionStrategy_Value_internal_data_>
145 internal::EnumTraitsImpl::value<::operations_research::RuinCompositionStrategy_Value>;
156 ::std::numeric_limits<::int32_t>::min(),
158 ::std::numeric_limits<::int32_t>::max(),
167 return 0 <= value && value <= 3;
173 static_assert(::std::is_same<T, RuinCompositionStrategy_Value>::value ||
174 ::std::is_integral<T>::value,
175 "Incorrect type passed to Value_Name().");
180 return ::google::protobuf::internal::NameOfDenseEnum<RuinCompositionStrategy_Value_descriptor, 0, 3>(
181 static_cast<int>(value));
192 ::std::numeric_limits<::int32_t>::min(),
194 ::std::numeric_limits<::int32_t>::max(),
203 return 0 <= value && value <= 1;
209 static_assert(::std::is_same<T, PerturbationStrategy_Value>::value ||
210 ::std::is_integral<T>::value,
211 "Incorrect type passed to Value_Name().");
216 return ::google::protobuf::internal::NameOfDenseEnum<PerturbationStrategy_Value_descriptor, 0, 1>(
217 static_cast<int>(value));
229 ::std::numeric_limits<::int32_t>::min(),
231 ::std::numeric_limits<::int32_t>::max(),
240 return 0 <= value && value <= 2;
246 static_assert(::std::is_same<T, CoolingScheduleStrategy_Value>::value ||
247 ::std::is_integral<T>::value,
248 "Incorrect type passed to Value_Name().");
253 return ::google::protobuf::internal::NameOfDenseEnum<CoolingScheduleStrategy_Value_descriptor, 0, 2>(
254 static_cast<int>(value));
267class OR_PROTO_DLL SpatiallyCloseRoutesRuinStrategy final :
public ::google::protobuf::Message
273#if defined(PROTOBUF_CUSTOM_VTABLE)
280 template <
typename =
void>
291 if (
this == &from)
return *
this;
292 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
300 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
301 ABSL_ATTRIBUTE_LIFETIME_BOUND {
302 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
304 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
305 ABSL_ATTRIBUTE_LIFETIME_BOUND {
306 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
309 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
310 return GetDescriptor();
312 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
313 return default_instance().GetMetadata().descriptor;
315 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
316 return default_instance().GetMetadata().reflection;
322 static constexpr int kIndexInFileMessages = 0;
325 if (other ==
this)
return;
326 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
329 ::google::protobuf::internal::GenericSwap(
this, other);
332 void UnsafeArenaSwap(SpatiallyCloseRoutesRuinStrategy* PROTOBUF_NONNULL other) {
333 if (other ==
this)
return;
334 ABSL_DCHECK(GetArena() == other->GetArena());
341 return ::google::protobuf::Message::DefaultConstruct<SpatiallyCloseRoutesRuinStrategy>(arena);
343 using ::google::protobuf::Message::CopyFrom;
345 using ::google::protobuf::Message::MergeFrom;
349 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
350 const ::google::protobuf::MessageLite& from_msg);
356 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
357 #if defined(PROTOBUF_CUSTOM_VTABLE)
359 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
360 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
361 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
362 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
365 ::size_t ByteSizeLong()
const {
return ByteSizeLong(*
this); }
366 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
367 ::uint8_t* PROTOBUF_NONNULL target,
368 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
369 return _InternalSerialize(*
this, target, stream);
372 ::size_t ByteSizeLong() const final;
373 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
374 ::uint8_t* PROTOBUF_NONNULL target,
375 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
377 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
380 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
384 template <
typename T>
386 static ::absl::string_view FullMessageName() {
return "operations_research.SpatiallyCloseRoutesRuinStrategy"; }
393 *
this = ::std::move(from);
395 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
396 static
void* PROTOBUF_NONNULL PlacementNew_(
397 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
398 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
399 static constexpr auto InternalNewImpl_();
402 static constexpr auto InternalGenerateClassData_();
404 ::
google::protobuf::Metadata GetMetadata() const;
409 kNumRuinedRoutesFieldNumber = 3,
418 ::uint32_t _internal_num_ruined_routes()
const;
419 void _internal_set_num_ruined_routes(::uint32_t value);
425 friend class ::google::protobuf::internal::TcParser;
426 static const ::google::protobuf::internal::TcParseTable<0, 1,
431 friend class ::google::protobuf::MessageLite;
432 friend class ::google::protobuf::Arena;
433 template <
typename T>
434 friend class ::google::protobuf::Arena::InternalHelper;
435 using InternalArenaConstructable_ = void;
436 using DestructorSkippable_ = void;
438 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
439 inline explicit Impl_(
440 ::google::protobuf::internal::InternalVisibility visibility,
441 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
442 inline explicit Impl_(
443 ::google::protobuf::internal::InternalVisibility visibility,
444 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
446 ::google::protobuf::internal::HasBits<1> _has_bits_;
447 ::google::protobuf::internal::CachedSize _cached_size_;
448 ::uint32_t num_ruined_routes_;
449 PROTOBUF_TSAN_DECLARE_MEMBER
451 union { Impl_ _impl_; };
452 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2frouting_5fils_2eproto;
464#if defined(PROTOBUF_CUSTOM_VTABLE)
471 template <
typename =
void>
482 if (
this == &from)
return *
this;
483 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
491 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
492 ABSL_ATTRIBUTE_LIFETIME_BOUND {
493 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
495 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
496 ABSL_ATTRIBUTE_LIFETIME_BOUND {
497 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
500 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
501 return GetDescriptor();
503 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
GetDescriptor() {
506 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL
GetReflection() {
513 static constexpr int kIndexInFileMessages = 11;
515 inline void Swap(SimulatedAnnealingAcceptanceStrategy* PROTOBUF_NONNULL other) {
516 if (other ==
this)
return;
517 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
520 ::google::protobuf::internal::GenericSwap(
this, other);
523 void UnsafeArenaSwap(SimulatedAnnealingAcceptanceStrategy* PROTOBUF_NONNULL other) {
524 if (other ==
this)
return;
525 ABSL_DCHECK(GetArena() == other->GetArena());
532 return ::google::protobuf::Message::DefaultConstruct<SimulatedAnnealingAcceptanceStrategy>(arena);
534 using ::google::protobuf::Message::CopyFrom;
536 using ::google::protobuf::Message::MergeFrom;
540 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
541 const ::google::protobuf::MessageLite& from_msg);
547 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
548 #if defined(PROTOBUF_CUSTOM_VTABLE)
550 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
552 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
553 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
557 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
558 ::uint8_t* PROTOBUF_NONNULL target,
559 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
560 return _InternalSerialize(*
this, target, stream);
563 ::size_t ByteSizeLong() const final;
564 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
565 ::uint8_t* PROTOBUF_NONNULL target,
566 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
568 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
571 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
575 template <
typename T>
577 static ::absl::string_view FullMessageName() {
return "operations_research.SimulatedAnnealingAcceptanceStrategy"; }
584 *
this = ::std::move(from);
586 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
587 static
void* PROTOBUF_NONNULL PlacementNew_(
588 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
589 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
590 static constexpr auto InternalNewImpl_();
593 static constexpr auto InternalGenerateClassData_();
595 ::
google::protobuf::Metadata GetMetadata() const;
600 kInitialTemperatureFieldNumber = 2,
601 kCoolingScheduleStrategyFieldNumber = 1,
602 kAutomaticTemperaturesFieldNumber = 4,
612 double _internal_initial_temperature()
const;
613 void _internal_set_initial_temperature(
double value);
633 bool _internal_automatic_temperatures()
const;
634 void _internal_set_automatic_temperatures(
bool value);
644 double _internal_final_temperature()
const;
645 void _internal_set_final_temperature(
double value);
651 friend class ::google::protobuf::internal::TcParser;
652 static const ::google::protobuf::internal::TcParseTable<2, 4,
657 friend class ::google::protobuf::MessageLite;
658 friend class ::google::protobuf::Arena;
659 template <
typename T>
660 friend class ::google::protobuf::Arena::InternalHelper;
661 using InternalArenaConstructable_ = void;
662 using DestructorSkippable_ = void;
664 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
665 inline explicit Impl_(
666 ::google::protobuf::internal::InternalVisibility visibility,
667 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
668 inline explicit Impl_(
669 ::google::protobuf::internal::InternalVisibility visibility,
670 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
672 ::google::protobuf::internal::HasBits<1> _has_bits_;
673 ::google::protobuf::internal::CachedSize _cached_size_;
674 double initial_temperature_;
675 int cooling_schedule_strategy_;
676 bool automatic_temperatures_;
677 double final_temperature_;
678 PROTOBUF_TSAN_DECLARE_MEMBER
680 union { Impl_ _impl_; };
681 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2frouting_5fils_2eproto;
687class OR_PROTO_DLL
SISRRuinStrategy final :
public ::google::protobuf::Message
693#if defined(PROTOBUF_CUSTOM_VTABLE)
700 template <
typename =
void>
701 explicit PROTOBUF_CONSTEXPR
SISRRuinStrategy(::google::protobuf::internal::ConstantInitialized);
704 inline SISRRuinStrategy(SISRRuinStrategy&& from) noexcept
711 if (
this == &from)
return *
this;
712 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
720 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
721 ABSL_ATTRIBUTE_LIFETIME_BOUND {
722 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
725 ABSL_ATTRIBUTE_LIFETIME_BOUND {
726 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
729 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
descriptor() {
732 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
735 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
745 if (other ==
this)
return;
746 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
749 ::google::protobuf::internal::GenericSwap(
this, other);
752 void UnsafeArenaSwap(SISRRuinStrategy* PROTOBUF_NONNULL other) {
753 if (other ==
this)
return;
754 ABSL_DCHECK(GetArena() == other->GetArena());
760 SISRRuinStrategy* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
761 return ::google::protobuf::Message::DefaultConstruct<SISRRuinStrategy>(arena);
763 using ::google::protobuf::Message::CopyFrom;
765 using ::google::protobuf::Message::MergeFrom;
769 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
770 const ::google::protobuf::MessageLite& from_msg);
776 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
777 #if defined(PROTOBUF_CUSTOM_VTABLE)
779 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
781 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
782 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
786 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
787 ::uint8_t* PROTOBUF_NONNULL target,
788 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
789 return _InternalSerialize(*
this, target, stream);
792 ::size_t ByteSizeLong() const final;
793 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
794 ::uint8_t* PROTOBUF_NONNULL target,
795 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
797 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
800 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
804 template <
typename T>
806 static ::absl::string_view FullMessageName() {
return "operations_research.SISRRuinStrategy"; }
808 explicit SISRRuinStrategy(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
811 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
SISRRuinStrategy&& from) noexcept
813 *
this = ::std::move(from);
815 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
816 static
void* PROTOBUF_NONNULL PlacementNew_(
817 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
818 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
819 static constexpr auto InternalNewImpl_();
822 static constexpr auto InternalGenerateClassData_();
824 ::
google::protobuf::Metadata GetMetadata() const;
829 kMaxRemovedSequenceSizeFieldNumber = 1,
830 kAvgNumRemovedVisitsFieldNumber = 2,
831 kBypassFactorFieldNumber = 3,
840 ::uint32_t _internal_max_removed_sequence_size()
const;
841 void _internal_set_max_removed_sequence_size(::uint32_t value);
851 ::uint32_t _internal_avg_num_removed_visits()
const;
852 void _internal_set_avg_num_removed_visits(::uint32_t value);
862 double _internal_bypass_factor()
const;
863 void _internal_set_bypass_factor(
double value);
869 friend class ::google::protobuf::internal::TcParser;
870 static const ::google::protobuf::internal::TcParseTable<2, 3,
875 friend class ::google::protobuf::MessageLite;
876 friend class ::google::protobuf::Arena;
877 template <
typename T>
878 friend class ::google::protobuf::Arena::InternalHelper;
879 using InternalArenaConstructable_ = void;
880 using DestructorSkippable_ = void;
882 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
883 inline explicit Impl_(
884 ::google::protobuf::internal::InternalVisibility visibility,
885 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
886 inline explicit Impl_(
887 ::google::protobuf::internal::InternalVisibility visibility,
888 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
890 ::google::protobuf::internal::HasBits<1> _has_bits_;
891 ::google::protobuf::internal::CachedSize _cached_size_;
892 ::uint32_t max_removed_sequence_size_;
893 ::uint32_t avg_num_removed_visits_;
894 double bypass_factor_;
895 PROTOBUF_TSAN_DECLARE_MEMBER
897 union { Impl_ _impl_; };
898 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2frouting_5fils_2eproto;
909#if defined(PROTOBUF_CUSTOM_VTABLE)
916 template <
typename =
void>
920 inline RuinCompositionStrategy(RuinCompositionStrategy&& from) noexcept
921 : RuinCompositionStrategy(
nullptr, ::std::move(from)) {}
927 if (
this == &from)
return *
this;
928 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
936 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
937 ABSL_ATTRIBUTE_LIFETIME_BOUND {
938 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
940 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
941 ABSL_ATTRIBUTE_LIFETIME_BOUND {
942 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
945 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
descriptor() {
948 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
949 return default_instance().GetMetadata().descriptor;
951 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
952 return default_instance().GetMetadata().reflection;
958 static constexpr int kIndexInFileMessages = 6;
961 if (other ==
this)
return;
962 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
965 ::google::protobuf::internal::GenericSwap(
this, other);
968 void UnsafeArenaSwap(RuinCompositionStrategy* PROTOBUF_NONNULL other) {
969 if (other ==
this)
return;
970 ABSL_DCHECK(GetArena() == other->GetArena());
977 return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct<RuinCompositionStrategy>(arena);
979 using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom;
981 ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*
this, from);
983 using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom;
985 ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*
this, from);
993 template <
typename T>
995 static ::absl::string_view FullMessageName() {
return "operations_research.RuinCompositionStrategy"; }
1002 *
this = ::std::move(from);
1004 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1005 static
void* PROTOBUF_NONNULL PlacementNew_(
1006 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1007 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1008 static constexpr auto InternalNewImpl_();
1011 static constexpr auto InternalGenerateClassData_();
1013 ::
google::protobuf::Metadata GetMetadata() const;
1015 using Value = RuinCompositionStrategy_Value;
1016 static constexpr Value UNSET = RuinCompositionStrategy_Value_UNSET;
1017 static constexpr Value RUN_ALL_SEQUENTIALLY = RuinCompositionStrategy_Value_RUN_ALL_SEQUENTIALLY;
1018 static constexpr Value RUN_ALL_RANDOMLY = RuinCompositionStrategy_Value_RUN_ALL_RANDOMLY;
1019 static constexpr Value RUN_ONE_RANDOMLY = RuinCompositionStrategy_Value_RUN_ONE_RANDOMLY;
1026 static inline const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL
Value_descriptor() {
1029 template <
typename T>
1033 static inline bool Value_Parse(
1034 ::absl::string_view name, Value* PROTOBUF_NONNULL value) {
1042 friend class ::google::protobuf::internal::TcParser;
1043 static const ::google::protobuf::internal::TcParseTable<0, 0,
1048 friend class ::google::protobuf::MessageLite;
1049 friend class ::google::protobuf::Arena;
1050 template <
typename T>
1051 friend class ::google::protobuf::Arena::InternalHelper;
1052 using InternalArenaConstructable_ = void;
1053 using DestructorSkippable_ = void;
1054 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2frouting_5fils_2eproto;
1066#if defined(PROTOBUF_CUSTOM_VTABLE)
1073 template <
typename =
void>
1077 inline RandomWalkRuinStrategy(RandomWalkRuinStrategy&& from) noexcept
1078 : RandomWalkRuinStrategy(
nullptr, ::std::move(from)) {}
1079 inline RandomWalkRuinStrategy& operator=(
const RandomWalkRuinStrategy& from) {
1084 if (
this == &from)
return *
this;
1085 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1086 InternalSwap(&from);
1093 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1094 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1095 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1097 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1098 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1099 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1102 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1105 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1106 return default_instance().GetMetadata().descriptor;
1115 static constexpr int kIndexInFileMessages = 1;
1118 if (other ==
this)
return;
1119 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1120 InternalSwap(other);
1122 ::google::protobuf::internal::GenericSwap(
this, other);
1125 void UnsafeArenaSwap(RandomWalkRuinStrategy* PROTOBUF_NONNULL other) {
1126 if (other ==
this)
return;
1127 ABSL_DCHECK(GetArena() == other->GetArena());
1128 InternalSwap(other);
1134 return ::google::protobuf::Message::DefaultConstruct<RandomWalkRuinStrategy>(arena);
1136 using ::google::protobuf::Message::CopyFrom;
1138 using ::google::protobuf::Message::MergeFrom;
1142 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1143 const ::google::protobuf::MessageLite& from_msg);
1149 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
1150 #if defined(PROTOBUF_CUSTOM_VTABLE)
1154 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1155 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1159 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1160 ::uint8_t* PROTOBUF_NONNULL target,
1161 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1162 return _InternalSerialize(*
this, target, stream);
1165 ::size_t ByteSizeLong() const final;
1166 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1167 ::uint8_t* PROTOBUF_NONNULL target,
1168 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1170 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
1173 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1174 static void SharedDtor(MessageLite& self);
1175 void InternalSwap(RandomWalkRuinStrategy* PROTOBUF_NONNULL other);
1177 template <
typename T>
1179 static ::absl::string_view FullMessageName() {
return "operations_research.RandomWalkRuinStrategy"; }
1186 *
this = ::std::move(from);
1188 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1189 static
void* PROTOBUF_NONNULL PlacementNew_(
1190 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1191 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1192 static constexpr auto InternalNewImpl_();
1195 static constexpr auto InternalGenerateClassData_();
1197 ::
google::protobuf::Metadata GetMetadata() const;
1202 kNumRemovedVisitsFieldNumber = 7,
1205 bool has_num_removed_visits()
const;
1206 void clear_num_removed_visits() ;
1207 ::uint32_t num_removed_visits()
const;
1211 ::uint32_t _internal_num_removed_visits()
const;
1212 void _internal_set_num_removed_visits(::uint32_t value);
1218 friend class ::google::protobuf::internal::TcParser;
1219 static const ::google::protobuf::internal::TcParseTable<0, 1,
1224 friend class ::google::protobuf::MessageLite;
1225 friend class ::google::protobuf::Arena;
1226 template <
typename T>
1227 friend class ::google::protobuf::Arena::InternalHelper;
1228 using InternalArenaConstructable_ = void;
1229 using DestructorSkippable_ = void;
1231 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
1232 inline explicit Impl_(
1233 ::google::protobuf::internal::InternalVisibility visibility,
1234 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1235 inline explicit Impl_(
1236 ::google::protobuf::internal::InternalVisibility visibility,
1237 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1239 ::google::protobuf::internal::HasBits<1> _has_bits_;
1240 ::google::protobuf::internal::CachedSize _cached_size_;
1241 ::uint32_t num_removed_visits_;
1242 PROTOBUF_TSAN_DECLARE_MEMBER
1244 union { Impl_ _impl_; };
1245 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2frouting_5fils_2eproto;
1256#if defined(PROTOBUF_CUSTOM_VTABLE)
1263 template <
typename =
void>
1264 explicit PROTOBUF_CONSTEXPR
PerturbationStrategy(::google::protobuf::internal::ConstantInitialized);
1269 inline PerturbationStrategy& operator=(
const PerturbationStrategy& from) {
1274 if (
this == &from)
return *
this;
1275 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1276 InternalSwap(&from);
1283 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1284 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1285 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1287 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1288 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1289 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1292 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1293 return GetDescriptor();
1295 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1296 return default_instance().GetMetadata().descriptor;
1298 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1308 if (other ==
this)
return;
1309 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1310 InternalSwap(other);
1312 ::google::protobuf::internal::GenericSwap(
this, other);
1316 if (other ==
this)
return;
1317 ABSL_DCHECK(GetArena() == other->GetArena());
1318 InternalSwap(other);
1323 PerturbationStrategy* PROTOBUF_NONNULL
New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
1324 return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct<PerturbationStrategy>(arena);
1326 using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom;
1328 ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*
this, from);
1330 using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom;
1332 ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*
this, from);
1340 template <
typename T>
1342 static ::absl::string_view FullMessageName() {
return "operations_research.PerturbationStrategy"; }
1349 *
this = ::std::move(from);
1351 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1352 static
void* PROTOBUF_NONNULL PlacementNew_(
1353 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1354 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1355 static constexpr auto InternalNewImpl_();
1358 static constexpr auto InternalGenerateClassData_();
1360 ::
google::protobuf::Metadata GetMetadata() const;
1365 static inline
bool Value_IsValid(
int value) {
1368 static constexpr Value Value_MIN = PerturbationStrategy_Value_Value_MIN;
1374 template <
typename T>
1379 ::absl::string_view name,
Value* PROTOBUF_NONNULL value) {
1387 friend class ::google::protobuf::internal::TcParser;
1388 static const ::google::protobuf::internal::TcParseTable<0, 0,
1393 friend class ::google::protobuf::MessageLite;
1394 friend class ::google::protobuf::Arena;
1395 template <
typename T>
1396 friend class ::google::protobuf::Arena::InternalHelper;
1397 using InternalArenaConstructable_ = void;
1398 using DestructorSkippable_ = void;
1399 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2frouting_5fils_2eproto;
1410#if defined(PROTOBUF_CUSTOM_VTABLE)
1417 template <
typename =
void>
1423 inline MoreNodesPerformedAcceptanceStrategy& operator=(
const MoreNodesPerformedAcceptanceStrategy& from) {
1428 if (
this == &from)
return *
this;
1429 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1430 InternalSwap(&from);
1437 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1438 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1439 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1441 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1442 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1443 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1446 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
descriptor() {
1452 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1453 return default_instance().GetMetadata().reflection;
1459 static constexpr int kIndexInFileMessages = 13;
1462 if (other ==
this)
return;
1463 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1464 InternalSwap(other);
1466 ::google::protobuf::internal::GenericSwap(
this, other);
1470 if (other ==
this)
return;
1471 ABSL_DCHECK(GetArena() == other->GetArena());
1472 InternalSwap(other);
1478 return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct<MoreNodesPerformedAcceptanceStrategy>(arena);
1480 using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom;
1482 ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*
this, from);
1484 using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom;
1486 ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*
this, from);
1494 template <
typename T>
1496 static ::absl::string_view FullMessageName() {
return "operations_research.MoreNodesPerformedAcceptanceStrategy"; }
1503 *
this = ::std::move(from);
1505 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1506 static
void* PROTOBUF_NONNULL PlacementNew_(
1507 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1508 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1509 static constexpr auto InternalNewImpl_();
1512 static constexpr auto InternalGenerateClassData_();
1514 ::
google::protobuf::Metadata GetMetadata() const;
1527 friend class ::
google::protobuf::MessageLite;
1528 friend class ::
google::protobuf::Arena;
1529 template <typename T>
1531 using InternalArenaConstructable_ =
void;
1532 using DestructorSkippable_ =
void;
1544#if defined(PROTOBUF_CUSTOM_VTABLE)
1551 template <
typename =
void>
1557 inline GreedyDescentAcceptanceStrategy& operator=(
const GreedyDescentAcceptanceStrategy& from) {
1562 if (
this == &from)
return *
this;
1563 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1564 InternalSwap(&from);
1571 inline const ::google::protobuf::UnknownFieldSet&
unknown_fields() const
1572 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1573 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1575 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1576 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1577 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1580 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
descriptor() {
1583 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1586 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1587 return default_instance().GetMetadata().reflection;
1593 static constexpr int kIndexInFileMessages = 10;
1596 if (other ==
this)
return;
1597 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1598 InternalSwap(other);
1600 ::google::protobuf::internal::GenericSwap(
this, other);
1604 if (other ==
this)
return;
1605 ABSL_DCHECK(GetArena() == other->GetArena());
1606 InternalSwap(other);
1612 return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct<GreedyDescentAcceptanceStrategy>(arena);
1614 using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom;
1616 ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*
this, from);
1618 using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom;
1619 void MergeFrom(
const GreedyDescentAcceptanceStrategy& from) {
1620 ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*
this, from);
1628 template <
typename T>
1630 static ::absl::string_view FullMessageName() {
return "operations_research.GreedyDescentAcceptanceStrategy"; }
1637 *
this = ::std::move(from);
1639 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1640 static
void* PROTOBUF_NONNULL PlacementNew_(
1641 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1642 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1643 static constexpr auto InternalNewImpl_();
1646 static constexpr auto InternalGenerateClassData_();
1648 ::
google::protobuf::Metadata GetMetadata() const;
1661 friend class ::
google::protobuf::MessageLite;
1662 friend class ::
google::protobuf::Arena;
1663 template <typename T>
1665 using InternalArenaConstructable_ =
void;
1666 using DestructorSkippable_ =
void;
1678#if defined(PROTOBUF_CUSTOM_VTABLE)
1685 template <
typename =
void>
1691 inline CoolingScheduleStrategy& operator=(
const CoolingScheduleStrategy& from) {
1695 inline CoolingScheduleStrategy& operator=(CoolingScheduleStrategy&& from)
noexcept {
1696 if (
this == &from)
return *
this;
1697 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1698 InternalSwap(&from);
1706 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1707 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1709 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1710 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1711 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1714 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1717 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1718 return default_instance().GetMetadata().descriptor;
1720 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1721 return default_instance().GetMetadata().reflection;
1723 static const CoolingScheduleStrategy& default_instance() {
1730 if (other ==
this)
return;
1731 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1732 InternalSwap(other);
1734 ::google::protobuf::internal::GenericSwap(
this, other);
1738 if (other ==
this)
return;
1739 ABSL_DCHECK(GetArena() == other->GetArena());
1740 InternalSwap(other);
1745 CoolingScheduleStrategy* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
1746 return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct<CoolingScheduleStrategy>(arena);
1748 using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom;
1750 ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*
this, from);
1752 using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom;
1753 void MergeFrom(
const CoolingScheduleStrategy& from) {
1754 ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*
this, from);
1758 bool IsInitialized()
const {
1762 template <
typename T>
1764 static ::absl::string_view FullMessageName() {
return "operations_research.CoolingScheduleStrategy"; }
1771 *
this = ::std::move(from);
1773 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1774 static
void* PROTOBUF_NONNULL PlacementNew_(
1775 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1776 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1777 static constexpr auto InternalNewImpl_();
1780 static constexpr auto InternalGenerateClassData_();
1782 ::
google::protobuf::Metadata GetMetadata() const;
1788 static inline
bool Value_IsValid(
int value) {
1791 static constexpr Value Value_MIN = CoolingScheduleStrategy_Value_Value_MIN;
1792 static constexpr Value Value_MAX = CoolingScheduleStrategy_Value_Value_MAX;
1793 static constexpr int Value_ARRAYSIZE = CoolingScheduleStrategy_Value_Value_ARRAYSIZE;
1797 template <
typename T>
1802 ::absl::string_view name,
Value* PROTOBUF_NONNULL value) {
1810 friend class ::google::protobuf::internal::TcParser;
1811 static const ::google::protobuf::internal::TcParseTable<0, 0,
1816 friend class ::google::protobuf::MessageLite;
1817 friend class ::google::protobuf::Arena;
1818 template <
typename T>
1819 friend class ::google::protobuf::Arena::InternalHelper;
1820 using InternalArenaConstructable_ = void;
1821 using DestructorSkippable_ = void;
1822 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2frouting_5fils_2eproto;
1833#if defined(PROTOBUF_CUSTOM_VTABLE)
1840 template <
typename =
void>
1846 inline AllNodesPerformedAcceptanceStrategy& operator=(
const AllNodesPerformedAcceptanceStrategy& from) {
1850 inline AllNodesPerformedAcceptanceStrategy& operator=(AllNodesPerformedAcceptanceStrategy&& from)
noexcept {
1851 if (
this == &from)
return *
this;
1852 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1853 InternalSwap(&from);
1860 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1861 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1862 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1864 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1865 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1866 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1869 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1870 return GetDescriptor();
1872 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1873 return default_instance().GetMetadata().descriptor;
1882 static constexpr int kIndexInFileMessages = 12;
1885 if (other ==
this)
return;
1886 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1887 InternalSwap(other);
1889 ::google::protobuf::internal::GenericSwap(
this, other);
1892 void UnsafeArenaSwap(AllNodesPerformedAcceptanceStrategy* PROTOBUF_NONNULL other) {
1893 if (other ==
this)
return;
1894 ABSL_DCHECK(GetArena() == other->GetArena());
1895 InternalSwap(other);
1901 return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct<AllNodesPerformedAcceptanceStrategy>(arena);
1903 using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom;
1905 ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*
this, from);
1907 using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom;
1909 ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*
this, from);
1917 template <
typename T>
1919 static ::absl::string_view FullMessageName() {
return "operations_research.AllNodesPerformedAcceptanceStrategy"; }
1926 *
this = ::std::move(from);
1928 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1929 static
void* PROTOBUF_NONNULL PlacementNew_(
1930 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1931 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1932 static constexpr auto InternalNewImpl_();
1935 static constexpr auto InternalGenerateClassData_();
1937 ::
google::protobuf::Metadata GetMetadata() const;
1950 friend class ::
google::protobuf::MessageLite;
1951 friend class ::
google::protobuf::Arena;
1952 template <typename T>
1953 friend class ::
google::protobuf::Arena::InternalHelper;
1954 using InternalArenaConstructable_ =
void;
1955 using DestructorSkippable_ =
void;
1968#if defined(PROTOBUF_CUSTOM_VTABLE)
1975 template <
typename =
void>
1981 inline AbsencesBasedAcceptanceStrategy& operator=(
const AbsencesBasedAcceptanceStrategy& from) {
1985 inline AbsencesBasedAcceptanceStrategy& operator=(AbsencesBasedAcceptanceStrategy&& from)
noexcept {
1986 if (
this == &from)
return *
this;
1987 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1988 InternalSwap(&from);
1995 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1996 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1997 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1999 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
2000 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2001 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
2004 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
2005 return GetDescriptor();
2010 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
2017 static constexpr int kIndexInFileMessages = 14;
2020 if (other ==
this)
return;
2021 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
2022 InternalSwap(other);
2024 ::google::protobuf::internal::GenericSwap(
this, other);
2027 void UnsafeArenaSwap(AbsencesBasedAcceptanceStrategy* PROTOBUF_NONNULL other) {
2028 if (other ==
this)
return;
2029 ABSL_DCHECK(GetArena() == other->GetArena());
2030 InternalSwap(other);
2036 return ::google::protobuf::Message::DefaultConstruct<AbsencesBasedAcceptanceStrategy>(arena);
2038 using ::google::protobuf::Message::CopyFrom;
2040 using ::google::protobuf::Message::MergeFrom;
2044 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
2045 const ::google::protobuf::MessageLite& from_msg);
2051 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
2052 #if defined(PROTOBUF_CUSTOM_VTABLE)
2054 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
2056 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
2057 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
2061 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2062 ::uint8_t* PROTOBUF_NONNULL target,
2063 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
2064 return _InternalSerialize(*
this, target, stream);
2067 ::size_t ByteSizeLong() const final;
2068 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2069 ::uint8_t* PROTOBUF_NONNULL target,
2070 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
2072 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
2075 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2076 static void SharedDtor(MessageLite& self);
2077 void InternalSwap(AbsencesBasedAcceptanceStrategy* PROTOBUF_NONNULL other);
2079 template <
typename T>
2081 static ::absl::string_view FullMessageName() {
return "operations_research.AbsencesBasedAcceptanceStrategy"; }
2083 explicit AbsencesBasedAcceptanceStrategy(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2088 *
this = ::std::move(from);
2090 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
2091 static
void* PROTOBUF_NONNULL PlacementNew_(
2092 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
2093 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2094 static constexpr auto InternalNewImpl_();
2097 static constexpr auto InternalGenerateClassData_();
2099 ::
google::protobuf::Metadata GetMetadata() const;
2104 kRemoveRouteWithLowestAbsencesFieldNumber = 1,
2107 bool has_remove_route_with_lowest_absences()
const;
2108 void clear_remove_route_with_lowest_absences() ;
2109 bool remove_route_with_lowest_absences()
const;
2110 void set_remove_route_with_lowest_absences(
bool value);
2113 bool _internal_remove_route_with_lowest_absences()
const;
2114 void _internal_set_remove_route_with_lowest_absences(
bool value);
2120 friend class ::google::protobuf::internal::TcParser;
2121 static const ::google::protobuf::internal::TcParseTable<0, 1,
2126 friend class ::google::protobuf::MessageLite;
2127 friend class ::google::protobuf::Arena;
2128 template <
typename T>
2129 friend class ::google::protobuf::Arena::InternalHelper;
2130 using InternalArenaConstructable_ = void;
2131 using DestructorSkippable_ = void;
2133 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
2134 inline explicit Impl_(
2135 ::google::protobuf::internal::InternalVisibility visibility,
2136 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2137 inline explicit Impl_(
2138 ::google::protobuf::internal::InternalVisibility visibility,
2139 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
2141 ::google::protobuf::internal::HasBits<1> _has_bits_;
2142 ::google::protobuf::internal::CachedSize _cached_size_;
2143 bool remove_route_with_lowest_absences_;
2144 PROTOBUF_TSAN_DECLARE_MEMBER
2146 union { Impl_ _impl_; };
2147 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2frouting_5fils_2eproto;
2153class OR_PROTO_DLL RuinStrategy final :
public ::google::protobuf::Message
2156 inline RuinStrategy() : RuinStrategy(nullptr) {}
2157 ~RuinStrategy() PROTOBUF_FINAL;
2159#if defined(PROTOBUF_CUSTOM_VTABLE)
2160 void operator delete(
RuinStrategy* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
2162 ::google::protobuf::internal::SizedDelete(msg,
sizeof(
RuinStrategy));
2166 template <
typename =
void>
2167 explicit PROTOBUF_CONSTEXPR
RuinStrategy(::google::protobuf::internal::ConstantInitialized);
2172 inline RuinStrategy& operator=(
const RuinStrategy& from) {
2176 inline RuinStrategy& operator=(RuinStrategy&& from)
noexcept {
2177 if (
this == &from)
return *
this;
2178 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
2179 InternalSwap(&from);
2186 inline const ::google::protobuf::UnknownFieldSet&
unknown_fields() const
2187 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2188 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
2190 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
2191 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2192 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
2195 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
2196 return GetDescriptor();
2198 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
2201 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
2202 return default_instance().GetMetadata().reflection;
2216 inline void Swap(
RuinStrategy* PROTOBUF_NONNULL other) {
2217 if (other ==
this)
return;
2218 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
2219 InternalSwap(other);
2221 ::google::protobuf::internal::GenericSwap(
this, other);
2225 if (other ==
this)
return;
2226 ABSL_DCHECK(GetArena() == other->GetArena());
2227 InternalSwap(other);
2232 RuinStrategy* PROTOBUF_NONNULL
New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
2233 return ::google::protobuf::Message::DefaultConstruct<RuinStrategy>(arena);
2235 using ::google::protobuf::Message::CopyFrom;
2237 using ::google::protobuf::Message::MergeFrom;
2241 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
2242 const ::google::protobuf::MessageLite& from_msg);
2248 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
2249 #if defined(PROTOBUF_CUSTOM_VTABLE)
2253 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
2254 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
2259 ::uint8_t* PROTOBUF_NONNULL target,
2260 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
2264 ::size_t ByteSizeLong() const final;
2265 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2266 ::uint8_t* PROTOBUF_NONNULL target,
2267 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
2269 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
2272 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2273 static void SharedDtor(MessageLite& self);
2274 void InternalSwap(RuinStrategy* PROTOBUF_NONNULL other);
2276 template <
typename T>
2278 static ::absl::string_view FullMessageName() {
return "operations_research.RuinStrategy"; }
2280 explicit RuinStrategy(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2281 RuinStrategy(::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const RuinStrategy& from);
2283 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
RuinStrategy&& from) noexcept
2285 *
this = ::std::move(from);
2287 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
2288 static
void* PROTOBUF_NONNULL PlacementNew_(
2289 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
2290 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2291 static constexpr auto InternalNewImpl_();
2294 static constexpr auto InternalGenerateClassData_();
2296 ::
google::protobuf::Metadata GetMetadata() const;
2301 kSpatiallyCloseRoutesFieldNumber = 1,
2302 kRandomWalkFieldNumber = 2,
2303 kSisrFieldNumber = 3,
2306 bool has_spatially_close_routes()
const;
2308 bool _internal_has_spatially_close_routes()
const;
2311 void clear_spatially_close_routes() ;
2312 const ::operations_research::SpatiallyCloseRoutesRuinStrategy& spatially_close_routes()
const;
2320 const ::operations_research::SpatiallyCloseRoutesRuinStrategy& _internal_spatially_close_routes()
const;
2327 bool _internal_has_random_walk()
const;
2331 const ::operations_research::RandomWalkRuinStrategy&
random_walk()
const;
2339 const ::operations_research::RandomWalkRuinStrategy& _internal_random_walk()
const;
2346 bool _internal_has_sisr()
const;
2350 const ::operations_research::SISRRuinStrategy&
sisr()
const;
2358 const ::operations_research::SISRRuinStrategy& _internal_sisr()
const;
2367 void set_has_spatially_close_routes();
2368 void set_has_random_walk();
2369 void set_has_sisr();
2370 inline bool has_strategy()
const;
2371 inline void clear_has_strategy();
2372 friend class ::google::protobuf::internal::TcParser;
2373 static const ::google::protobuf::internal::TcParseTable<0, 3,
2378 friend class ::google::protobuf::MessageLite;
2379 friend class ::google::protobuf::Arena;
2380 template <
typename T>
2381 friend class ::google::protobuf::Arena::InternalHelper;
2382 using InternalArenaConstructable_ = void;
2383 using DestructorSkippable_ = void;
2385 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
2386 inline explicit Impl_(
2387 ::google::protobuf::internal::InternalVisibility visibility,
2388 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2389 inline explicit Impl_(
2390 ::google::protobuf::internal::InternalVisibility visibility,
2391 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
2393 union StrategyUnion {
2394 constexpr StrategyUnion() : _constinit_{} {}
2395 ::google::protobuf::internal::ConstantInitialized _constinit_;
2396 ::google::protobuf::Message* PROTOBUF_NULLABLE spatially_close_routes_;
2397 ::google::protobuf::Message* PROTOBUF_NULLABLE random_walk_;
2398 ::google::protobuf::Message* PROTOBUF_NULLABLE sisr_;
2400 ::google::protobuf::internal::CachedSize _cached_size_;
2401 ::uint32_t _oneof_case_[1];
2402 PROTOBUF_TSAN_DECLARE_MEMBER
2404 union { Impl_ _impl_; };
2405 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2frouting_5fils_2eproto;
2417#if defined(PROTOBUF_CUSTOM_VTABLE)
2424 template <
typename =
void>
2434 inline RecreateParameters& operator=(RecreateParameters&& from)
noexcept {
2435 if (
this == &from)
return *
this;
2436 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
2437 InternalSwap(&from);
2445 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2446 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
2449 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2450 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
2453 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
2454 return GetDescriptor();
2456 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
2457 return default_instance().GetMetadata().descriptor;
2459 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
2460 return default_instance().GetMetadata().reflection;
2466 enum ParametersCase {
2472 static constexpr int kIndexInFileMessages = 4;
2475 if (other ==
this)
return;
2476 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
2477 InternalSwap(other);
2479 ::google::protobuf::internal::GenericSwap(
this, other);
2483 if (other ==
this)
return;
2484 ABSL_DCHECK(GetArena() == other->GetArena());
2485 InternalSwap(other);
2490 RecreateParameters* PROTOBUF_NONNULL
New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
2491 return ::google::protobuf::Message::DefaultConstruct<RecreateParameters>(arena);
2493 using ::google::protobuf::Message::CopyFrom;
2495 using ::google::protobuf::Message::MergeFrom;
2499 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
2500 const ::google::protobuf::MessageLite& from_msg);
2503 bool IsInitialized()
const {
2506 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
2507 #if defined(PROTOBUF_CUSTOM_VTABLE)
2509 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
2511 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
2512 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
2516 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2517 ::uint8_t* PROTOBUF_NONNULL target,
2518 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
2522 ::size_t ByteSizeLong() const final;
2523 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2524 ::uint8_t* PROTOBUF_NONNULL target,
2525 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
2527 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
2530 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2531 static void SharedDtor(MessageLite& self);
2532 void InternalSwap(RecreateParameters* PROTOBUF_NONNULL other);
2534 template <
typename T>
2536 static ::absl::string_view FullMessageName() {
return "operations_research.RecreateParameters"; }
2538 explicit RecreateParameters(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2539 RecreateParameters(::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const RecreateParameters& from);
2543 *
this = ::std::move(from);
2545 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
2546 static
void* PROTOBUF_NONNULL PlacementNew_(
2547 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
2548 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2549 static constexpr auto InternalNewImpl_();
2552 static constexpr auto InternalGenerateClassData_();
2554 ::
google::protobuf::Metadata GetMetadata() const;
2559 kLocalCheapestInsertionFieldNumber = 1,
2560 kSavingsFieldNumber = 2,
2561 kGlobalCheapestInsertionFieldNumber = 3,
2564 bool has_local_cheapest_insertion()
const;
2566 bool _internal_has_local_cheapest_insertion()
const;
2569 void clear_local_cheapest_insertion() ;
2570 const ::operations_research::LocalCheapestInsertionParameters& local_cheapest_insertion()
const;
2578 const ::operations_research::LocalCheapestInsertionParameters& _internal_local_cheapest_insertion()
const;
2585 bool _internal_has_savings()
const;
2589 const ::operations_research::SavingsParameters&
savings()
const;
2597 const ::operations_research::SavingsParameters& _internal_savings()
const;
2604 bool _internal_has_global_cheapest_insertion()
const;
2616 const ::operations_research::GlobalCheapestInsertionParameters& _internal_global_cheapest_insertion()
const;
2625 void set_has_local_cheapest_insertion();
2626 void set_has_savings();
2627 void set_has_global_cheapest_insertion();
2628 inline bool has_parameters()
const;
2629 inline void clear_has_parameters();
2630 friend class ::google::protobuf::internal::TcParser;
2631 static const ::google::protobuf::internal::TcParseTable<0, 3,
2636 friend class ::google::protobuf::MessageLite;
2637 friend class ::google::protobuf::Arena;
2638 template <
typename T>
2639 friend class ::google::protobuf::Arena::InternalHelper;
2640 using InternalArenaConstructable_ = void;
2641 using DestructorSkippable_ = void;
2643 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
2644 inline explicit Impl_(
2645 ::google::protobuf::internal::InternalVisibility visibility,
2646 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2647 inline explicit Impl_(
2648 ::google::protobuf::internal::InternalVisibility visibility,
2649 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
2651 union ParametersUnion {
2652 constexpr ParametersUnion() : _constinit_{} {}
2653 ::google::protobuf::internal::ConstantInitialized _constinit_;
2654 ::google::protobuf::Message* PROTOBUF_NULLABLE local_cheapest_insertion_;
2655 ::google::protobuf::Message* PROTOBUF_NULLABLE savings_;
2656 ::google::protobuf::Message* PROTOBUF_NULLABLE global_cheapest_insertion_;
2658 ::google::protobuf::internal::CachedSize _cached_size_;
2659 ::uint32_t _oneof_case_[1];
2660 PROTOBUF_TSAN_DECLARE_MEMBER
2662 union { Impl_ _impl_; };
2663 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2frouting_5fils_2eproto;
2675#if defined(PROTOBUF_CUSTOM_VTABLE)
2682 template <
typename =
void>
2683 explicit PROTOBUF_CONSTEXPR
AcceptanceStrategy(::google::protobuf::internal::ConstantInitialized);
2692 inline AcceptanceStrategy& operator=(AcceptanceStrategy&& from)
noexcept {
2693 if (
this == &from)
return *
this;
2694 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
2695 InternalSwap(&from);
2702 inline const ::google::protobuf::UnknownFieldSet&
unknown_fields() const
2703 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2704 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
2706 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
2707 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2708 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
2711 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
2712 return GetDescriptor();
2714 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
2715 return default_instance().GetMetadata().descriptor;
2735 if (other ==
this)
return;
2736 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
2737 InternalSwap(other);
2739 ::google::protobuf::internal::GenericSwap(
this, other);
2743 if (other ==
this)
return;
2744 ABSL_DCHECK(GetArena() == other->GetArena());
2745 InternalSwap(other);
2750 AcceptanceStrategy* PROTOBUF_NONNULL
New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
2751 return ::google::protobuf::Message::DefaultConstruct<AcceptanceStrategy>(arena);
2753 using ::google::protobuf::Message::CopyFrom;
2755 using ::google::protobuf::Message::MergeFrom;
2756 void MergeFrom(
const AcceptanceStrategy& from) { AcceptanceStrategy::MergeImpl(*
this, from); }
2759 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
2760 const ::google::protobuf::MessageLite& from_msg);
2766 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
2767 #if defined(PROTOBUF_CUSTOM_VTABLE)
2769 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
2770 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2771 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
2772 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
2776 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2777 ::uint8_t* PROTOBUF_NONNULL target,
2778 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
2782 ::size_t ByteSizeLong() const final;
2783 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2784 ::uint8_t* PROTOBUF_NONNULL target,
2785 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
2787 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
2790 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2791 static void SharedDtor(MessageLite& self);
2792 void InternalSwap(AcceptanceStrategy* PROTOBUF_NONNULL other);
2794 template <
typename T>
2796 static ::absl::string_view FullMessageName() {
return "operations_research.AcceptanceStrategy"; }
2798 explicit AcceptanceStrategy(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2799 AcceptanceStrategy(::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const AcceptanceStrategy& from);
2801 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, AcceptanceStrategy&& from) noexcept
2803 *
this = ::std::move(from);
2805 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
2806 static
void* PROTOBUF_NONNULL PlacementNew_(
2807 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
2808 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2809 static constexpr auto InternalNewImpl_();
2812 static constexpr auto InternalGenerateClassData_();
2814 ::
google::protobuf::Metadata GetMetadata() const;
2819 kGreedyDescentFieldNumber = 1,
2820 kSimulatedAnnealingFieldNumber = 2,
2821 kAllNodesPerformedFieldNumber = 3,
2822 kMoreNodesPerformedFieldNumber = 4,
2823 kAbsencesBasedFieldNumber = 5,
2826 bool has_greedy_descent()
const;
2828 bool _internal_has_greedy_descent()
const;
2831 void clear_greedy_descent() ;
2832 const ::operations_research::GreedyDescentAcceptanceStrategy& greedy_descent()
const;
2840 const ::operations_research::GreedyDescentAcceptanceStrategy& _internal_greedy_descent()
const;
2847 bool _internal_has_simulated_annealing()
const;
2851 const ::operations_research::SimulatedAnnealingAcceptanceStrategy&
simulated_annealing()
const;
2859 const ::operations_research::SimulatedAnnealingAcceptanceStrategy& _internal_simulated_annealing()
const;
2866 bool _internal_has_all_nodes_performed()
const;
2870 const ::operations_research::AllNodesPerformedAcceptanceStrategy&
all_nodes_performed()
const;
2878 const ::operations_research::AllNodesPerformedAcceptanceStrategy& _internal_all_nodes_performed()
const;
2885 bool _internal_has_more_nodes_performed()
const;
2889 const ::operations_research::MoreNodesPerformedAcceptanceStrategy&
more_nodes_performed()
const;
2897 const ::operations_research::MoreNodesPerformedAcceptanceStrategy& _internal_more_nodes_performed()
const;
2904 bool _internal_has_absences_based()
const;
2908 const ::operations_research::AbsencesBasedAcceptanceStrategy&
absences_based()
const;
2916 const ::operations_research::AbsencesBasedAcceptanceStrategy& _internal_absences_based()
const;
2925 void set_has_greedy_descent();
2926 void set_has_simulated_annealing();
2927 void set_has_all_nodes_performed();
2928 void set_has_more_nodes_performed();
2929 void set_has_absences_based();
2930 inline bool has_strategy()
const;
2931 inline void clear_has_strategy();
2932 friend class ::google::protobuf::internal::TcParser;
2933 static const ::google::protobuf::internal::TcParseTable<0, 5,
2938 friend class ::google::protobuf::MessageLite;
2939 friend class ::google::protobuf::Arena;
2940 template <
typename T>
2941 friend class ::google::protobuf::Arena::InternalHelper;
2942 using InternalArenaConstructable_ = void;
2943 using DestructorSkippable_ = void;
2945 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
2946 inline explicit Impl_(
2947 ::google::protobuf::internal::InternalVisibility visibility,
2948 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2949 inline explicit Impl_(
2950 ::google::protobuf::internal::InternalVisibility visibility,
2951 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
2953 union StrategyUnion {
2954 constexpr StrategyUnion() : _constinit_{} {}
2955 ::google::protobuf::internal::ConstantInitialized _constinit_;
2956 ::google::protobuf::Message* PROTOBUF_NULLABLE greedy_descent_;
2957 ::google::protobuf::Message* PROTOBUF_NULLABLE simulated_annealing_;
2958 ::google::protobuf::Message* PROTOBUF_NULLABLE all_nodes_performed_;
2959 ::google::protobuf::Message* PROTOBUF_NULLABLE more_nodes_performed_;
2960 ::google::protobuf::Message* PROTOBUF_NULLABLE absences_based_;
2962 ::google::protobuf::internal::CachedSize _cached_size_;
2963 ::uint32_t _oneof_case_[1];
2964 PROTOBUF_TSAN_DECLARE_MEMBER
2966 union { Impl_ _impl_; };
2967 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2frouting_5fils_2eproto;
2979#if defined(PROTOBUF_CUSTOM_VTABLE)
2980 void operator delete(
RecreateStrategy* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
2986 template <
typename =
void>
2987 explicit PROTOBUF_CONSTEXPR
RecreateStrategy(::google::protobuf::internal::ConstantInitialized);
2997 if (
this == &from)
return *
this;
2998 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
2999 InternalSwap(&from);
3007 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3008 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
3010 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
3011 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3012 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
3015 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
3016 return GetDescriptor();
3018 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
3019 return default_instance().GetMetadata().descriptor;
3021 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
3028 static constexpr int kIndexInFileMessages = 5;
3030 inline void Swap(RecreateStrategy* PROTOBUF_NONNULL other) {
3031 if (other ==
this)
return;
3032 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
3033 InternalSwap(other);
3035 ::google::protobuf::internal::GenericSwap(
this, other);
3039 if (other ==
this)
return;
3040 ABSL_DCHECK(GetArena() == other->GetArena());
3041 InternalSwap(other);
3047 return ::google::protobuf::Message::DefaultConstruct<RecreateStrategy>(arena);
3049 using ::google::protobuf::Message::CopyFrom;
3051 using ::google::protobuf::Message::MergeFrom;
3052 void MergeFrom(
const RecreateStrategy& from) { RecreateStrategy::MergeImpl(*
this, from); }
3055 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
3056 const ::google::protobuf::MessageLite& from_msg);
3062 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
3063 #if defined(PROTOBUF_CUSTOM_VTABLE)
3065 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
3067 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
3068 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
3072 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
3073 ::uint8_t* PROTOBUF_NONNULL target,
3074 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
3078 ::size_t ByteSizeLong() const final;
3079 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
3080 ::uint8_t* PROTOBUF_NONNULL target,
3081 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
3083 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
3086 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
3087 static void SharedDtor(MessageLite& self);
3088 void InternalSwap(RecreateStrategy* PROTOBUF_NONNULL other);
3090 template <
typename T>
3092 static ::absl::string_view FullMessageName() {
return "operations_research.RecreateStrategy"; }
3094 explicit RecreateStrategy(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
3095 RecreateStrategy(::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const RecreateStrategy& from);
3097 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, RecreateStrategy&& from) noexcept
3098 : RecreateStrategy(arena) {
3099 *
this = ::std::move(from);
3101 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
3102 static
void* PROTOBUF_NONNULL PlacementNew_(
3103 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
3104 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
3105 static constexpr auto InternalNewImpl_();
3108 static constexpr auto InternalGenerateClassData_();
3110 ::
google::protobuf::Metadata GetMetadata() const;
3115 kParametersFieldNumber = 2,
3116 kHeuristicFieldNumber = 1,
3119 bool has_parameters()
const;
3120 void clear_parameters() ;
3121 const ::operations_research::RecreateParameters& parameters()
const;
3129 const ::operations_research::RecreateParameters& _internal_parameters()
const;
3147 friend class ::google::protobuf::internal::TcParser;
3148 static const ::google::protobuf::internal::TcParseTable<1, 2,
3153 friend class ::google::protobuf::MessageLite;
3154 friend class ::google::protobuf::Arena;
3155 template <
typename T>
3156 friend class ::google::protobuf::Arena::InternalHelper;
3157 using InternalArenaConstructable_ = void;
3158 using DestructorSkippable_ = void;
3160 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
3161 inline explicit Impl_(
3162 ::google::protobuf::internal::InternalVisibility visibility,
3163 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
3164 inline explicit Impl_(
3165 ::google::protobuf::internal::InternalVisibility visibility,
3166 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
3168 ::google::protobuf::internal::HasBits<1> _has_bits_;
3169 ::google::protobuf::internal::CachedSize _cached_size_;
3172 PROTOBUF_TSAN_DECLARE_MEMBER
3174 union { Impl_ _impl_; };
3175 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2frouting_5fils_2eproto;
3181class OR_PROTO_DLL RuinRecreateParameters final :
public ::google::protobuf::Message
3184 inline RuinRecreateParameters() : RuinRecreateParameters(nullptr) {}
3185 ~RuinRecreateParameters() PROTOBUF_FINAL;
3187#if defined(PROTOBUF_CUSTOM_VTABLE)
3188 void operator delete(RuinRecreateParameters* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
3194 template <
typename =
void>
3205 if (
this == &from)
return *
this;
3206 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
3207 InternalSwap(&from);
3215 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3216 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
3218 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
3219 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3220 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
3223 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
3224 return GetDescriptor();
3226 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
3227 return default_instance().GetMetadata().descriptor;
3229 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
3230 return default_instance().GetMetadata().reflection;
3236 static constexpr int kIndexInFileMessages = 7;
3238 inline void Swap(RuinRecreateParameters* PROTOBUF_NONNULL other) {
3239 if (other ==
this)
return;
3240 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
3241 InternalSwap(other);
3243 ::google::protobuf::internal::GenericSwap(
this, other);
3247 if (other ==
this)
return;
3248 ABSL_DCHECK(GetArena() == other->GetArena());
3249 InternalSwap(other);
3255 return ::google::protobuf::Message::DefaultConstruct<RuinRecreateParameters>(arena);
3257 using ::google::protobuf::Message::CopyFrom;
3259 using ::google::protobuf::Message::MergeFrom;
3263 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
3264 const ::google::protobuf::MessageLite& from_msg);
3270 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
3271 #if defined(PROTOBUF_CUSTOM_VTABLE)
3273 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
3275 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
3276 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
3280 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
3281 ::uint8_t* PROTOBUF_NONNULL target,
3282 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
3283 return _InternalSerialize(*
this, target, stream);
3286 ::size_t ByteSizeLong() const final;
3287 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
3288 ::uint8_t* PROTOBUF_NONNULL target,
3289 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
3291 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
3294 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
3295 static void SharedDtor(MessageLite& self);
3296 void InternalSwap(RuinRecreateParameters* PROTOBUF_NONNULL other);
3298 template <
typename T>
3300 static ::absl::string_view FullMessageName() {
return "operations_research.RuinRecreateParameters"; }
3302 explicit RuinRecreateParameters(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
3303 RuinRecreateParameters(::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const RuinRecreateParameters& from);
3304 RuinRecreateParameters(
3305 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, RuinRecreateParameters&& from) noexcept
3306 : RuinRecreateParameters(arena) {
3307 *
this = ::std::move(from);
3309 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
3310 static
void* PROTOBUF_NONNULL PlacementNew_(
3311 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
3312 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
3313 static constexpr auto InternalNewImpl_();
3316 static constexpr auto InternalGenerateClassData_();
3318 ::
google::protobuf::Metadata GetMetadata() const;
3323 kRuinStrategiesFieldNumber = 1,
3324 kRecreateStrategyFieldNumber = 3,
3325 kRuinCompositionStrategyFieldNumber = 2,
3326 kRouteSelectionMinNeighborsFieldNumber = 5,
3327 kRouteSelectionNeighborsRatioFieldNumber = 4,
3328 kRouteSelectionMaxNeighborsFieldNumber = 6,
3331 int ruin_strategies_size()
const;
3333 int _internal_ruin_strategies_size()
const;
3336 void clear_ruin_strategies() ;
3338 ::google::protobuf::RepeatedPtrField<::operations_research::RuinStrategy>* PROTOBUF_NONNULL mutable_ruin_strategies();
3341 const ::google::protobuf::RepeatedPtrField<::operations_research::RuinStrategy>& _internal_ruin_strategies()
const;
3342 ::google::protobuf::RepeatedPtrField<::operations_research::RuinStrategy>* PROTOBUF_NONNULL _internal_mutable_ruin_strategies();
3346 const ::google::protobuf::RepeatedPtrField<::operations_research::RuinStrategy>&
ruin_strategies()
const;
3358 const ::operations_research::RecreateStrategy& _internal_recreate_strategy()
const;
3379 ::uint32_t _internal_route_selection_min_neighbors()
const;
3380 void _internal_set_route_selection_min_neighbors(::uint32_t value);
3390 double _internal_route_selection_neighbors_ratio()
const;
3391 void _internal_set_route_selection_neighbors_ratio(
double value);
3401 ::uint32_t _internal_route_selection_max_neighbors()
const;
3402 void _internal_set_route_selection_max_neighbors(::uint32_t value);
3408 friend class ::google::protobuf::internal::TcParser;
3409 static const ::google::protobuf::internal::TcParseTable<3, 6,
3414 friend class ::google::protobuf::MessageLite;
3415 friend class ::google::protobuf::Arena;
3416 template <
typename T>
3417 friend class ::google::protobuf::Arena::InternalHelper;
3418 using InternalArenaConstructable_ = void;
3419 using DestructorSkippable_ = void;
3421 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
3422 inline explicit Impl_(
3423 ::google::protobuf::internal::InternalVisibility visibility,
3424 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
3425 inline explicit Impl_(
3426 ::google::protobuf::internal::InternalVisibility visibility,
3427 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
3429 ::google::protobuf::internal::HasBits<1> _has_bits_;
3430 ::google::protobuf::internal::CachedSize _cached_size_;
3431 ::google::protobuf::RepeatedPtrField< ::operations_research::RuinStrategy > ruin_strategies_;
3433 int ruin_composition_strategy_;
3434 ::uint32_t route_selection_min_neighbors_;
3435 double route_selection_neighbors_ratio_;
3436 ::uint32_t route_selection_max_neighbors_;
3437 PROTOBUF_TSAN_DECLARE_MEMBER
3439 union { Impl_ _impl_; };
3440 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2frouting_5fils_2eproto;
3446class OR_PROTO_DLL IteratedLocalSearchParameters final :
public ::google::protobuf::Message
3449 inline IteratedLocalSearchParameters() : IteratedLocalSearchParameters(nullptr) {}
3450 ~IteratedLocalSearchParameters() PROTOBUF_FINAL;
3452#if defined(PROTOBUF_CUSTOM_VTABLE)
3453 void operator delete(IteratedLocalSearchParameters* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
3455 ::google::protobuf::internal::SizedDelete(msg,
sizeof(IteratedLocalSearchParameters));
3459 template <
typename =
void>
3470 if (
this == &from)
return *
this;
3471 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
3472 InternalSwap(&from);
3479 inline const ::google::protobuf::UnknownFieldSet&
unknown_fields() const
3480 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3481 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
3484 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3485 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
3488 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
descriptor() {
3491 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
3492 return default_instance().GetMetadata().descriptor;
3494 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
3495 return default_instance().GetMetadata().reflection;
3504 if (other ==
this)
return;
3505 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
3506 InternalSwap(other);
3508 ::google::protobuf::internal::GenericSwap(
this, other);
3511 void UnsafeArenaSwap(IteratedLocalSearchParameters* PROTOBUF_NONNULL other) {
3512 if (other ==
this)
return;
3513 ABSL_DCHECK(GetArena() == other->GetArena());
3514 InternalSwap(other);
3520 return ::google::protobuf::Message::DefaultConstruct<IteratedLocalSearchParameters>(arena);
3522 using ::google::protobuf::Message::CopyFrom;
3524 using ::google::protobuf::Message::MergeFrom;
3528 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
3529 const ::google::protobuf::MessageLite& from_msg);
3535 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
3536 #if defined(PROTOBUF_CUSTOM_VTABLE)
3538 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
3540 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
3541 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
3545 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
3546 ::uint8_t* PROTOBUF_NONNULL target,
3547 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
3548 return _InternalSerialize(*
this, target, stream);
3553 ::uint8_t* PROTOBUF_NONNULL target,
3554 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
3559 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
3560 static void SharedDtor(MessageLite& self);
3563 template <
typename T>
3565 static ::absl::string_view FullMessageName() {
return "operations_research.IteratedLocalSearchParameters"; }
3567 explicit IteratedLocalSearchParameters(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
3568 IteratedLocalSearchParameters(::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const IteratedLocalSearchParameters& from);
3569 IteratedLocalSearchParameters(
3570 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, IteratedLocalSearchParameters&& from) noexcept
3571 : IteratedLocalSearchParameters(arena) {
3572 *
this = ::std::move(from);
3574 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
3575 static
void* PROTOBUF_NONNULL PlacementNew_(
3576 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
3577 ::
google::protobuf::
Arena* PROTOBUF_NULLABLE arena);
3578 static constexpr auto InternalNewImpl_();
3595 bool has_ruin_recreate_parameters()
const;
3596 void clear_ruin_recreate_parameters() ;
3597 const ::operations_research::RuinRecreateParameters& ruin_recreate_parameters()
const;
3605 const ::operations_research::RuinRecreateParameters& _internal_ruin_recreate_parameters()
const;
3620 const ::operations_research::AcceptanceStrategy& _internal_reference_solution_acceptance_strategy()
const;
3635 const ::operations_research::AcceptanceStrategy& _internal_best_solution_acceptance_strategy()
const;
3656 bool _internal_improve_perturbed_solution()
const;
3657 void _internal_set_improve_perturbed_solution(
bool value);
3663 friend class ::google::protobuf::internal::TcParser;
3664 static const ::google::protobuf::internal::TcParseTable<3, 5,
3669 friend class ::google::protobuf::MessageLite;
3670 friend class ::google::protobuf::Arena;
3671 template <
typename T>
3672 friend class ::google::protobuf::Arena::InternalHelper;
3673 using InternalArenaConstructable_ = void;
3674 using DestructorSkippable_ = void;
3676 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
3677 inline explicit Impl_(
3678 ::google::protobuf::internal::InternalVisibility visibility,
3679 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
3680 inline explicit Impl_(
3681 ::google::protobuf::internal::InternalVisibility visibility,
3682 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
3684 ::google::protobuf::internal::HasBits<1> _has_bits_;
3685 ::google::protobuf::internal::CachedSize _cached_size_;
3689 int perturbation_strategy_;
3690 bool improve_perturbed_solution_;
3691 PROTOBUF_TSAN_DECLARE_MEMBER
3693 union { Impl_ _impl_; };
3694 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2frouting_5fils_2eproto;
3708#pragma GCC diagnostic push
3709#pragma GCC diagnostic ignored "-Wstrict-aliasing"
3717 bool value = CheckHasBit(
_impl_._has_bits_[0], 0x00000001U);
3721 ::google::protobuf::internal::TSanWrite(&_impl_);
3722 _impl_.num_ruined_routes_ = 0u;
3723 ClearHasBit(_impl_._has_bits_[0],
3726inline ::uint32_t SpatiallyCloseRoutesRuinStrategy::num_ruined_routes()
const {
3728 return _internal_num_ruined_routes();
3730inline void SpatiallyCloseRoutesRuinStrategy::set_num_ruined_routes(::uint32_t value) {
3731 _internal_set_num_ruined_routes(value);
3732 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
3735inline ::uint32_t SpatiallyCloseRoutesRuinStrategy::_internal_num_ruined_routes()
const {
3736 ::google::protobuf::internal::TSanRead(&_impl_);
3739inline void SpatiallyCloseRoutesRuinStrategy::_internal_set_num_ruined_routes(::uint32_t value) {
3740 ::google::protobuf::internal::TSanWrite(&_impl_);
3750 bool value = CheckHasBit(
_impl_._has_bits_[0], 0x00000001U);
3754 ::google::protobuf::internal::TSanWrite(&_impl_);
3755 _impl_.num_removed_visits_ = 0u;
3756 ClearHasBit(_impl_._has_bits_[0],
3759inline ::uint32_t RandomWalkRuinStrategy::num_removed_visits()
const {
3761 return _internal_num_removed_visits();
3763inline void RandomWalkRuinStrategy::set_num_removed_visits(::uint32_t value) {
3764 _internal_set_num_removed_visits(value);
3765 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
3768inline ::uint32_t RandomWalkRuinStrategy::_internal_num_removed_visits()
const {
3769 ::google::protobuf::internal::TSanRead(&_impl_);
3770 return _impl_.num_removed_visits_;
3772inline void RandomWalkRuinStrategy::_internal_set_num_removed_visits(::uint32_t value) {
3773 ::google::protobuf::internal::TSanWrite(&_impl_);
3774 _impl_.num_removed_visits_ = value;
3783 bool value = CheckHasBit(
_impl_._has_bits_[0], 0x00000001U);
3787 ::google::protobuf::internal::TSanWrite(&_impl_);
3788 _impl_.max_removed_sequence_size_ = 0u;
3789 ClearHasBit(_impl_._has_bits_[0],
3792inline ::uint32_t SISRRuinStrategy::max_removed_sequence_size()
const {
3794 return _internal_max_removed_sequence_size();
3796inline void SISRRuinStrategy::set_max_removed_sequence_size(::uint32_t value) {
3797 _internal_set_max_removed_sequence_size(value);
3798 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
3801inline ::uint32_t SISRRuinStrategy::_internal_max_removed_sequence_size()
const {
3802 ::google::protobuf::internal::TSanRead(&_impl_);
3803 return _impl_.max_removed_sequence_size_;
3805inline void SISRRuinStrategy::_internal_set_max_removed_sequence_size(::uint32_t value) {
3806 ::google::protobuf::internal::TSanWrite(&
_impl_);
3807 _impl_.max_removed_sequence_size_ = value;
3812 bool value = CheckHasBit(
_impl_._has_bits_[0], 0x00000002U);
3816 ::google::protobuf::internal::TSanWrite(&
_impl_);
3817 _impl_.avg_num_removed_visits_ = 0u;
3818 ClearHasBit(
_impl_._has_bits_[0],
3823 return _internal_avg_num_removed_visits();
3825inline void SISRRuinStrategy::set_avg_num_removed_visits(::uint32_t value) {
3826 _internal_set_avg_num_removed_visits(value);
3827 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
3830inline ::uint32_t SISRRuinStrategy::_internal_avg_num_removed_visits()
const {
3831 ::google::protobuf::internal::TSanRead(&_impl_);
3832 return _impl_.avg_num_removed_visits_;
3834inline void SISRRuinStrategy::_internal_set_avg_num_removed_visits(::uint32_t value) {
3835 ::google::protobuf::internal::TSanWrite(&
_impl_);
3836 _impl_.avg_num_removed_visits_ = value;
3841 bool value = CheckHasBit(
_impl_._has_bits_[0], 0x00000004U);
3845 ::google::protobuf::internal::TSanWrite(&
_impl_);
3846 _impl_.bypass_factor_ = 0;
3847 ClearHasBit(
_impl_._has_bits_[0],
3852 return _internal_bypass_factor();
3854inline void SISRRuinStrategy::set_bypass_factor(
double value) {
3855 _internal_set_bypass_factor(value);
3856 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
3859inline double SISRRuinStrategy::_internal_bypass_factor()
const {
3860 ::google::protobuf::internal::TSanRead(&_impl_);
3861 return _impl_.bypass_factor_;
3863inline void SISRRuinStrategy::_internal_set_bypass_factor(
double value) {
3864 ::google::protobuf::internal::TSanWrite(&
_impl_);
3865 _impl_.bypass_factor_ = value;
3874 return strategy_case() == kSpatiallyCloseRoutes;
3876inline bool RuinStrategy::_internal_has_spatially_close_routes()
const {
3877 return strategy_case() == kSpatiallyCloseRoutes;
3879inline void RuinStrategy::set_has_spatially_close_routes() {
3880 _impl_._oneof_case_[0] = kSpatiallyCloseRoutes;
3882inline void RuinStrategy::clear_spatially_close_routes() {
3883 ::google::protobuf::internal::TSanWrite(&_impl_);
3884 if (strategy_case() == kSpatiallyCloseRoutes) {
3885 if (GetArena() ==
nullptr) {
3886 delete _impl_.strategy_.spatially_close_routes_;
3887 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
3888 ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.strategy_.spatially_close_routes_);
3890 clear_has_strategy();
3893inline ::operations_research::SpatiallyCloseRoutesRuinStrategy* PROTOBUF_NULLABLE RuinStrategy::release_spatially_close_routes() {
3895 if (strategy_case() == kSpatiallyCloseRoutes) {
3896 clear_has_strategy();
3898 if (GetArena() !=
nullptr) {
3899 temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
3901 _impl_.strategy_.spatially_close_routes_ =
nullptr;
3907inline const ::operations_research::SpatiallyCloseRoutesRuinStrategy& RuinStrategy::_internal_spatially_close_routes()
const {
3911inline const ::operations_research::SpatiallyCloseRoutesRuinStrategy& RuinStrategy::spatially_close_routes() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
3913 return _internal_spatially_close_routes();
3915inline ::operations_research::SpatiallyCloseRoutesRuinStrategy* PROTOBUF_NULLABLE RuinStrategy::unsafe_arena_release_spatially_close_routes() {
3918 clear_has_strategy();
3920 _impl_.strategy_.spatially_close_routes_ =
nullptr;
3926inline void RuinStrategy::unsafe_arena_set_allocated_spatially_close_routes(
3927 ::operations_research::SpatiallyCloseRoutesRuinStrategy* PROTOBUF_NULLABLE value) {
3933 set_has_spatially_close_routes();
3934 _impl_.strategy_.spatially_close_routes_ =
reinterpret_cast<::google::protobuf::Message*
>(value);
3938inline ::operations_research::SpatiallyCloseRoutesRuinStrategy* PROTOBUF_NONNULL RuinStrategy::_internal_mutable_spatially_close_routes() {
3941 set_has_spatially_close_routes();
3942 _impl_.strategy_.spatially_close_routes_ =
reinterpret_cast<::google::protobuf::Message*
>(
3943 ::google::protobuf::Message::DefaultConstruct<::operations_research::SpatiallyCloseRoutesRuinStrategy>(GetArena()));
3947inline ::operations_research::SpatiallyCloseRoutesRuinStrategy* PROTOBUF_NONNULL RuinStrategy::mutable_spatially_close_routes()
3948 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3956 return strategy_case() == kRandomWalk;
3958inline bool RuinStrategy::_internal_has_random_walk()
const {
3959 return strategy_case() == kRandomWalk;
3961inline void RuinStrategy::set_has_random_walk() {
3962 _impl_._oneof_case_[0] = kRandomWalk;
3964inline void RuinStrategy::clear_random_walk() {
3965 ::google::protobuf::internal::TSanWrite(&_impl_);
3966 if (strategy_case() == kRandomWalk) {
3967 if (GetArena() ==
nullptr) {
3968 delete _impl_.strategy_.random_walk_;
3969 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
3970 ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.strategy_.random_walk_);
3972 clear_has_strategy();
3975inline ::operations_research::RandomWalkRuinStrategy* PROTOBUF_NULLABLE RuinStrategy::release_random_walk() {
3977 if (strategy_case() == kRandomWalk) {
3978 clear_has_strategy();
3980 if (GetArena() !=
nullptr) {
3981 temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
3983 _impl_.strategy_.random_walk_ =
nullptr;
3989inline const ::operations_research::RandomWalkRuinStrategy& RuinStrategy::_internal_random_walk()
const {
3993inline const ::operations_research::RandomWalkRuinStrategy& RuinStrategy::random_walk() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
3995 return _internal_random_walk();
3997inline ::operations_research::RandomWalkRuinStrategy* PROTOBUF_NULLABLE RuinStrategy::unsafe_arena_release_random_walk() {
4000 clear_has_strategy();
4002 _impl_.strategy_.random_walk_ =
nullptr;
4008inline void RuinStrategy::unsafe_arena_set_allocated_random_walk(
4009 ::operations_research::RandomWalkRuinStrategy* PROTOBUF_NULLABLE value) {
4015 set_has_random_walk();
4016 _impl_.strategy_.random_walk_ =
reinterpret_cast<::google::protobuf::Message*
>(value);
4020inline ::operations_research::RandomWalkRuinStrategy* PROTOBUF_NONNULL RuinStrategy::_internal_mutable_random_walk() {
4023 set_has_random_walk();
4024 _impl_.strategy_.random_walk_ =
reinterpret_cast<::google::protobuf::Message*
>(
4025 ::google::protobuf::Message::DefaultConstruct<::operations_research::RandomWalkRuinStrategy>(GetArena()));
4029inline ::operations_research::RandomWalkRuinStrategy* PROTOBUF_NONNULL RuinStrategy::mutable_random_walk()
4030 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4038 return strategy_case() == kSisr;
4040inline bool RuinStrategy::_internal_has_sisr()
const {
4041 return strategy_case() == kSisr;
4043inline void RuinStrategy::set_has_sisr() {
4044 _impl_._oneof_case_[0] = kSisr;
4046inline void RuinStrategy::clear_sisr() {
4047 ::google::protobuf::internal::TSanWrite(&_impl_);
4048 if (strategy_case() == kSisr) {
4049 if (GetArena() ==
nullptr) {
4050 delete _impl_.strategy_.sisr_;
4051 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
4052 ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.strategy_.sisr_);
4054 clear_has_strategy();
4057inline ::operations_research::SISRRuinStrategy* PROTOBUF_NULLABLE RuinStrategy::release_sisr() {
4059 if (strategy_case() == kSisr) {
4060 clear_has_strategy();
4062 if (GetArena() !=
nullptr) {
4063 temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
4065 _impl_.strategy_.sisr_ =
nullptr;
4071inline const ::operations_research::SISRRuinStrategy& RuinStrategy::_internal_sisr()
const {
4075inline const ::operations_research::SISRRuinStrategy& RuinStrategy::sisr() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
4077 return _internal_sisr();
4079inline ::operations_research::SISRRuinStrategy* PROTOBUF_NULLABLE RuinStrategy::unsafe_arena_release_sisr() {
4082 clear_has_strategy();
4084 _impl_.strategy_.sisr_ =
nullptr;
4090inline void RuinStrategy::unsafe_arena_set_allocated_sisr(
4091 ::operations_research::SISRRuinStrategy* PROTOBUF_NULLABLE value) {
4098 _impl_.strategy_.sisr_ =
reinterpret_cast<::google::protobuf::Message*
>(value);
4102inline ::operations_research::SISRRuinStrategy* PROTOBUF_NONNULL RuinStrategy::_internal_mutable_sisr() {
4106 _impl_.strategy_.sisr_ =
reinterpret_cast<::google::protobuf::Message*
>(
4107 ::google::protobuf::Message::DefaultConstruct<::operations_research::SISRRuinStrategy>(GetArena()));
4111inline ::operations_research::SISRRuinStrategy* PROTOBUF_NONNULL RuinStrategy::mutable_sisr()
4112 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4118inline bool RuinStrategy::has_strategy()
const {
4119 return strategy_case() != STRATEGY_NOT_SET;
4121inline void RuinStrategy::clear_has_strategy() {
4122 _impl_._oneof_case_[0] = STRATEGY_NOT_SET;
4124inline RuinStrategy::StrategyCase RuinStrategy::strategy_case()
const {
4125 return RuinStrategy::StrategyCase(_impl_._oneof_case_[0]);
4132inline bool RecreateParameters::has_local_cheapest_insertion()
const {
4133 return parameters_case() == kLocalCheapestInsertion;
4135inline bool RecreateParameters::_internal_has_local_cheapest_insertion()
const {
4136 return parameters_case() == kLocalCheapestInsertion;
4138inline void RecreateParameters::set_has_local_cheapest_insertion() {
4139 _impl_._oneof_case_[0] = kLocalCheapestInsertion;
4141inline ::operations_research::LocalCheapestInsertionParameters* PROTOBUF_NULLABLE RecreateParameters::release_local_cheapest_insertion() {
4143 if (parameters_case() == kLocalCheapestInsertion) {
4144 clear_has_parameters();
4146 if (GetArena() !=
nullptr) {
4147 temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
4149 _impl_.parameters_.local_cheapest_insertion_ =
nullptr;
4155inline const ::operations_research::LocalCheapestInsertionParameters& RecreateParameters::_internal_local_cheapest_insertion()
const {
4156 return parameters_case() == kLocalCheapestInsertion ?
static_cast<const ::operations_research::LocalCheapestInsertionParameters&
>(*
reinterpret_cast<::operations_research::LocalCheapestInsertionParameters*
>(_impl_.parameters_.local_cheapest_insertion_))
4161 return _internal_local_cheapest_insertion();
4163inline ::operations_research::LocalCheapestInsertionParameters* PROTOBUF_NULLABLE RecreateParameters::unsafe_arena_release_local_cheapest_insertion() {
4165 if (parameters_case() == kLocalCheapestInsertion) {
4166 clear_has_parameters();
4168 _impl_.parameters_.local_cheapest_insertion_ =
nullptr;
4174inline void RecreateParameters::unsafe_arena_set_allocated_local_cheapest_insertion(
4175 ::operations_research::LocalCheapestInsertionParameters* PROTOBUF_NULLABLE value) {
4181 set_has_local_cheapest_insertion();
4182 _impl_.parameters_.local_cheapest_insertion_ =
reinterpret_cast<::google::protobuf::Message*
>(value);
4186inline ::operations_research::LocalCheapestInsertionParameters* PROTOBUF_NONNULL RecreateParameters::_internal_mutable_local_cheapest_insertion() {
4187 if (parameters_case() != kLocalCheapestInsertion) {
4189 set_has_local_cheapest_insertion();
4190 _impl_.parameters_.local_cheapest_insertion_ =
reinterpret_cast<::google::protobuf::Message*
>(
4191 ::google::protobuf::Message::DefaultConstruct<::operations_research::LocalCheapestInsertionParameters>(GetArena()));
4195inline ::operations_research::LocalCheapestInsertionParameters* PROTOBUF_NONNULL RecreateParameters::mutable_local_cheapest_insertion()
4196 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4204 return parameters_case() == kSavings;
4206inline bool RecreateParameters::_internal_has_savings()
const {
4207 return parameters_case() == kSavings;
4209inline void RecreateParameters::set_has_savings() {
4210 _impl_._oneof_case_[0] = kSavings;
4212inline ::operations_research::SavingsParameters* PROTOBUF_NULLABLE RecreateParameters::release_savings() {
4214 if (parameters_case() == kSavings) {
4215 clear_has_parameters();
4216 auto* temp =
reinterpret_cast<::operations_research::SavingsParameters*
>(_impl_.parameters_.savings_);
4217 if (GetArena() !=
nullptr) {
4218 temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
4226inline const ::operations_research::SavingsParameters& RecreateParameters::_internal_savings()
const {
4227 return parameters_case() == kSavings ?
static_cast<const ::operations_research::SavingsParameters&
>(*
reinterpret_cast<::operations_research::SavingsParameters*
>(_impl_.parameters_.savings_))
4232 return _internal_savings();
4234inline ::operations_research::SavingsParameters* PROTOBUF_NULLABLE RecreateParameters::unsafe_arena_release_savings() {
4236 if (parameters_case() == kSavings) {
4237 clear_has_parameters();
4239 _impl_.parameters_.savings_ =
nullptr;
4245inline void RecreateParameters::unsafe_arena_set_allocated_savings(
4246 ::operations_research::SavingsParameters* PROTOBUF_NULLABLE value) {
4253 _impl_.parameters_.savings_ =
reinterpret_cast<::google::protobuf::Message*
>(value);
4257inline ::operations_research::SavingsParameters* PROTOBUF_NONNULL RecreateParameters::_internal_mutable_savings() {
4258 if (parameters_case() != kSavings) {
4261 _impl_.parameters_.savings_ =
reinterpret_cast<::google::protobuf::Message*
>(
4262 ::google::protobuf::Message::DefaultConstruct<::operations_research::SavingsParameters>(GetArena()));
4266inline ::operations_research::SavingsParameters* PROTOBUF_NONNULL RecreateParameters::mutable_savings()
4267 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4275 return parameters_case() == kGlobalCheapestInsertion;
4277inline bool RecreateParameters::_internal_has_global_cheapest_insertion()
const {
4278 return parameters_case() == kGlobalCheapestInsertion;
4280inline void RecreateParameters::set_has_global_cheapest_insertion() {
4281 _impl_._oneof_case_[0] = kGlobalCheapestInsertion;
4283inline ::operations_research::GlobalCheapestInsertionParameters* PROTOBUF_NULLABLE RecreateParameters::release_global_cheapest_insertion() {
4285 if (parameters_case() == kGlobalCheapestInsertion) {
4286 clear_has_parameters();
4287 auto* temp =
reinterpret_cast<::operations_research::GlobalCheapestInsertionParameters*
>(_impl_.parameters_.global_cheapest_insertion_);
4288 if (GetArena() !=
nullptr) {
4289 temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
4291 _impl_.parameters_.global_cheapest_insertion_ =
nullptr;
4297inline const ::operations_research::GlobalCheapestInsertionParameters& RecreateParameters::_internal_global_cheapest_insertion()
const {
4298 return parameters_case() == kGlobalCheapestInsertion ?
static_cast<const ::operations_research::GlobalCheapestInsertionParameters&
>(*
reinterpret_cast<::operations_research::GlobalCheapestInsertionParameters*
>(_impl_.parameters_.global_cheapest_insertion_))
4303 return _internal_global_cheapest_insertion();
4305inline ::operations_research::GlobalCheapestInsertionParameters* PROTOBUF_NULLABLE RecreateParameters::unsafe_arena_release_global_cheapest_insertion() {
4307 if (parameters_case() == kGlobalCheapestInsertion) {
4308 clear_has_parameters();
4310 _impl_.parameters_.global_cheapest_insertion_ =
nullptr;
4316inline void RecreateParameters::unsafe_arena_set_allocated_global_cheapest_insertion(
4317 ::operations_research::GlobalCheapestInsertionParameters* PROTOBUF_NULLABLE value) {
4323 set_has_global_cheapest_insertion();
4324 _impl_.parameters_.global_cheapest_insertion_ =
reinterpret_cast<::google::protobuf::Message*
>(value);
4328inline ::operations_research::GlobalCheapestInsertionParameters* PROTOBUF_NONNULL RecreateParameters::_internal_mutable_global_cheapest_insertion() {
4329 if (parameters_case() != kGlobalCheapestInsertion) {
4331 set_has_global_cheapest_insertion();
4332 _impl_.parameters_.global_cheapest_insertion_ =
reinterpret_cast<::google::protobuf::Message*
>(
4333 ::google::protobuf::Message::DefaultConstruct<::operations_research::GlobalCheapestInsertionParameters>(GetArena()));
4337inline ::operations_research::GlobalCheapestInsertionParameters* PROTOBUF_NONNULL RecreateParameters::mutable_global_cheapest_insertion()
4338 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4344inline bool RecreateParameters::has_parameters()
const {
4345 return parameters_case() != PARAMETERS_NOT_SET;
4347inline void RecreateParameters::clear_has_parameters() {
4348 _impl_._oneof_case_[0] = PARAMETERS_NOT_SET;
4350inline RecreateParameters::ParametersCase RecreateParameters::parameters_case()
const {
4351 return RecreateParameters::ParametersCase(_impl_._oneof_case_[0]);
4358inline bool RecreateStrategy::has_heuristic()
const {
4359 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
4363 ::google::protobuf::internal::TSanWrite(&
_impl_);
4365 ClearHasBit(
_impl_._has_bits_[0],
4370 return _internal_heuristic();
4373 _internal_set_heuristic(value);
4374 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
4377inline ::operations_research::FirstSolutionStrategy_Value RecreateStrategy::_internal_heuristic()
const {
4378 ::google::protobuf::internal::TSanRead(&_impl_);
4382 ::google::protobuf::internal::TSanWrite(&_impl_);
4383 _impl_.heuristic_ = value;
4388 bool value = CheckHasBit(
_impl_._has_bits_[0], 0x00000001U);
4389 PROTOBUF_ASSUME(!value ||
_impl_.parameters_ !=
nullptr);
4393 ::google::protobuf::internal::TSanWrite(&_impl_);
4395 ClearHasBit(
_impl_._has_bits_[0],
4398inline const ::operations_research::RecreateParameters& RecreateStrategy::_internal_parameters()
const {
4399 ::google::protobuf::internal::TSanRead(&
_impl_);
4400 const ::operations_research::RecreateParameters* p =
_impl_.parameters_;
4405 return _internal_parameters();
4407inline void RecreateStrategy::unsafe_arena_set_allocated_parameters(
4409 ::google::protobuf::internal::TSanWrite(&_impl_);
4410 if (GetArena() ==
nullptr) {
4411 delete reinterpret_cast<::google::protobuf::MessageLite*
>(_impl_.parameters_);
4414 if (value !=
nullptr) {
4415 SetHasBit(
_impl_._has_bits_[0], 0x00000001U);
4417 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
4421inline ::operations_research::RecreateParameters* PROTOBUF_NULLABLE RecreateStrategy::release_parameters() {
4422 ::google::protobuf::internal::TSanWrite(&_impl_);
4424 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
4426 _impl_.parameters_ =
nullptr;
4427 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
4428 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
4429 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4430 if (GetArena() ==
nullptr) {
4434 if (GetArena() !=
nullptr) {
4435 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4440inline ::operations_research::RecreateParameters* PROTOBUF_NULLABLE RecreateStrategy::unsafe_arena_release_parameters() {
4441 ::google::protobuf::internal::TSanWrite(&_impl_);
4444 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
4445 ::operations_research::RecreateParameters* temp = _impl_.parameters_;
4446 _impl_.parameters_ =
nullptr;
4449inline ::operations_research::RecreateParameters* PROTOBUF_NONNULL RecreateStrategy::_internal_mutable_parameters() {
4450 ::google::protobuf::internal::TSanWrite(&_impl_);
4451 if (_impl_.parameters_ ==
nullptr) {
4452 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::RecreateParameters>(GetArena());
4455 return _impl_.parameters_;
4457inline ::operations_research::RecreateParameters* PROTOBUF_NONNULL RecreateStrategy::mutable_parameters()
4458 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4459 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
4460 ::operations_research::RecreateParameters* _msg = _internal_mutable_parameters();
4464inline void RecreateStrategy::set_allocated_parameters(::operations_research::RecreateParameters* PROTOBUF_NULLABLE value) {
4465 ::google::protobuf::Arena* message_arena = GetArena();
4466 ::google::protobuf::internal::TSanWrite(&
_impl_);
4467 if (message_arena ==
nullptr) {
4468 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.parameters_);
4471 if (value !=
nullptr) {
4472 ::google::protobuf::Arena* submessage_arena = value->GetArena();
4473 if (message_arena != submessage_arena) {
4474 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
4476 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
4478 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
4481 _impl_.parameters_ =
reinterpret_cast<::operations_research::RecreateParameters*
>(value);
4494inline int RuinRecreateParameters::_internal_ruin_strategies_size()
const {
4495 return _internal_ruin_strategies().size();
4498 return _internal_ruin_strategies_size();
4500inline void RuinRecreateParameters::clear_ruin_strategies() {
4501 ::google::protobuf::internal::TSanWrite(&_impl_);
4502 _impl_.ruin_strategies_.Clear();
4503 ClearHasBitForRepeated(_impl_._has_bits_[0],
4506inline ::operations_research::RuinStrategy* PROTOBUF_NONNULL RuinRecreateParameters::mutable_ruin_strategies(
int index)
4507 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4509 return _internal_mutable_ruin_strategies()->Mutable(index);
4511inline ::google::protobuf::RepeatedPtrField<::operations_research::RuinStrategy>* PROTOBUF_NONNULL RuinRecreateParameters::mutable_ruin_strategies()
4512 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4513 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
4515 ::google::protobuf::internal::TSanWrite(&_impl_);
4516 return _internal_mutable_ruin_strategies();
4518inline const ::operations_research::RuinStrategy& RuinRecreateParameters::ruin_strategies(
int index)
const
4519 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4521 return _internal_ruin_strategies().Get(index);
4523inline ::operations_research::RuinStrategy* PROTOBUF_NONNULL RuinRecreateParameters::add_ruin_strategies()
4524 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4525 ::google::protobuf::internal::TSanWrite(&
_impl_);
4527 _internal_mutable_ruin_strategies()->InternalAddWithArena(
4528 ::google::protobuf::MessageLite::internal_visibility(), GetArena());
4529 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
4534 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4536 return _internal_ruin_strategies();
4538inline const ::google::protobuf::RepeatedPtrField<::operations_research::RuinStrategy>&
4539RuinRecreateParameters::_internal_ruin_strategies()
const {
4540 ::google::protobuf::internal::TSanRead(&
_impl_);
4541 return _impl_.ruin_strategies_;
4543inline ::google::protobuf::RepeatedPtrField<::operations_research::RuinStrategy>* PROTOBUF_NONNULL
4544RuinRecreateParameters::_internal_mutable_ruin_strategies() {
4545 ::google::protobuf::internal::TSanRead(&_impl_);
4551 ::google::protobuf::internal::TSanWrite(&
_impl_);
4552 _impl_.ruin_composition_strategy_ = 0;
4553 ClearHasBit(
_impl_._has_bits_[0],
4558 return _internal_ruin_composition_strategy();
4561 _internal_set_ruin_composition_strategy(value);
4562 SetHasBit(
_impl_._has_bits_[0], 0x00000004U);
4565inline ::operations_research::RuinCompositionStrategy_Value RuinRecreateParameters::_internal_ruin_composition_strategy()
const {
4566 ::google::protobuf::internal::TSanRead(&_impl_);
4570 ::google::protobuf::internal::TSanWrite(&_impl_);
4571 _impl_.ruin_composition_strategy_ = value;
4575inline bool RuinRecreateParameters::has_recreate_strategy()
const {
4576 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
4577 PROTOBUF_ASSUME(!value || _impl_.recreate_strategy_ !=
nullptr);
4581 ::google::protobuf::internal::TSanWrite(&_impl_);
4582 if (_impl_.recreate_strategy_ !=
nullptr) _impl_.recreate_strategy_->Clear();
4583 ClearHasBit(_impl_._has_bits_[0],
4586inline const ::operations_research::RecreateStrategy& RuinRecreateParameters::_internal_recreate_strategy()
const {
4587 ::google::protobuf::internal::TSanRead(&_impl_);
4588 const ::operations_research::RecreateStrategy* p =
_impl_.recreate_strategy_;
4593 return _internal_recreate_strategy();
4595inline void RuinRecreateParameters::unsafe_arena_set_allocated_recreate_strategy(
4597 ::google::protobuf::internal::TSanWrite(&_impl_);
4598 if (GetArena() ==
nullptr) {
4599 delete reinterpret_cast<::google::protobuf::MessageLite*
>(_impl_.recreate_strategy_);
4601 _impl_.recreate_strategy_ =
reinterpret_cast<::operations_research::RecreateStrategy*
>(value);
4602 if (value !=
nullptr) {
4603 SetHasBit(
_impl_._has_bits_[0], 0x00000002U);
4605 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
4610 ::google::protobuf::internal::TSanWrite(&_impl_);
4612 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
4614 _impl_.recreate_strategy_ =
nullptr;
4615 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
4616 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
4617 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4618 if (GetArena() ==
nullptr) {
4622 if (GetArena() !=
nullptr) {
4623 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4628inline ::operations_research::RecreateStrategy* PROTOBUF_NULLABLE RuinRecreateParameters::unsafe_arena_release_recreate_strategy() {
4629 ::google::protobuf::internal::TSanWrite(&_impl_);
4632 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
4633 ::operations_research::RecreateStrategy* temp = _impl_.recreate_strategy_;
4634 _impl_.recreate_strategy_ =
nullptr;
4637inline ::operations_research::RecreateStrategy* PROTOBUF_NONNULL RuinRecreateParameters::_internal_mutable_recreate_strategy() {
4638 ::google::protobuf::internal::TSanWrite(&
_impl_);
4639 if (
_impl_.recreate_strategy_ ==
nullptr) {
4640 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::RecreateStrategy>(GetArena());
4643 return _impl_.recreate_strategy_;
4646 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4647 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
4653 ::google::protobuf::Arena* message_arena = GetArena();
4654 ::google::protobuf::internal::TSanWrite(&_impl_);
4655 if (message_arena ==
nullptr) {
4656 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.recreate_strategy_);
4659 if (value !=
nullptr) {
4660 ::google::protobuf::Arena* submessage_arena = value->GetArena();
4661 if (message_arena != submessage_arena) {
4662 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
4664 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
4666 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
4669 _impl_.recreate_strategy_ =
reinterpret_cast<::operations_research::RecreateStrategy*
>(value);
4675 bool value = CheckHasBit(
_impl_._has_bits_[0], 0x00000010U);
4679 ::google::protobuf::internal::TSanWrite(&_impl_);
4681 ClearHasBit(
_impl_._has_bits_[0],
4686 return _internal_route_selection_neighbors_ratio();
4688inline void RuinRecreateParameters::set_route_selection_neighbors_ratio(
double value) {
4689 _internal_set_route_selection_neighbors_ratio(value);
4690 SetHasBit(_impl_._has_bits_[0], 0x00000010U);
4693inline double RuinRecreateParameters::_internal_route_selection_neighbors_ratio()
const {
4694 ::google::protobuf::internal::TSanRead(&_impl_);
4695 return _impl_.route_selection_neighbors_ratio_;
4697inline void RuinRecreateParameters::_internal_set_route_selection_neighbors_ratio(
double value) {
4698 ::google::protobuf::internal::TSanWrite(&_impl_);
4699 _impl_.route_selection_neighbors_ratio_ = value;
4704 bool value = CheckHasBit(
_impl_._has_bits_[0], 0x00000008U);
4708 ::google::protobuf::internal::TSanWrite(&_impl_);
4709 _impl_.route_selection_min_neighbors_ = 0u;
4710 ClearHasBit(_impl_._has_bits_[0],
4715 return _internal_route_selection_min_neighbors();
4718 _internal_set_route_selection_min_neighbors(value);
4719 SetHasBit(_impl_._has_bits_[0], 0x00000008U);
4722inline ::uint32_t RuinRecreateParameters::_internal_route_selection_min_neighbors()
const {
4723 ::google::protobuf::internal::TSanRead(&_impl_);
4724 return _impl_.route_selection_min_neighbors_;
4726inline void RuinRecreateParameters::_internal_set_route_selection_min_neighbors(::uint32_t value) {
4727 ::google::protobuf::internal::TSanWrite(&_impl_);
4728 _impl_.route_selection_min_neighbors_ = value;
4733 bool value = CheckHasBit(
_impl_._has_bits_[0], 0x00000020U);
4737 ::google::protobuf::internal::TSanWrite(&_impl_);
4738 _impl_.route_selection_max_neighbors_ = 0u;
4739 ClearHasBit(_impl_._has_bits_[0],
4744 return _internal_route_selection_max_neighbors();
4747 _internal_set_route_selection_max_neighbors(value);
4748 SetHasBit(_impl_._has_bits_[0], 0x00000020U);
4751inline ::uint32_t RuinRecreateParameters::_internal_route_selection_max_neighbors()
const {
4752 ::google::protobuf::internal::TSanRead(&_impl_);
4753 return _impl_.route_selection_max_neighbors_;
4755inline void RuinRecreateParameters::_internal_set_route_selection_max_neighbors(::uint32_t value) {
4756 ::google::protobuf::internal::TSanWrite(&_impl_);
4757 _impl_.route_selection_max_neighbors_ = value;
4778 ::google::protobuf::internal::TSanWrite(&
_impl_);
4779 _impl_.cooling_schedule_strategy_ = 0;
4780 ClearHasBit(
_impl_._has_bits_[0],
4785 return _internal_cooling_schedule_strategy();
4788 _internal_set_cooling_schedule_strategy(value);
4789 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
4792inline ::operations_research::CoolingScheduleStrategy_Value SimulatedAnnealingAcceptanceStrategy::_internal_cooling_schedule_strategy()
const {
4793 ::google::protobuf::internal::TSanRead(&_impl_);
4797 ::google::protobuf::internal::TSanWrite(&_impl_);
4798 _impl_.cooling_schedule_strategy_ = value;
4802inline bool SimulatedAnnealingAcceptanceStrategy::has_initial_temperature()
const {
4803 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
4806inline void SimulatedAnnealingAcceptanceStrategy::clear_initial_temperature() {
4807 ::google::protobuf::internal::TSanWrite(&_impl_);
4808 _impl_.initial_temperature_ = 0;
4814 return _internal_initial_temperature();
4817 _internal_set_initial_temperature(value);
4818 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
4821inline double SimulatedAnnealingAcceptanceStrategy::_internal_initial_temperature()
const {
4822 ::google::protobuf::internal::TSanRead(&_impl_);
4823 return _impl_.initial_temperature_;
4825inline void SimulatedAnnealingAcceptanceStrategy::_internal_set_initial_temperature(
double value) {
4826 ::google::protobuf::internal::TSanWrite(&_impl_);
4827 _impl_.initial_temperature_ = value;
4831inline bool SimulatedAnnealingAcceptanceStrategy::has_final_temperature()
const {
4832 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
4836 ::google::protobuf::internal::TSanWrite(&_impl_);
4837 _impl_.final_temperature_ = 0;
4843 return _internal_final_temperature();
4846 _internal_set_final_temperature(value);
4847 SetHasBit(_impl_._has_bits_[0], 0x00000008U);
4850inline double SimulatedAnnealingAcceptanceStrategy::_internal_final_temperature()
const {
4851 ::google::protobuf::internal::TSanRead(&_impl_);
4852 return _impl_.final_temperature_;
4854inline void SimulatedAnnealingAcceptanceStrategy::_internal_set_final_temperature(
double value) {
4855 ::google::protobuf::internal::TSanWrite(&_impl_);
4856 _impl_.final_temperature_ = value;
4860inline bool SimulatedAnnealingAcceptanceStrategy::has_automatic_temperatures()
const {
4861 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
4865 ::google::protobuf::internal::TSanWrite(&_impl_);
4866 _impl_.automatic_temperatures_ =
false;
4872 return _internal_automatic_temperatures();
4875 _internal_set_automatic_temperatures(value);
4876 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
4879inline bool SimulatedAnnealingAcceptanceStrategy::_internal_automatic_temperatures()
const {
4880 ::google::protobuf::internal::TSanRead(&_impl_);
4881 return _impl_.automatic_temperatures_;
4883inline void SimulatedAnnealingAcceptanceStrategy::_internal_set_automatic_temperatures(
bool value) {
4884 ::google::protobuf::internal::TSanWrite(&_impl_);
4885 _impl_.automatic_temperatures_ = value;
4902 bool value = CheckHasBit(
_impl_._has_bits_[0], 0x00000001U);
4906 ::google::protobuf::internal::TSanWrite(&
_impl_);
4907 _impl_.remove_route_with_lowest_absences_ =
false;
4908 ClearHasBit(
_impl_._has_bits_[0],
4913 return _internal_remove_route_with_lowest_absences();
4915inline void AbsencesBasedAcceptanceStrategy::set_remove_route_with_lowest_absences(
bool value) {
4916 _internal_set_remove_route_with_lowest_absences(value);
4917 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
4920inline bool AbsencesBasedAcceptanceStrategy::_internal_remove_route_with_lowest_absences()
const {
4921 ::google::protobuf::internal::TSanRead(&_impl_);
4922 return _impl_.remove_route_with_lowest_absences_;
4924inline void AbsencesBasedAcceptanceStrategy::_internal_set_remove_route_with_lowest_absences(
bool value) {
4925 ::google::protobuf::internal::TSanWrite(&_impl_);
4926 _impl_.remove_route_with_lowest_absences_ = value;
4934inline bool AcceptanceStrategy::has_greedy_descent()
const {
4935 return strategy_case() == kGreedyDescent;
4937inline bool AcceptanceStrategy::_internal_has_greedy_descent()
const {
4938 return strategy_case() == kGreedyDescent;
4940inline void AcceptanceStrategy::set_has_greedy_descent() {
4941 _impl_._oneof_case_[0] = kGreedyDescent;
4944 ::google::protobuf::internal::TSanWrite(&_impl_);
4945 if (strategy_case() == kGreedyDescent) {
4946 if (GetArena() ==
nullptr) {
4947 delete _impl_.strategy_.greedy_descent_;
4948 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
4949 ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.strategy_.greedy_descent_);
4951 clear_has_strategy();
4954inline ::operations_research::GreedyDescentAcceptanceStrategy* PROTOBUF_NULLABLE AcceptanceStrategy::release_greedy_descent() {
4956 if (strategy_case() == kGreedyDescent) {
4957 clear_has_strategy();
4958 auto* temp =
reinterpret_cast<::operations_research::GreedyDescentAcceptanceStrategy*
>(_impl_.strategy_.greedy_descent_);
4959 if (GetArena() !=
nullptr) {
4960 temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
4962 _impl_.strategy_.greedy_descent_ =
nullptr;
4968inline const ::operations_research::GreedyDescentAcceptanceStrategy& AcceptanceStrategy::_internal_greedy_descent()
const {
4969 return strategy_case() == kGreedyDescent ?
static_cast<const ::operations_research::GreedyDescentAcceptanceStrategy&
>(*
reinterpret_cast<::operations_research::GreedyDescentAcceptanceStrategy*
>(_impl_.strategy_.greedy_descent_))
4974 return _internal_greedy_descent();
4976inline ::operations_research::GreedyDescentAcceptanceStrategy* PROTOBUF_NULLABLE AcceptanceStrategy::unsafe_arena_release_greedy_descent() {
4978 if (strategy_case() == kGreedyDescent) {
4979 clear_has_strategy();
4981 _impl_.strategy_.greedy_descent_ =
nullptr;
4987inline void AcceptanceStrategy::unsafe_arena_set_allocated_greedy_descent(
4988 ::operations_research::GreedyDescentAcceptanceStrategy* PROTOBUF_NULLABLE value) {
4994 set_has_greedy_descent();
4995 _impl_.strategy_.greedy_descent_ =
reinterpret_cast<::google::protobuf::Message*
>(value);
4999inline ::operations_research::GreedyDescentAcceptanceStrategy* PROTOBUF_NONNULL AcceptanceStrategy::_internal_mutable_greedy_descent() {
5000 if (strategy_case() != kGreedyDescent) {
5002 set_has_greedy_descent();
5003 _impl_.strategy_.greedy_descent_ =
reinterpret_cast<::google::protobuf::Message*
>(
5004 ::google::protobuf::Message::DefaultConstruct<::operations_research::GreedyDescentAcceptanceStrategy>(GetArena()));
5006 return reinterpret_cast<::operations_research::GreedyDescentAcceptanceStrategy*
>(_impl_.strategy_.greedy_descent_);
5009 ABSL_ATTRIBUTE_LIFETIME_BOUND {
5017 return strategy_case() == kSimulatedAnnealing;
5019inline bool AcceptanceStrategy::_internal_has_simulated_annealing()
const {
5020 return strategy_case() == kSimulatedAnnealing;
5022inline void AcceptanceStrategy::set_has_simulated_annealing() {
5026 ::google::protobuf::internal::TSanWrite(&_impl_);
5027 if (strategy_case() == kSimulatedAnnealing) {
5028 if (GetArena() ==
nullptr) {
5029 delete _impl_.strategy_.simulated_annealing_;
5030 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
5031 ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.strategy_.simulated_annealing_);
5033 clear_has_strategy();
5036inline ::operations_research::SimulatedAnnealingAcceptanceStrategy* PROTOBUF_NULLABLE AcceptanceStrategy::release_simulated_annealing() {
5038 if (strategy_case() == kSimulatedAnnealing) {
5039 clear_has_strategy();
5040 auto* temp =
reinterpret_cast<::operations_research::SimulatedAnnealingAcceptanceStrategy*
>(_impl_.strategy_.simulated_annealing_);
5041 if (GetArena() !=
nullptr) {
5042 temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
5044 _impl_.strategy_.simulated_annealing_ =
nullptr;
5050inline const ::operations_research::SimulatedAnnealingAcceptanceStrategy& AcceptanceStrategy::_internal_simulated_annealing()
const {
5051 return strategy_case() == kSimulatedAnnealing ?
static_cast<const ::operations_research::SimulatedAnnealingAcceptanceStrategy&
>(*
reinterpret_cast<::operations_research::SimulatedAnnealingAcceptanceStrategy*
>(_impl_.strategy_.simulated_annealing_))
5056 return _internal_simulated_annealing();
5058inline ::operations_research::SimulatedAnnealingAcceptanceStrategy* PROTOBUF_NULLABLE AcceptanceStrategy::unsafe_arena_release_simulated_annealing() {
5060 if (strategy_case() == kSimulatedAnnealing) {
5061 clear_has_strategy();
5063 _impl_.strategy_.simulated_annealing_ =
nullptr;
5069inline void AcceptanceStrategy::unsafe_arena_set_allocated_simulated_annealing(
5070 ::operations_research::SimulatedAnnealingAcceptanceStrategy* PROTOBUF_NULLABLE value) {
5076 set_has_simulated_annealing();
5077 _impl_.strategy_.simulated_annealing_ =
reinterpret_cast<::google::protobuf::Message*
>(value);
5081inline ::operations_research::SimulatedAnnealingAcceptanceStrategy* PROTOBUF_NONNULL AcceptanceStrategy::_internal_mutable_simulated_annealing() {
5082 if (strategy_case() != kSimulatedAnnealing) {
5084 set_has_simulated_annealing();
5085 _impl_.strategy_.simulated_annealing_ =
reinterpret_cast<::google::protobuf::Message*
>(
5086 ::google::protobuf::Message::DefaultConstruct<::operations_research::SimulatedAnnealingAcceptanceStrategy>(GetArena()));
5088 return reinterpret_cast<::operations_research::SimulatedAnnealingAcceptanceStrategy*
>(_impl_.strategy_.simulated_annealing_);
5091 ABSL_ATTRIBUTE_LIFETIME_BOUND {
5099 return strategy_case() == kAllNodesPerformed;
5101inline bool AcceptanceStrategy::_internal_has_all_nodes_performed()
const {
5102 return strategy_case() == kAllNodesPerformed;
5104inline void AcceptanceStrategy::set_has_all_nodes_performed() {
5108 ::google::protobuf::internal::TSanWrite(&_impl_);
5109 if (strategy_case() == kAllNodesPerformed) {
5110 if (GetArena() ==
nullptr) {
5111 delete _impl_.strategy_.all_nodes_performed_;
5112 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
5113 ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.strategy_.all_nodes_performed_);
5115 clear_has_strategy();
5118inline ::operations_research::AllNodesPerformedAcceptanceStrategy* PROTOBUF_NULLABLE AcceptanceStrategy::release_all_nodes_performed() {
5120 if (strategy_case() == kAllNodesPerformed) {
5121 clear_has_strategy();
5122 auto* temp =
reinterpret_cast<::operations_research::AllNodesPerformedAcceptanceStrategy*
>(_impl_.strategy_.all_nodes_performed_);
5123 if (GetArena() !=
nullptr) {
5124 temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
5126 _impl_.strategy_.all_nodes_performed_ =
nullptr;
5132inline const ::operations_research::AllNodesPerformedAcceptanceStrategy& AcceptanceStrategy::_internal_all_nodes_performed()
const {
5133 return strategy_case() == kAllNodesPerformed ?
static_cast<const ::operations_research::AllNodesPerformedAcceptanceStrategy&
>(*
reinterpret_cast<::operations_research::AllNodesPerformedAcceptanceStrategy*
>(_impl_.strategy_.all_nodes_performed_))
5138 return _internal_all_nodes_performed();
5140inline ::operations_research::AllNodesPerformedAcceptanceStrategy* PROTOBUF_NULLABLE AcceptanceStrategy::unsafe_arena_release_all_nodes_performed() {
5142 if (strategy_case() == kAllNodesPerformed) {
5143 clear_has_strategy();
5145 _impl_.strategy_.all_nodes_performed_ =
nullptr;
5151inline void AcceptanceStrategy::unsafe_arena_set_allocated_all_nodes_performed(
5152 ::operations_research::AllNodesPerformedAcceptanceStrategy* PROTOBUF_NULLABLE value) {
5158 set_has_all_nodes_performed();
5159 _impl_.strategy_.all_nodes_performed_ =
reinterpret_cast<::google::protobuf::Message*
>(value);
5163inline ::operations_research::AllNodesPerformedAcceptanceStrategy* PROTOBUF_NONNULL AcceptanceStrategy::_internal_mutable_all_nodes_performed() {
5164 if (strategy_case() != kAllNodesPerformed) {
5166 set_has_all_nodes_performed();
5167 _impl_.strategy_.all_nodes_performed_ =
reinterpret_cast<::google::protobuf::Message*
>(
5168 ::google::protobuf::Message::DefaultConstruct<::operations_research::AllNodesPerformedAcceptanceStrategy>(GetArena()));
5170 return reinterpret_cast<::operations_research::AllNodesPerformedAcceptanceStrategy*
>(_impl_.strategy_.all_nodes_performed_);
5173 ABSL_ATTRIBUTE_LIFETIME_BOUND {
5181 return strategy_case() == kMoreNodesPerformed;
5183inline bool AcceptanceStrategy::_internal_has_more_nodes_performed()
const {
5184 return strategy_case() == kMoreNodesPerformed;
5186inline void AcceptanceStrategy::set_has_more_nodes_performed() {
5190 ::google::protobuf::internal::TSanWrite(&_impl_);
5191 if (strategy_case() == kMoreNodesPerformed) {
5192 if (GetArena() ==
nullptr) {
5193 delete _impl_.strategy_.more_nodes_performed_;
5194 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
5195 ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.strategy_.more_nodes_performed_);
5197 clear_has_strategy();
5200inline ::operations_research::MoreNodesPerformedAcceptanceStrategy* PROTOBUF_NULLABLE AcceptanceStrategy::release_more_nodes_performed() {
5202 if (strategy_case() == kMoreNodesPerformed) {
5203 clear_has_strategy();
5204 auto* temp =
reinterpret_cast<::operations_research::MoreNodesPerformedAcceptanceStrategy*
>(_impl_.strategy_.more_nodes_performed_);
5205 if (GetArena() !=
nullptr) {
5206 temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
5208 _impl_.strategy_.more_nodes_performed_ =
nullptr;
5214inline const ::operations_research::MoreNodesPerformedAcceptanceStrategy& AcceptanceStrategy::_internal_more_nodes_performed()
const {
5215 return strategy_case() == kMoreNodesPerformed ?
static_cast<const ::operations_research::MoreNodesPerformedAcceptanceStrategy&
>(*
reinterpret_cast<::operations_research::MoreNodesPerformedAcceptanceStrategy*
>(_impl_.strategy_.more_nodes_performed_))
5220 return _internal_more_nodes_performed();
5222inline ::operations_research::MoreNodesPerformedAcceptanceStrategy* PROTOBUF_NULLABLE AcceptanceStrategy::unsafe_arena_release_more_nodes_performed() {
5224 if (strategy_case() == kMoreNodesPerformed) {
5225 clear_has_strategy();
5227 _impl_.strategy_.more_nodes_performed_ =
nullptr;
5233inline void AcceptanceStrategy::unsafe_arena_set_allocated_more_nodes_performed(
5234 ::operations_research::MoreNodesPerformedAcceptanceStrategy* PROTOBUF_NULLABLE value) {
5240 set_has_more_nodes_performed();
5241 _impl_.strategy_.more_nodes_performed_ =
reinterpret_cast<::google::protobuf::Message*
>(value);
5245inline ::operations_research::MoreNodesPerformedAcceptanceStrategy* PROTOBUF_NONNULL AcceptanceStrategy::_internal_mutable_more_nodes_performed() {
5246 if (strategy_case() != kMoreNodesPerformed) {
5248 set_has_more_nodes_performed();
5249 _impl_.strategy_.more_nodes_performed_ =
reinterpret_cast<::google::protobuf::Message*
>(
5250 ::google::protobuf::Message::DefaultConstruct<::operations_research::MoreNodesPerformedAcceptanceStrategy>(GetArena()));
5252 return reinterpret_cast<::operations_research::MoreNodesPerformedAcceptanceStrategy*
>(_impl_.strategy_.more_nodes_performed_);
5255 ABSL_ATTRIBUTE_LIFETIME_BOUND {
5263 return strategy_case() == kAbsencesBased;
5265inline bool AcceptanceStrategy::_internal_has_absences_based()
const {
5266 return strategy_case() == kAbsencesBased;
5268inline void AcceptanceStrategy::set_has_absences_based() {
5272 ::google::protobuf::internal::TSanWrite(&_impl_);
5273 if (strategy_case() == kAbsencesBased) {
5274 if (GetArena() ==
nullptr) {
5275 delete _impl_.strategy_.absences_based_;
5276 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
5277 ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.strategy_.absences_based_);
5279 clear_has_strategy();
5282inline ::operations_research::AbsencesBasedAcceptanceStrategy* PROTOBUF_NULLABLE AcceptanceStrategy::release_absences_based() {
5284 if (strategy_case() == kAbsencesBased) {
5285 clear_has_strategy();
5286 auto* temp =
reinterpret_cast<::operations_research::AbsencesBasedAcceptanceStrategy*
>(_impl_.strategy_.absences_based_);
5287 if (GetArena() !=
nullptr) {
5288 temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
5296inline const ::operations_research::AbsencesBasedAcceptanceStrategy& AcceptanceStrategy::_internal_absences_based()
const {
5297 return strategy_case() == kAbsencesBased ?
static_cast<const ::operations_research::AbsencesBasedAcceptanceStrategy&
>(*
reinterpret_cast<::operations_research::AbsencesBasedAcceptanceStrategy*
>(_impl_.strategy_.absences_based_))
5302 return _internal_absences_based();
5304inline ::operations_research::AbsencesBasedAcceptanceStrategy* PROTOBUF_NULLABLE AcceptanceStrategy::unsafe_arena_release_absences_based() {
5306 if (strategy_case() == kAbsencesBased) {
5307 clear_has_strategy();
5309 _impl_.strategy_.absences_based_ =
nullptr;
5315inline void AcceptanceStrategy::unsafe_arena_set_allocated_absences_based(
5316 ::operations_research::AbsencesBasedAcceptanceStrategy* PROTOBUF_NULLABLE value) {
5322 set_has_absences_based();
5323 _impl_.strategy_.absences_based_ =
reinterpret_cast<::google::protobuf::Message*
>(value);
5327inline ::operations_research::AbsencesBasedAcceptanceStrategy* PROTOBUF_NONNULL AcceptanceStrategy::_internal_mutable_absences_based() {
5328 if (strategy_case() != kAbsencesBased) {
5330 set_has_absences_based();
5331 _impl_.strategy_.absences_based_ =
reinterpret_cast<::google::protobuf::Message*
>(
5332 ::google::protobuf::Message::DefaultConstruct<::operations_research::AbsencesBasedAcceptanceStrategy>(GetArena()));
5334 return reinterpret_cast<::operations_research::AbsencesBasedAcceptanceStrategy*
>(_impl_.strategy_.absences_based_);
5337 ABSL_ATTRIBUTE_LIFETIME_BOUND {
5343inline bool AcceptanceStrategy::has_strategy()
const {
5344 return strategy_case() != STRATEGY_NOT_SET;
5346inline void AcceptanceStrategy::clear_has_strategy() {
5347 _impl_._oneof_case_[0] = STRATEGY_NOT_SET;
5349inline AcceptanceStrategy::StrategyCase AcceptanceStrategy::strategy_case()
const {
5350 return AcceptanceStrategy::StrategyCase(_impl_._oneof_case_[0]);
5358 ::google::protobuf::internal::TSanWrite(&_impl_);
5359 _impl_.perturbation_strategy_ = 0;
5360 ClearHasBit(_impl_._has_bits_[0],
5363inline ::operations_research::PerturbationStrategy_Value IteratedLocalSearchParameters::perturbation_strategy()
const {
5365 return _internal_perturbation_strategy();
5368 _internal_set_perturbation_strategy(value);
5369 SetHasBit(_impl_._has_bits_[0], 0x00000008U);
5372inline ::operations_research::PerturbationStrategy_Value IteratedLocalSearchParameters::_internal_perturbation_strategy()
const {
5373 ::google::protobuf::internal::TSanRead(&
_impl_);
5377 ::google::protobuf::internal::TSanWrite(&_impl_);
5378 _impl_.perturbation_strategy_ = value;
5382inline bool IteratedLocalSearchParameters::has_ruin_recreate_parameters()
const {
5383 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
5384 PROTOBUF_ASSUME(!value || _impl_.ruin_recreate_parameters_ !=
nullptr);
5388 ::google::protobuf::internal::TSanWrite(&_impl_);
5389 if (_impl_.ruin_recreate_parameters_ !=
nullptr) _impl_.ruin_recreate_parameters_->Clear();
5390 ClearHasBit(_impl_._has_bits_[0],
5393inline const ::operations_research::RuinRecreateParameters& IteratedLocalSearchParameters::_internal_ruin_recreate_parameters()
const {
5394 ::google::protobuf::internal::TSanRead(&
_impl_);
5395 const ::operations_research::RuinRecreateParameters* p =
_impl_.ruin_recreate_parameters_;
5400 return _internal_ruin_recreate_parameters();
5404 ::google::protobuf::internal::TSanWrite(&
_impl_);
5405 if (GetArena() ==
nullptr) {
5406 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.ruin_recreate_parameters_);
5409 if (value !=
nullptr) {
5410 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
5412 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
5416inline ::operations_research::RuinRecreateParameters* PROTOBUF_NULLABLE IteratedLocalSearchParameters::release_ruin_recreate_parameters() {
5417 ::google::protobuf::internal::TSanWrite(&_impl_);
5419 ClearHasBit(
_impl_._has_bits_[0], 0x00000001U);
5421 _impl_.ruin_recreate_parameters_ =
nullptr;
5422 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
5423 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
5424 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
5425 if (GetArena() ==
nullptr) {
5429 if (GetArena() !=
nullptr) {
5430 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
5436 ::google::protobuf::internal::TSanWrite(&
_impl_);
5439 ClearHasBit(
_impl_._has_bits_[0], 0x00000001U);
5441 _impl_.ruin_recreate_parameters_ =
nullptr;
5444inline ::operations_research::RuinRecreateParameters* PROTOBUF_NONNULL IteratedLocalSearchParameters::_internal_mutable_ruin_recreate_parameters() {
5445 ::google::protobuf::internal::TSanWrite(&_impl_);
5446 if (_impl_.ruin_recreate_parameters_ ==
nullptr) {
5447 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::RuinRecreateParameters>(GetArena());
5450 return _impl_.ruin_recreate_parameters_;
5452inline ::operations_research::RuinRecreateParameters* PROTOBUF_NONNULL IteratedLocalSearchParameters::mutable_ruin_recreate_parameters()
5453 ABSL_ATTRIBUTE_LIFETIME_BOUND {
5454 SetHasBit(
_impl_._has_bits_[0], 0x00000001U);
5460 ::google::protobuf::Arena* message_arena = GetArena();
5461 ::google::protobuf::internal::TSanWrite(&_impl_);
5462 if (message_arena ==
nullptr) {
5463 delete reinterpret_cast<::google::protobuf::MessageLite*
>(_impl_.ruin_recreate_parameters_);
5466 if (value !=
nullptr) {
5467 ::google::protobuf::Arena* submessage_arena = value->GetArena();
5468 if (message_arena != submessage_arena) {
5469 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
5471 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
5473 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
5481inline bool IteratedLocalSearchParameters::has_improve_perturbed_solution()
const {
5482 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
5485inline void IteratedLocalSearchParameters::clear_improve_perturbed_solution() {
5486 ::google::protobuf::internal::TSanWrite(&_impl_);
5487 _impl_.improve_perturbed_solution_ =
false;
5488 ClearHasBit(_impl_._has_bits_[0],
5493 return _internal_improve_perturbed_solution();
5495inline void IteratedLocalSearchParameters::set_improve_perturbed_solution(
bool value) {
5496 _internal_set_improve_perturbed_solution(value);
5497 SetHasBit(
_impl_._has_bits_[0], 0x00000010U);
5500inline bool IteratedLocalSearchParameters::_internal_improve_perturbed_solution()
const {
5501 ::google::protobuf::internal::TSanRead(&_impl_);
5502 return _impl_.improve_perturbed_solution_;
5504inline void IteratedLocalSearchParameters::_internal_set_improve_perturbed_solution(
bool value) {
5505 ::google::protobuf::internal::TSanWrite(&_impl_);
5506 _impl_.improve_perturbed_solution_ = value;
5510inline bool IteratedLocalSearchParameters::has_reference_solution_acceptance_strategy()
const {
5511 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
5512 PROTOBUF_ASSUME(!value || _impl_.reference_solution_acceptance_strategy_ !=
nullptr);
5515inline void IteratedLocalSearchParameters::clear_reference_solution_acceptance_strategy() {
5516 ::google::protobuf::internal::TSanWrite(&_impl_);
5517 if (_impl_.reference_solution_acceptance_strategy_ !=
nullptr) _impl_.reference_solution_acceptance_strategy_->Clear();
5521inline const ::operations_research::AcceptanceStrategy& IteratedLocalSearchParameters::_internal_reference_solution_acceptance_strategy()
const {
5522 ::google::protobuf::internal::TSanRead(&
_impl_);
5523 const ::operations_research::AcceptanceStrategy* p =
_impl_.reference_solution_acceptance_strategy_;
5528 return _internal_reference_solution_acceptance_strategy();
5532 ::google::protobuf::internal::TSanWrite(&
_impl_);
5533 if (GetArena() ==
nullptr) {
5534 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.reference_solution_acceptance_strategy_);
5537 if (value !=
nullptr) {
5538 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
5540 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
5544inline ::operations_research::AcceptanceStrategy* PROTOBUF_NULLABLE IteratedLocalSearchParameters::release_reference_solution_acceptance_strategy() {
5545 ::google::protobuf::internal::TSanWrite(&_impl_);
5547 ClearHasBit(
_impl_._has_bits_[0], 0x00000002U);
5549 _impl_.reference_solution_acceptance_strategy_ =
nullptr;
5550 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
5551 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
5552 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
5553 if (GetArena() ==
nullptr) {
5557 if (GetArena() !=
nullptr) {
5558 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
5564 ::google::protobuf::internal::TSanWrite(&
_impl_);
5567 ClearHasBit(
_impl_._has_bits_[0], 0x00000002U);
5569 _impl_.reference_solution_acceptance_strategy_ =
nullptr;
5572inline ::operations_research::AcceptanceStrategy* PROTOBUF_NONNULL IteratedLocalSearchParameters::_internal_mutable_reference_solution_acceptance_strategy() {
5573 ::google::protobuf::internal::TSanWrite(&_impl_);
5574 if (_impl_.reference_solution_acceptance_strategy_ ==
nullptr) {
5575 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::AcceptanceStrategy>(GetArena());
5578 return _impl_.reference_solution_acceptance_strategy_;
5580inline ::operations_research::AcceptanceStrategy* PROTOBUF_NONNULL IteratedLocalSearchParameters::mutable_reference_solution_acceptance_strategy()
5581 ABSL_ATTRIBUTE_LIFETIME_BOUND {
5582 SetHasBit(
_impl_._has_bits_[0], 0x00000002U);
5588 ::google::protobuf::Arena* message_arena = GetArena();
5589 ::google::protobuf::internal::TSanWrite(&_impl_);
5590 if (message_arena ==
nullptr) {
5591 delete reinterpret_cast<::google::protobuf::MessageLite*
>(_impl_.reference_solution_acceptance_strategy_);
5594 if (value !=
nullptr) {
5595 ::google::protobuf::Arena* submessage_arena = value->GetArena();
5596 if (message_arena != submessage_arena) {
5597 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
5599 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
5601 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
5609inline bool IteratedLocalSearchParameters::has_best_solution_acceptance_strategy()
const {
5610 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
5611 PROTOBUF_ASSUME(!value || _impl_.best_solution_acceptance_strategy_ !=
nullptr);
5614inline void IteratedLocalSearchParameters::clear_best_solution_acceptance_strategy() {
5615 ::google::protobuf::internal::TSanWrite(&_impl_);
5616 if (_impl_.best_solution_acceptance_strategy_ !=
nullptr) _impl_.best_solution_acceptance_strategy_->Clear();
5620inline const ::operations_research::AcceptanceStrategy& IteratedLocalSearchParameters::_internal_best_solution_acceptance_strategy()
const {
5621 ::google::protobuf::internal::TSanRead(&_impl_);
5622 const ::operations_research::AcceptanceStrategy* p = _impl_.best_solution_acceptance_strategy_;
5627 return _internal_best_solution_acceptance_strategy();
5629inline void IteratedLocalSearchParameters::unsafe_arena_set_allocated_best_solution_acceptance_strategy(
5631 ::google::protobuf::internal::TSanWrite(&_impl_);
5632 if (GetArena() ==
nullptr) {
5633 delete reinterpret_cast<::google::protobuf::MessageLite*
>(_impl_.best_solution_acceptance_strategy_);
5635 _impl_.best_solution_acceptance_strategy_ =
reinterpret_cast<::operations_research::AcceptanceStrategy*
>(value);
5636 if (value !=
nullptr) {
5637 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
5639 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
5643inline ::operations_research::AcceptanceStrategy* PROTOBUF_NULLABLE IteratedLocalSearchParameters::release_best_solution_acceptance_strategy() {
5644 ::google::protobuf::internal::TSanWrite(&_impl_);
5646 ClearHasBit(
_impl_._has_bits_[0], 0x00000004U);
5648 _impl_.best_solution_acceptance_strategy_ =
nullptr;
5649 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
5650 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
5651 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
5652 if (GetArena() ==
nullptr) {
5656 if (GetArena() !=
nullptr) {
5657 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
5663 ::google::protobuf::internal::TSanWrite(&
_impl_);
5666 ClearHasBit(
_impl_._has_bits_[0], 0x00000004U);
5668 _impl_.best_solution_acceptance_strategy_ =
nullptr;
5671inline ::operations_research::AcceptanceStrategy* PROTOBUF_NONNULL IteratedLocalSearchParameters::_internal_mutable_best_solution_acceptance_strategy() {
5672 ::google::protobuf::internal::TSanWrite(&_impl_);
5673 if (_impl_.best_solution_acceptance_strategy_ ==
nullptr) {
5674 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::AcceptanceStrategy>(GetArena());
5677 return _impl_.best_solution_acceptance_strategy_;
5679inline ::operations_research::AcceptanceStrategy* PROTOBUF_NONNULL IteratedLocalSearchParameters::mutable_best_solution_acceptance_strategy()
5680 ABSL_ATTRIBUTE_LIFETIME_BOUND {
5681 SetHasBit(
_impl_._has_bits_[0], 0x00000004U);
5687 ::google::protobuf::Arena* message_arena = GetArena();
5688 ::google::protobuf::internal::TSanWrite(&_impl_);
5689 if (message_arena ==
nullptr) {
5690 delete reinterpret_cast<::google::protobuf::MessageLite*
>(_impl_.best_solution_acceptance_strategy_);
5693 if (value !=
nullptr) {
5694 ::google::protobuf::Arena* submessage_arena = value->GetArena();
5695 if (message_arena != submessage_arena) {
5696 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
5698 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
5700 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
5708#pragma GCC diagnostic pop
5721inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::operations_research::RuinCompositionStrategy_Value>() {
5722 return ::operations_research::RuinCompositionStrategy_Value_descriptor();
5727inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::operations_research::PerturbationStrategy_Value>() {
5728 return ::operations_research::PerturbationStrategy_Value_descriptor();
5733inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::operations_research::CoolingScheduleStrategy_Value>() {
5734 return ::operations_research::CoolingScheduleStrategy_Value_descriptor();
5742#include "google/protobuf/port_undef.inc"
static const AbsencesBasedAcceptanceStrategy & default_instance()
AbsencesBasedAcceptanceStrategy()
bool IsInitialized() const
void MergeFrom(const AbsencesBasedAcceptanceStrategy &from)
::size_t ByteSizeLong() const final
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
bool has_remove_route_with_lowest_absences() const
void clear_remove_route_with_lowest_absences()
void Swap(AbsencesBasedAcceptanceStrategy *PROTOBUF_NONNULL other)
void CopyFrom(const AbsencesBasedAcceptanceStrategy &from)
bool remove_route_with_lowest_absences() const
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
bool has_more_nodes_performed() const
bool has_all_nodes_performed() const
::operations_research::MoreNodesPerformedAcceptanceStrategy *PROTOBUF_NONNULL mutable_more_nodes_performed()
void clear_simulated_annealing()
bool has_simulated_annealing() const
bool IsInitialized() const
static const AcceptanceStrategy & default_instance()
StrategyCase strategy_case() const
void unsafe_arena_set_allocated_absences_based(::operations_research::AbsencesBasedAcceptanceStrategy *PROTOBUF_NULLABLE value)
void set_allocated_more_nodes_performed(::operations_research::MoreNodesPerformedAcceptanceStrategy *PROTOBUF_NULLABLE value)
const ::operations_research::AbsencesBasedAcceptanceStrategy & absences_based() const
void unsafe_arena_set_allocated_more_nodes_performed(::operations_research::MoreNodesPerformedAcceptanceStrategy *PROTOBUF_NULLABLE value)
::operations_research::SimulatedAnnealingAcceptanceStrategy *PROTOBUF_NULLABLE release_simulated_annealing()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
::operations_research::SimulatedAnnealingAcceptanceStrategy *PROTOBUF_NULLABLE unsafe_arena_release_simulated_annealing()
const ::operations_research::MoreNodesPerformedAcceptanceStrategy & more_nodes_performed() const
const ::operations_research::GreedyDescentAcceptanceStrategy & greedy_descent() const
void clear_absences_based()
::operations_research::AllNodesPerformedAcceptanceStrategy *PROTOBUF_NONNULL mutable_all_nodes_performed()
::operations_research::AbsencesBasedAcceptanceStrategy *PROTOBUF_NULLABLE release_absences_based()
::size_t ByteSizeLong() const final
::operations_research::GreedyDescentAcceptanceStrategy *PROTOBUF_NONNULL mutable_greedy_descent()
::operations_research::SimulatedAnnealingAcceptanceStrategy *PROTOBUF_NONNULL mutable_simulated_annealing()
void clear_all_nodes_performed()
void unsafe_arena_set_allocated_greedy_descent(::operations_research::GreedyDescentAcceptanceStrategy *PROTOBUF_NULLABLE value)
static constexpr int kIndexInFileMessages
void Swap(AcceptanceStrategy *PROTOBUF_NONNULL other)
void unsafe_arena_set_allocated_simulated_annealing(::operations_research::SimulatedAnnealingAcceptanceStrategy *PROTOBUF_NULLABLE value)
const ::operations_research::AllNodesPerformedAcceptanceStrategy & all_nodes_performed() const
::operations_research::AbsencesBasedAcceptanceStrategy *PROTOBUF_NULLABLE unsafe_arena_release_absences_based()
::operations_research::GreedyDescentAcceptanceStrategy *PROTOBUF_NULLABLE unsafe_arena_release_greedy_descent()
void set_allocated_absences_based(::operations_research::AbsencesBasedAcceptanceStrategy *PROTOBUF_NULLABLE value)
::operations_research::AbsencesBasedAcceptanceStrategy *PROTOBUF_NONNULL mutable_absences_based()
void set_allocated_all_nodes_performed(::operations_research::AllNodesPerformedAcceptanceStrategy *PROTOBUF_NULLABLE value)
::operations_research::AllNodesPerformedAcceptanceStrategy *PROTOBUF_NULLABLE release_all_nodes_performed()
void clear_greedy_descent()
void clear_more_nodes_performed()
const ::operations_research::SimulatedAnnealingAcceptanceStrategy & simulated_annealing() const
AcceptanceStrategy *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
bool has_absences_based() const
::operations_research::AllNodesPerformedAcceptanceStrategy *PROTOBUF_NULLABLE unsafe_arena_release_all_nodes_performed()
void set_allocated_greedy_descent(::operations_research::GreedyDescentAcceptanceStrategy *PROTOBUF_NULLABLE value)
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
friend void swap(AcceptanceStrategy &a, AcceptanceStrategy &b)
void set_allocated_simulated_annealing(::operations_research::SimulatedAnnealingAcceptanceStrategy *PROTOBUF_NULLABLE value)
::operations_research::MoreNodesPerformedAcceptanceStrategy *PROTOBUF_NULLABLE release_more_nodes_performed()
::operations_research::MoreNodesPerformedAcceptanceStrategy *PROTOBUF_NULLABLE unsafe_arena_release_more_nodes_performed()
void unsafe_arena_set_allocated_all_nodes_performed(::operations_research::AllNodesPerformedAcceptanceStrategy *PROTOBUF_NULLABLE value)
void UnsafeArenaSwap(AcceptanceStrategy *PROTOBUF_NONNULL other)
static const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL Value_descriptor()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
static constexpr int kIndexInFileMessages
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
void UnsafeArenaSwap(CoolingScheduleStrategy *PROTOBUF_NONNULL other)
void Swap(CoolingScheduleStrategy *PROTOBUF_NONNULL other)
static bool Value_Parse(::absl::string_view name, Value *PROTOBUF_NONNULL value)
CoolingScheduleStrategy()
static const ::std::string & Value_Name(T value)
CoolingScheduleStrategy_Value Value
friend void swap(CoolingScheduleStrategy &a, CoolingScheduleStrategy &b)
void Swap(GreedyDescentAcceptanceStrategy *PROTOBUF_NONNULL other)
GreedyDescentAcceptanceStrategy & operator=(const GreedyDescentAcceptanceStrategy &from)
void CopyFrom(const GreedyDescentAcceptanceStrategy &from)
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2frouting_5fils_2eproto
void UnsafeArenaSwap(GreedyDescentAcceptanceStrategy *PROTOBUF_NONNULL other)
bool IsInitialized() const
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
GreedyDescentAcceptanceStrategy()
static const GreedyDescentAcceptanceStrategy & default_instance()
friend class ::google::protobuf::Arena::InternalHelper
friend class ::google::protobuf::Arena
void clear_best_solution_acceptance_strategy()
::operations_research::AcceptanceStrategy *PROTOBUF_NULLABLE release_reference_solution_acceptance_strategy()
void set_perturbation_strategy(::operations_research::PerturbationStrategy_Value value)
static const IteratedLocalSearchParameters & default_instance()
bool has_reference_solution_acceptance_strategy() const
static constexpr auto InternalGenerateClassData_()
void unsafe_arena_set_allocated_best_solution_acceptance_strategy(::operations_research::AcceptanceStrategy *PROTOBUF_NULLABLE value)
::operations_research::AcceptanceStrategy *PROTOBUF_NULLABLE unsafe_arena_release_reference_solution_acceptance_strategy()
void unsafe_arena_set_allocated_reference_solution_acceptance_strategy(::operations_research::AcceptanceStrategy *PROTOBUF_NULLABLE value)
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
IteratedLocalSearchParameters()
bool IsInitialized() const
static constexpr int kIndexInFileMessages
void clear_reference_solution_acceptance_strategy()
void set_allocated_best_solution_acceptance_strategy(::operations_research::AcceptanceStrategy *PROTOBUF_NULLABLE value)
void clear_perturbation_strategy()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
friend void swap(IteratedLocalSearchParameters &a, IteratedLocalSearchParameters &b)
::operations_research::RuinRecreateParameters *PROTOBUF_NULLABLE unsafe_arena_release_ruin_recreate_parameters()
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
bool has_best_solution_acceptance_strategy() const
void set_allocated_ruin_recreate_parameters(::operations_research::RuinRecreateParameters *PROTOBUF_NULLABLE value)
void set_allocated_reference_solution_acceptance_strategy(::operations_research::AcceptanceStrategy *PROTOBUF_NULLABLE value)
::operations_research::AcceptanceStrategy *PROTOBUF_NULLABLE release_best_solution_acceptance_strategy()
::size_t ByteSizeLong() const final
IteratedLocalSearchParameters *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
::operations_research::AcceptanceStrategy *PROTOBUF_NULLABLE unsafe_arena_release_best_solution_acceptance_strategy()
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void clear_ruin_recreate_parameters()
const ::operations_research::AcceptanceStrategy & best_solution_acceptance_strategy() const
inline ::google::protobuf::UnknownFieldSet *PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND
bool improve_perturbed_solution() const
::google::protobuf::Metadata GetMetadata() const
void set_improve_perturbed_solution(bool value)
bool has_improve_perturbed_solution() const
void unsafe_arena_set_allocated_ruin_recreate_parameters(::operations_research::RuinRecreateParameters *PROTOBUF_NULLABLE value)
const ::operations_research::AcceptanceStrategy & reference_solution_acceptance_strategy() const
@ kImprovePerturbedSolutionFieldNumber
@ kReferenceSolutionAcceptanceStrategyFieldNumber
@ kBestSolutionAcceptanceStrategyFieldNumber
@ kRuinRecreateParametersFieldNumber
@ kPerturbationStrategyFieldNumber
::operations_research::AcceptanceStrategy *PROTOBUF_NONNULL mutable_reference_solution_acceptance_strategy()
void Swap(IteratedLocalSearchParameters *PROTOBUF_NONNULL other)
::operations_research::AcceptanceStrategy *PROTOBUF_NONNULL mutable_best_solution_acceptance_strategy()
void clear_improve_perturbed_solution()
int GetCachedSize() const
const ::operations_research::RuinRecreateParameters & ruin_recreate_parameters() const
friend class ::google::protobuf::Arena
::operations_research::PerturbationStrategy_Value perturbation_strategy() const
void Swap(PerturbationStrategy *PROTOBUF_NONNULL other)
PerturbationStrategy & operator=(const PerturbationStrategy &from)
void MergeFrom(const PerturbationStrategy &from)
static bool Value_Parse(::absl::string_view name, Value *PROTOBUF_NONNULL value)
static constexpr int Value_ARRAYSIZE
static const ::std::string & Value_Name(T value)
PerturbationStrategy *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
static const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL Value_descriptor()
static const PerturbationStrategy & default_instance()
friend void swap(PerturbationStrategy &a, PerturbationStrategy &b)
static constexpr Value Value_MAX
bool IsInitialized() const
PerturbationStrategy_Value Value
static constexpr int kIndexInFileMessages
::size_t ByteSizeLong() const final
bool has_num_removed_visits() const
void clear_num_removed_visits()
RandomWalkRuinStrategy & operator=(const RandomWalkRuinStrategy &from)
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
void set_num_removed_visits(::uint32_t value)
void MergeFrom(const RandomWalkRuinStrategy &from)
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
static const RandomWalkRuinStrategy & default_instance()
void CopyFrom(const RandomWalkRuinStrategy &from)
RandomWalkRuinStrategy *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
void Swap(RandomWalkRuinStrategy *PROTOBUF_NONNULL other)
bool IsInitialized() const
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
friend void swap(RecreateParameters &a, RecreateParameters &b)
void set_allocated_savings(::operations_research::SavingsParameters *PROTOBUF_NULLABLE value)
inline ::google::protobuf::UnknownFieldSet *PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND
ParametersCase parameters_case() const
RecreateParameters *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
@ kGlobalCheapestInsertion
@ kLocalCheapestInsertion
void clear_global_cheapest_insertion()
void set_allocated_global_cheapest_insertion(::operations_research::GlobalCheapestInsertionParameters *PROTOBUF_NULLABLE value)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
const ::operations_research::SavingsParameters & savings() const
::operations_research::SavingsParameters *PROTOBUF_NULLABLE unsafe_arena_release_savings()
::operations_research::SavingsParameters *PROTOBUF_NULLABLE release_savings()
const ::operations_research::GlobalCheapestInsertionParameters & global_cheapest_insertion() const
void set_allocated_local_cheapest_insertion(::operations_research::LocalCheapestInsertionParameters *PROTOBUF_NULLABLE value)
bool has_global_cheapest_insertion() const
void unsafe_arena_set_allocated_savings(::operations_research::SavingsParameters *PROTOBUF_NULLABLE value)
::operations_research::GlobalCheapestInsertionParameters *PROTOBUF_NULLABLE unsafe_arena_release_global_cheapest_insertion()
void unsafe_arena_set_allocated_local_cheapest_insertion(::operations_research::LocalCheapestInsertionParameters *PROTOBUF_NULLABLE value)
::size_t ByteSizeLong() const final
void MergeFrom(const RecreateParameters &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
void CopyFrom(const RecreateParameters &from)
::operations_research::GlobalCheapestInsertionParameters *PROTOBUF_NONNULL mutable_global_cheapest_insertion()
void Swap(RecreateParameters *PROTOBUF_NONNULL other)
void unsafe_arena_set_allocated_global_cheapest_insertion(::operations_research::GlobalCheapestInsertionParameters *PROTOBUF_NULLABLE value)
void UnsafeArenaSwap(RecreateParameters *PROTOBUF_NONNULL other)
const ::operations_research::LocalCheapestInsertionParameters & local_cheapest_insertion() const
::operations_research::LocalCheapestInsertionParameters *PROTOBUF_NULLABLE unsafe_arena_release_local_cheapest_insertion()
static const RecreateParameters & default_instance()
::operations_research::GlobalCheapestInsertionParameters *PROTOBUF_NULLABLE release_global_cheapest_insertion()
::operations_research::SavingsParameters *PROTOBUF_NONNULL mutable_savings()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
void set_heuristic(::operations_research::FirstSolutionStrategy_Value value)
const ::operations_research::RecreateParameters & parameters() const
::size_t ByteSizeLong() const final
static const RecreateStrategy & default_instance()
bool has_parameters() const
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
bool has_heuristic() const
bool IsInitialized() const
RecreateStrategy & operator=(const RecreateStrategy &from)
::operations_research::FirstSolutionStrategy_Value heuristic() const
void Swap(RecreateStrategy *PROTOBUF_NONNULL other)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void CopyFrom(const RecreateStrategy &from)
RecreateStrategy *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
void Swap(RuinCompositionStrategy *PROTOBUF_NONNULL other)
static constexpr Value Value_MIN
static constexpr int Value_ARRAYSIZE
static const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL Value_descriptor()
RuinCompositionStrategy *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
static const ::std::string & Value_Name(T value)
static bool Value_IsValid(int value)
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
RuinCompositionStrategy_Value Value
static constexpr Value Value_MAX
RuinCompositionStrategy()
RuinCompositionStrategy & operator=(const RuinCompositionStrategy &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
void CopyFrom(const RuinCompositionStrategy &from)
bool IsInitialized() const
friend void swap(RuinCompositionStrategy &a, RuinCompositionStrategy &b)
double route_selection_neighbors_ratio() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
::operations_research::RecreateStrategy *PROTOBUF_NULLABLE unsafe_arena_release_recreate_strategy()
::size_t ByteSizeLong() const final
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
bool has_recreate_strategy() const
bool has_route_selection_min_neighbors() const
void set_route_selection_min_neighbors(::uint32_t value)
const ::operations_research::RuinStrategy & ruin_strategies(int index) const
void clear_route_selection_max_neighbors()
RuinRecreateParameters *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
::operations_research::RecreateStrategy *PROTOBUF_NULLABLE release_recreate_strategy()
bool IsInitialized() const
void clear_route_selection_min_neighbors()
::uint32_t route_selection_max_neighbors() const
bool has_route_selection_neighbors_ratio() const
void CopyFrom(const RuinRecreateParameters &from)
void clear_recreate_strategy()
void clear_route_selection_neighbors_ratio()
void clear_ruin_composition_strategy()
int ruin_strategies_size() const
::uint32_t route_selection_min_neighbors() const
void Swap(RuinRecreateParameters *PROTOBUF_NONNULL other)
void UnsafeArenaSwap(RuinRecreateParameters *PROTOBUF_NONNULL other)
void set_route_selection_neighbors_ratio(double value)
void set_route_selection_max_neighbors(::uint32_t value)
::operations_research::RecreateStrategy *PROTOBUF_NONNULL mutable_recreate_strategy()
void unsafe_arena_set_allocated_recreate_strategy(::operations_research::RecreateStrategy *PROTOBUF_NULLABLE value)
void set_allocated_recreate_strategy(::operations_research::RecreateStrategy *PROTOBUF_NULLABLE value)
::operations_research::RuinStrategy *PROTOBUF_NONNULL add_ruin_strategies()
void set_ruin_composition_strategy(::operations_research::RuinCompositionStrategy_Value value)
::operations_research::RuinCompositionStrategy_Value ruin_composition_strategy() const
const ::operations_research::RecreateStrategy & recreate_strategy() const
bool has_route_selection_max_neighbors() const
::operations_research::SISRRuinStrategy *PROTOBUF_NULLABLE release_sisr()
::operations_research::SISRRuinStrategy *PROTOBUF_NONNULL mutable_sisr()
::operations_research::RandomWalkRuinStrategy *PROTOBUF_NONNULL mutable_random_walk()
bool IsInitialized() const
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
bool has_spatially_close_routes() const
void set_allocated_random_walk(::operations_research::RandomWalkRuinStrategy *PROTOBUF_NULLABLE value)
void unsafe_arena_set_allocated_random_walk(::operations_research::RandomWalkRuinStrategy *PROTOBUF_NULLABLE value)
void MergeFrom(const RuinStrategy &from)
::size_t ByteSizeLong() const final
::operations_research::SISRRuinStrategy *PROTOBUF_NULLABLE unsafe_arena_release_sisr()
void set_allocated_sisr(::operations_research::SISRRuinStrategy *PROTOBUF_NULLABLE value)
const ::operations_research::SISRRuinStrategy & sisr() const
void unsafe_arena_set_allocated_sisr(::operations_research::SISRRuinStrategy *PROTOBUF_NULLABLE value)
StrategyCase strategy_case() const
void Swap(RuinStrategy *PROTOBUF_NONNULL other)
bool has_random_walk() const
const ::operations_research::RandomWalkRuinStrategy & random_walk() const
RuinStrategy *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
void set_allocated_spatially_close_routes(::operations_research::SpatiallyCloseRoutesRuinStrategy *PROTOBUF_NULLABLE value)
static constexpr int kIndexInFileMessages
static const RuinStrategy & default_instance()
::operations_research::SpatiallyCloseRoutesRuinStrategy *PROTOBUF_NULLABLE unsafe_arena_release_spatially_close_routes()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
void unsafe_arena_set_allocated_spatially_close_routes(::operations_research::SpatiallyCloseRoutesRuinStrategy *PROTOBUF_NULLABLE value)
::operations_research::RandomWalkRuinStrategy *PROTOBUF_NULLABLE unsafe_arena_release_random_walk()
::operations_research::RandomWalkRuinStrategy *PROTOBUF_NULLABLE release_random_walk()
void UnsafeArenaSwap(RuinStrategy *PROTOBUF_NONNULL other)
::operations_research::SpatiallyCloseRoutesRuinStrategy *PROTOBUF_NONNULL mutable_spatially_close_routes()
friend void swap(RuinStrategy &a, RuinStrategy &b)
::uint32_t max_removed_sequence_size() const
friend class ::google::protobuf::MessageLite
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
void clear_bypass_factor()
void Swap(SISRRuinStrategy *PROTOBUF_NONNULL other)
bool has_avg_num_removed_visits() const
inline ::google::protobuf::UnknownFieldSet *PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND
static const SISRRuinStrategy & default_instance()
static constexpr int kIndexInFileMessages
void set_avg_num_removed_visits(::uint32_t value)
bool has_bypass_factor() const
void clear_avg_num_removed_visits()
friend void swap(SISRRuinStrategy &a, SISRRuinStrategy &b)
bool IsInitialized() const
double bypass_factor() const
void set_bypass_factor(double value)
::uint32_t avg_num_removed_visits() const
::size_t ByteSizeLong() const final
SISRRuinStrategy & operator=(const SISRRuinStrategy &from)
bool has_max_removed_sequence_size() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
void clear_max_removed_sequence_size()
void set_max_removed_sequence_size(::uint32_t value)
PROTOBUF_CONSTEXPR SISRRuinStrategy(::google::protobuf::internal::ConstantInitialized)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void MergeFrom(const SISRRuinStrategy &from)
void CopyFrom(const SISRRuinStrategy &from)
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
void CopyFrom(const SimulatedAnnealingAcceptanceStrategy &from)
friend class ::google::protobuf::MessageLite
void MergeFrom(const SimulatedAnnealingAcceptanceStrategy &from)
@ kFinalTemperatureFieldNumber
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void clear_automatic_temperatures()
void Swap(SimulatedAnnealingAcceptanceStrategy *PROTOBUF_NONNULL other)
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
bool automatic_temperatures() const
bool IsInitialized() const
bool has_initial_temperature() const
PROTOBUF_CONSTEXPR SimulatedAnnealingAcceptanceStrategy(::google::protobuf::internal::ConstantInitialized)
void set_final_temperature(double value)
void clear_cooling_schedule_strategy()
::size_t ByteSizeLong() const final
void clear_initial_temperature()
::operations_research::CoolingScheduleStrategy_Value cooling_schedule_strategy() const
bool has_automatic_temperatures() const
void set_initial_temperature(double value)
void set_cooling_schedule_strategy(::operations_research::CoolingScheduleStrategy_Value value)
bool has_final_temperature() const
double final_temperature() const
void set_automatic_temperatures(bool value)
SimulatedAnnealingAcceptanceStrategy & operator=(const SimulatedAnnealingAcceptanceStrategy &from)
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
SimulatedAnnealingAcceptanceStrategy()
double initial_temperature() const
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
void clear_final_temperature()
static const SimulatedAnnealingAcceptanceStrategy & default_instance()
friend class ::google::protobuf::MessageLite
void Swap(SpatiallyCloseRoutesRuinStrategy *PROTOBUF_NONNULL other)
PROTOBUF_CONSTEXPR SpatiallyCloseRoutesRuinStrategy(::google::protobuf::internal::ConstantInitialized)
SpatiallyCloseRoutesRuinStrategy & operator=(const SpatiallyCloseRoutesRuinStrategy &from)
bool IsInitialized() const
SpatiallyCloseRoutesRuinStrategy()
::uint32_t num_ruined_routes() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
SpatiallyCloseRoutesRuinStrategy(const SpatiallyCloseRoutesRuinStrategy &from)
void CopyFrom(const SpatiallyCloseRoutesRuinStrategy &from)
bool has_num_ruined_routes() const
void clear_num_ruined_routes()
void set_num_ruined_routes(::uint32_t value)
::absl::string_view GetAnyMessageName()
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RecreateParametersDefaultTypeInternal _RecreateParameters_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull RuinCompositionStrategy_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull CoolingScheduleStrategy_class_data_
PROTOBUF_CONSTINIT const uint32_t PerturbationStrategy_Value_internal_data_[]
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RuinStrategyDefaultTypeInternal _RuinStrategy_default_instance_
constexpr PerturbationStrategy_Value PerturbationStrategy_Value_Value_MIN
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AllNodesPerformedAcceptanceStrategyDefaultTypeInternal _AllNodesPerformedAcceptanceStrategy_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RuinCompositionStrategyDefaultTypeInternal _RuinCompositionStrategy_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SISRRuinStrategy_class_data_
bool RuinCompositionStrategy_Value_Parse(::absl::string_view name, RuinCompositionStrategy_Value *PROTOBUF_NONNULL value)
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SISRRuinStrategyDefaultTypeInternal _SISRRuinStrategy_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IteratedLocalSearchParametersDefaultTypeInternal _IteratedLocalSearchParameters_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SimulatedAnnealingAcceptanceStrategyDefaultTypeInternal _SimulatedAnnealingAcceptanceStrategy_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GlobalCheapestInsertionParametersDefaultTypeInternal _GlobalCheapestInsertionParameters_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AbsencesBasedAcceptanceStrategyDefaultTypeInternal _AbsencesBasedAcceptanceStrategy_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull PerturbationStrategy_class_data_
bool CoolingScheduleStrategy_Value_Parse(::absl::string_view name, CoolingScheduleStrategy_Value *PROTOBUF_NONNULL value)
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull RuinRecreateParameters_class_data_
bool PerturbationStrategy_Value_Parse(::absl::string_view name, PerturbationStrategy_Value *PROTOBUF_NONNULL value)
constexpr int CoolingScheduleStrategy_Value_Value_ARRAYSIZE
bool CoolingScheduleStrategy_Value_IsValid(int value)
constexpr RuinCompositionStrategy_Value RuinCompositionStrategy_Value_Value_MAX
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull AllNodesPerformedAcceptanceStrategy_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RuinRecreateParametersDefaultTypeInternal _RuinRecreateParameters_default_instance_
constexpr CoolingScheduleStrategy_Value CoolingScheduleStrategy_Value_Value_MIN
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL RuinCompositionStrategy_Value_descriptor()
PROTOBUF_CONSTINIT const uint32_t CoolingScheduleStrategy_Value_internal_data_[]
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull RecreateParameters_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull RandomWalkRuinStrategy_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AcceptanceStrategyDefaultTypeInternal _AcceptanceStrategy_default_instance_
constexpr RuinCompositionStrategy_Value RuinCompositionStrategy_Value_Value_MIN
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull IteratedLocalSearchParameters_class_data_
const ::std::string & CoolingScheduleStrategy_Value_Name(T value)
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull GreedyDescentAcceptanceStrategy_class_data_
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL PerturbationStrategy_Value_descriptor()
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull MoreNodesPerformedAcceptanceStrategy_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SavingsParametersDefaultTypeInternal _SavingsParameters_default_instance_
const ::std::string & RuinCompositionStrategy_Value_Name(T value)
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GreedyDescentAcceptanceStrategyDefaultTypeInternal _GreedyDescentAcceptanceStrategy_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MoreNodesPerformedAcceptanceStrategyDefaultTypeInternal _MoreNodesPerformedAcceptanceStrategy_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull RuinStrategy_class_data_
constexpr CoolingScheduleStrategy_Value CoolingScheduleStrategy_Value_Value_MAX
const ::std::string & PerturbationStrategy_Value_Name(T value)
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull AbsencesBasedAcceptanceStrategy_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RandomWalkRuinStrategyDefaultTypeInternal _RandomWalkRuinStrategy_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull AcceptanceStrategy_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PerturbationStrategyDefaultTypeInternal _PerturbationStrategy_default_instance_
PerturbationStrategy_Value
@ PerturbationStrategy_Value_UNSET
@ PerturbationStrategy_Value_PerturbationStrategy_Value_INT_MAX_SENTINEL_DO_NOT_USE_
@ PerturbationStrategy_Value_PerturbationStrategy_Value_INT_MIN_SENTINEL_DO_NOT_USE_
@ PerturbationStrategy_Value_RUIN_AND_RECREATE
bool PerturbationStrategy_Value_IsValid(int value)
bool RuinCompositionStrategy_Value_IsValid(int value)
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SpatiallyCloseRoutesRuinStrategy_class_data_
constexpr int PerturbationStrategy_Value_Value_ARRAYSIZE
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SimulatedAnnealingAcceptanceStrategy_class_data_
PROTOBUF_CONSTINIT const uint32_t RuinCompositionStrategy_Value_internal_data_[]
CoolingScheduleStrategy_Value
@ CoolingScheduleStrategy_Value_LINEAR
@ CoolingScheduleStrategy_Value_EXPONENTIAL
@ CoolingScheduleStrategy_Value_UNSET
@ CoolingScheduleStrategy_Value_CoolingScheduleStrategy_Value_INT_MAX_SENTINEL_DO_NOT_USE_
@ CoolingScheduleStrategy_Value_CoolingScheduleStrategy_Value_INT_MIN_SENTINEL_DO_NOT_USE_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LocalCheapestInsertionParametersDefaultTypeInternal _LocalCheapestInsertionParameters_default_instance_
constexpr int RuinCompositionStrategy_Value_Value_ARRAYSIZE
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SpatiallyCloseRoutesRuinStrategyDefaultTypeInternal _SpatiallyCloseRoutesRuinStrategy_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RecreateStrategyDefaultTypeInternal _RecreateStrategy_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull RecreateStrategy_class_data_
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL CoolingScheduleStrategy_Value_descriptor()
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CoolingScheduleStrategyDefaultTypeInternal _CoolingScheduleStrategy_default_instance_
FirstSolutionStrategy_Value
RuinCompositionStrategy_Value
@ RuinCompositionStrategy_Value_RuinCompositionStrategy_Value_INT_MIN_SENTINEL_DO_NOT_USE_
@ RuinCompositionStrategy_Value_UNSET
@ RuinCompositionStrategy_Value_RuinCompositionStrategy_Value_INT_MAX_SENTINEL_DO_NOT_USE_
@ RuinCompositionStrategy_Value_RUN_ALL_SEQUENTIALLY
@ RuinCompositionStrategy_Value_RUN_ALL_RANDOMLY
@ RuinCompositionStrategy_Value_RUN_ONE_RANDOMLY
constexpr PerturbationStrategy_Value PerturbationStrategy_Value_Value_MAX
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fconstraint_5fsolver_2frouting_5fils_2eproto