6#ifndef ortools_2fconstraint_5fsolver_2frouting_5fheuristic_5fparameters_2eproto_2epb_2eh
7#define ortools_2fconstraint_5fsolver_2frouting_5fheuristic_5fparameters_2eproto_2epb_2eh
14#include "google/protobuf/runtime_version.h"
15#if PROTOBUF_VERSION != 6033001
16#error "Protobuf C++ gencode is built with an incompatible version of"
17#error "Protobuf C++ headers/runtime. See"
18#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
20#include "google/protobuf/io/coded_stream.h"
21#include "google/protobuf/arena.h"
22#include "google/protobuf/arenastring.h"
23#include "google/protobuf/generated_message_tctable_decl.h"
24#include "google/protobuf/generated_message_util.h"
25#include "google/protobuf/metadata_lite.h"
26#include "google/protobuf/generated_message_reflection.h"
27#include "google/protobuf/message.h"
28#include "google/protobuf/message_lite.h"
29#include "google/protobuf/repeated_field.h"
30#include "google/protobuf/extension_set.h"
31#include "google/protobuf/generated_enum_reflection.h"
32#include "google/protobuf/unknown_field_set.h"
36#include "google/protobuf/port_def.inc"
38#define PROTOBUF_INTERNAL_EXPORT_ortools_2fconstraint_5fsolver_2frouting_5fheuristic_5fparameters_2eproto OR_PROTO_DLL
77internal::EnumTraitsT<::operations_research::LocalCheapestInsertionParameters_InsertionSortingProperty_internal_data_>
78 internal::EnumTraitsImpl::value<::operations_research::LocalCheapestInsertionParameters_InsertionSortingProperty>;
80internal::EnumTraitsT<::operations_research::LocalCheapestInsertionParameters_PairInsertionStrategy_internal_data_>
81 internal::EnumTraitsImpl::value<::operations_research::LocalCheapestInsertionParameters_PairInsertionStrategy>;
92 ::std::numeric_limits<::int32_t>::min(),
94 ::std::numeric_limits<::int32_t>::max(),
103 return 0 <= value && value <= 3;
109 static_assert(::std::is_same<T, LocalCheapestInsertionParameters_PairInsertionStrategy>::value ||
110 ::std::is_integral<T>::value,
111 "Incorrect type passed to PairInsertionStrategy_Name().");
116 return ::google::protobuf::internal::NameOfDenseEnum<LocalCheapestInsertionParameters_PairInsertionStrategy_descriptor, 0, 3>(
117 static_cast<int>(value));
135 ::std::numeric_limits<::int32_t>::min(),
137 ::std::numeric_limits<::int32_t>::max(),
146 return 0 <= value && value <= 8;
152 static_assert(::std::is_same<T, LocalCheapestInsertionParameters_InsertionSortingProperty>::value ||
153 ::std::is_integral<T>::value,
154 "Incorrect type passed to InsertionSortingProperty_Name().");
159 return ::google::protobuf::internal::NameOfDenseEnum<LocalCheapestInsertionParameters_InsertionSortingProperty_descriptor, 0, 8>(
160 static_cast<int>(value));
173class OR_PROTO_DLL SavingsParameters final :
public ::google::protobuf::Message
179#if defined(PROTOBUF_CUSTOM_VTABLE)
180 void operator delete(
SavingsParameters* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
186 template <
typename =
void>
187 explicit PROTOBUF_CONSTEXPR
SavingsParameters(::google::protobuf::internal::ConstantInitialized);
197 if (
this == &from)
return *
this;
198 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
206 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
207 ABSL_ATTRIBUTE_LIFETIME_BOUND {
208 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
210 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
211 ABSL_ATTRIBUTE_LIFETIME_BOUND {
212 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
215 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
216 return GetDescriptor();
218 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
219 return default_instance().GetMetadata().descriptor;
221 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
222 return default_instance().GetMetadata().reflection;
228 static constexpr int kIndexInFileMessages = 1;
231 if (other ==
this)
return;
232 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
235 ::google::protobuf::internal::GenericSwap(
this, other);
238 void UnsafeArenaSwap(SavingsParameters* PROTOBUF_NONNULL other) {
239 if (other ==
this)
return;
240 ABSL_DCHECK(GetArena() == other->GetArena());
246 SavingsParameters* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
247 return ::google::protobuf::Message::DefaultConstruct<SavingsParameters>(arena);
249 using ::google::protobuf::Message::CopyFrom;
251 using ::google::protobuf::Message::MergeFrom;
252 void MergeFrom(
const SavingsParameters& from) { SavingsParameters::MergeImpl(*
this, from); }
255 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
256 const ::google::protobuf::MessageLite& from_msg);
262 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
263 #if defined(PROTOBUF_CUSTOM_VTABLE)
265 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
266 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
267 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
268 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
271 ::size_t ByteSizeLong()
const {
return ByteSizeLong(*
this); }
272 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
273 ::uint8_t* PROTOBUF_NONNULL target,
274 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
275 return _InternalSerialize(*
this, target, stream);
278 ::size_t ByteSizeLong() const final;
279 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
280 ::uint8_t* PROTOBUF_NONNULL target,
281 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
283 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
286 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
290 template <
typename T>
292 static ::absl::string_view FullMessageName() {
return "operations_research.SavingsParameters"; }
297 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
SavingsParameters&& from) noexcept
299 *
this = ::std::move(from);
301 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
302 static
void* PROTOBUF_NONNULL PlacementNew_(
303 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
304 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
305 static constexpr auto InternalNewImpl_();
308 static constexpr auto InternalGenerateClassData_();
310 ::
google::protobuf::Metadata GetMetadata() const;
315 kNeighborsRatioFieldNumber = 1,
316 kMaxMemoryUsageBytesFieldNumber = 2,
326 double _internal_neighbors_ratio()
const;
327 void _internal_set_neighbors_ratio(
double value);
336 double _internal_max_memory_usage_bytes()
const;
337 void _internal_set_max_memory_usage_bytes(
double value);
346 double _internal_arc_coefficient()
const;
347 void _internal_set_arc_coefficient(
double value);
356 bool _internal_add_reverse_arcs()
const;
357 void _internal_set_add_reverse_arcs(
bool value);
363 friend class ::google::protobuf::internal::TcParser;
364 static const ::google::protobuf::internal::TcParseTable<2, 4,
369 friend class ::google::protobuf::MessageLite;
370 friend class ::google::protobuf::Arena;
371 template <
typename T>
372 friend class ::google::protobuf::Arena::InternalHelper;
373 using InternalArenaConstructable_ = void;
374 using DestructorSkippable_ = void;
376 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
377 inline explicit Impl_(
378 ::google::protobuf::internal::InternalVisibility visibility,
379 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
380 inline explicit Impl_(
381 ::google::protobuf::internal::InternalVisibility visibility,
382 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
384 ::google::protobuf::internal::HasBits<1> _has_bits_;
385 ::google::protobuf::internal::CachedSize _cached_size_;
386 double neighbors_ratio_;
387 double max_memory_usage_bytes_;
388 double arc_coefficient_;
389 bool add_reverse_arcs_;
390 PROTOBUF_TSAN_DECLARE_MEMBER
392 union { Impl_ _impl_; };
393 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2frouting_5fheuristic_5fparameters_2eproto;
405#if defined(PROTOBUF_CUSTOM_VTABLE)
412 template <
typename =
void>
423 if (
this == &from)
return *
this;
424 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
432 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
433 ABSL_ATTRIBUTE_LIFETIME_BOUND {
434 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
436 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
437 ABSL_ATTRIBUTE_LIFETIME_BOUND {
438 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
441 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
442 return GetDescriptor();
444 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
GetDescriptor() {
447 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL
GetReflection() {
454 static constexpr int kIndexInFileMessages = 0;
456 inline void Swap(LocalCheapestInsertionParameters* PROTOBUF_NONNULL other) {
457 if (other ==
this)
return;
458 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
461 ::google::protobuf::internal::GenericSwap(
this, other);
464 void UnsafeArenaSwap(LocalCheapestInsertionParameters* PROTOBUF_NONNULL other) {
465 if (other ==
this)
return;
466 ABSL_DCHECK(GetArena() == other->GetArena());
473 return ::google::protobuf::Message::DefaultConstruct<LocalCheapestInsertionParameters>(arena);
475 using ::google::protobuf::Message::CopyFrom;
477 using ::google::protobuf::Message::MergeFrom;
481 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
482 const ::google::protobuf::MessageLite& from_msg);
488 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
489 #if defined(PROTOBUF_CUSTOM_VTABLE)
491 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
493 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
494 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
498 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
499 ::uint8_t* PROTOBUF_NONNULL target,
500 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
501 return _InternalSerialize(*
this, target, stream);
504 ::size_t ByteSizeLong() const final;
505 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
506 ::uint8_t* PROTOBUF_NONNULL target,
507 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
509 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
512 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
516 template <
typename T>
518 static ::absl::string_view FullMessageName() {
return "operations_research.LocalCheapestInsertionParameters"; }
525 *
this = ::std::move(from);
527 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
528 static
void* PROTOBUF_NONNULL PlacementNew_(
529 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
530 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
531 static constexpr auto InternalNewImpl_();
534 static constexpr auto InternalGenerateClassData_();
536 ::
google::protobuf::Metadata GetMetadata() const;
538 using PairInsertionStrategy = LocalCheapestInsertionParameters_PairInsertionStrategy;
539 static constexpr PairInsertionStrategy AUTOMATIC = LocalCheapestInsertionParameters_PairInsertionStrategy_AUTOMATIC;
540 static constexpr PairInsertionStrategy BEST_PICKUP_THEN_BEST_DELIVERY = LocalCheapestInsertionParameters_PairInsertionStrategy_BEST_PICKUP_THEN_BEST_DELIVERY;
552 template <
typename T>
579 template <
typename T>
590 kInsertionSortingPropertiesFieldNumber = 2,
591 kPickupDeliveryStrategyFieldNumber = 1,
596 int _internal_insertion_sorting_properties_size()
const;
608 const ::google::protobuf::RepeatedField<int>& _internal_insertion_sorting_properties()
const;
609 ::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL _internal_mutable_insertion_sorting_properties();
625 friend class ::google::protobuf::internal::TcParser;
626 static const ::google::protobuf::internal::TcParseTable<1, 2,
631 friend class ::google::protobuf::MessageLite;
632 friend class ::google::protobuf::Arena;
633 template <
typename T>
634 friend class ::google::protobuf::Arena::InternalHelper;
635 using InternalArenaConstructable_ = void;
636 using DestructorSkippable_ = void;
638 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
639 inline explicit Impl_(
640 ::google::protobuf::internal::InternalVisibility visibility,
641 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
642 inline explicit Impl_(
643 ::google::protobuf::internal::InternalVisibility visibility,
644 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
646 ::google::protobuf::internal::HasBits<1> _has_bits_;
647 ::google::protobuf::internal::CachedSize _cached_size_;
648 ::google::protobuf::RepeatedField<int> insertion_sorting_properties_;
649 ::google::protobuf::internal::CachedSize _insertion_sorting_properties_cached_byte_size_;
650 int pickup_delivery_strategy_;
651 PROTOBUF_TSAN_DECLARE_MEMBER
653 union { Impl_ _impl_; };
654 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2frouting_5fheuristic_5fparameters_2eproto;
666#if defined(PROTOBUF_CUSTOM_VTABLE)
673 template <
typename =
void>
677 inline GlobalCheapestInsertionParameters(GlobalCheapestInsertionParameters&& from) noexcept
684 if (
this == &from)
return *
this;
685 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
693 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
694 ABSL_ATTRIBUTE_LIFETIME_BOUND {
695 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
698 ABSL_ATTRIBUTE_LIFETIME_BOUND {
699 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
702 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
descriptor() {
705 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
708 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
718 if (other ==
this)
return;
719 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
722 ::google::protobuf::internal::GenericSwap(
this, other);
725 void UnsafeArenaSwap(GlobalCheapestInsertionParameters* PROTOBUF_NONNULL other) {
726 if (other ==
this)
return;
727 ABSL_DCHECK(GetArena() == other->GetArena());
734 return ::google::protobuf::Message::DefaultConstruct<GlobalCheapestInsertionParameters>(arena);
736 using ::google::protobuf::Message::CopyFrom;
738 using ::google::protobuf::Message::MergeFrom;
742 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
743 const ::google::protobuf::MessageLite& from_msg);
749 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
750 #if defined(PROTOBUF_CUSTOM_VTABLE)
752 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
754 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
755 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
759 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
760 ::uint8_t* PROTOBUF_NONNULL target,
761 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
762 return _InternalSerialize(*
this, target, stream);
765 ::size_t ByteSizeLong() const final;
766 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
767 ::uint8_t* PROTOBUF_NONNULL target,
768 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
770 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
773 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
777 template <
typename T>
779 static ::absl::string_view FullMessageName() {
return "operations_research.GlobalCheapestInsertionParameters"; }
786 *
this = ::std::move(from);
788 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
789 static
void* PROTOBUF_NONNULL PlacementNew_(
790 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
791 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
792 static constexpr auto InternalNewImpl_();
795 static constexpr auto InternalGenerateClassData_();
797 ::
google::protobuf::Metadata GetMetadata() const;
802 kFarthestSeedsRatioFieldNumber = 1,
803 kNeighborsRatioFieldNumber = 2,
804 kMinNeighborsFieldNumber = 3,
805 kUseNeighborsRatioForInitializationFieldNumber = 6,
814 double _internal_farthest_seeds_ratio()
const;
815 void _internal_set_farthest_seeds_ratio(
double value);
824 double _internal_neighbors_ratio()
const;
825 void _internal_set_neighbors_ratio(
double value);
834 ::int32_t _internal_min_neighbors()
const;
835 void _internal_set_min_neighbors(::int32_t value);
844 bool _internal_use_neighbors_ratio_for_initialization()
const;
845 void _internal_set_use_neighbors_ratio_for_initialization(
bool value);
854 bool _internal_add_unperformed_entries()
const;
855 void _internal_set_add_unperformed_entries(
bool value);
861 friend class ::google::protobuf::internal::TcParser;
862 static const ::google::protobuf::internal::TcParseTable<3, 5,
867 friend class ::google::protobuf::MessageLite;
868 friend class ::google::protobuf::Arena;
869 template <
typename T>
870 friend class ::google::protobuf::Arena::InternalHelper;
871 using InternalArenaConstructable_ = void;
872 using DestructorSkippable_ = void;
874 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
875 inline explicit Impl_(
876 ::google::protobuf::internal::InternalVisibility visibility,
877 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
878 inline explicit Impl_(
879 ::google::protobuf::internal::InternalVisibility visibility,
880 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
882 ::google::protobuf::internal::HasBits<1> _has_bits_;
883 ::google::protobuf::internal::CachedSize _cached_size_;
884 double farthest_seeds_ratio_;
885 double neighbors_ratio_;
886 ::int32_t min_neighbors_;
887 bool use_neighbors_ratio_for_initialization_;
888 bool add_unperformed_entries_;
889 PROTOBUF_TSAN_DECLARE_MEMBER
891 union { Impl_ _impl_; };
892 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2frouting_5fheuristic_5fparameters_2eproto;
906#pragma GCC diagnostic push
907#pragma GCC diagnostic ignored "-Wstrict-aliasing"
915 ::google::protobuf::internal::TSanWrite(&
_impl_);
916 _impl_.pickup_delivery_strategy_ = 0;
917 ClearHasBit(
_impl_._has_bits_[0],
922 return _internal_pickup_delivery_strategy();
925 _internal_set_pickup_delivery_strategy(value);
926 SetHasBit(
_impl_._has_bits_[0], 0x00000002U);
929inline ::operations_research::LocalCheapestInsertionParameters_PairInsertionStrategy LocalCheapestInsertionParameters::_internal_pickup_delivery_strategy()
const {
930 ::google::protobuf::internal::TSanRead(&
_impl_);
934 ::google::protobuf::internal::TSanWrite(&
_impl_);
935 _impl_.pickup_delivery_strategy_ = value;
939inline int LocalCheapestInsertionParameters::_internal_insertion_sorting_properties_size()
const {
940 return _internal_insertion_sorting_properties().size();
943 return _internal_insertion_sorting_properties_size();
946 ::google::protobuf::internal::TSanWrite(&
_impl_);
947 _impl_.insertion_sorting_properties_.Clear();
948 ClearHasBitForRepeated(
_impl_._has_bits_[0],
956 _internal_mutable_insertion_sorting_properties()->Set(index, value);
960 ::google::protobuf::internal::TSanWrite(&
_impl_);
961 _internal_mutable_insertion_sorting_properties()->Add(value);
962 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
966 ABSL_ATTRIBUTE_LIFETIME_BOUND {
968 return _internal_insertion_sorting_properties();
971 ABSL_ATTRIBUTE_LIFETIME_BOUND {
972 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
974 ::google::protobuf::internal::TSanWrite(&
_impl_);
975 return _internal_mutable_insertion_sorting_properties();
977inline const ::google::protobuf::RepeatedField<int>& LocalCheapestInsertionParameters::_internal_insertion_sorting_properties()
979 ::google::protobuf::internal::TSanRead(&
_impl_);
980 return _impl_.insertion_sorting_properties_;
982inline ::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL
983LocalCheapestInsertionParameters::_internal_mutable_insertion_sorting_properties() {
984 ::google::protobuf::internal::TSanRead(&
_impl_);
985 return &
_impl_.insertion_sorting_properties_;
994 ::google::protobuf::internal::TSanWrite(&
_impl_);
995 _impl_.neighbors_ratio_ = 0;
996 ClearHasBit(
_impl_._has_bits_[0],
1001 return _internal_neighbors_ratio();
1004 _internal_set_neighbors_ratio(value);
1005 SetHasBit(
_impl_._has_bits_[0], 0x00000001U);
1008inline double SavingsParameters::_internal_neighbors_ratio()
const {
1009 ::google::protobuf::internal::TSanRead(&
_impl_);
1010 return _impl_.neighbors_ratio_;
1012inline void SavingsParameters::_internal_set_neighbors_ratio(
double value) {
1013 ::google::protobuf::internal::TSanWrite(&
_impl_);
1014 _impl_.neighbors_ratio_ = value;
1019 ::google::protobuf::internal::TSanWrite(&
_impl_);
1020 _impl_.max_memory_usage_bytes_ = 0;
1021 ClearHasBit(
_impl_._has_bits_[0],
1026 return _internal_max_memory_usage_bytes();
1029 _internal_set_max_memory_usage_bytes(value);
1030 SetHasBit(
_impl_._has_bits_[0], 0x00000002U);
1033inline double SavingsParameters::_internal_max_memory_usage_bytes()
const {
1034 ::google::protobuf::internal::TSanRead(&
_impl_);
1035 return _impl_.max_memory_usage_bytes_;
1037inline void SavingsParameters::_internal_set_max_memory_usage_bytes(
double value) {
1038 ::google::protobuf::internal::TSanWrite(&
_impl_);
1039 _impl_.max_memory_usage_bytes_ = value;
1044 ::google::protobuf::internal::TSanWrite(&
_impl_);
1045 _impl_.add_reverse_arcs_ =
false;
1046 ClearHasBit(
_impl_._has_bits_[0],
1051 return _internal_add_reverse_arcs();
1054 _internal_set_add_reverse_arcs(value);
1055 SetHasBit(
_impl_._has_bits_[0], 0x00000008U);
1058inline bool SavingsParameters::_internal_add_reverse_arcs()
const {
1059 ::google::protobuf::internal::TSanRead(&
_impl_);
1060 return _impl_.add_reverse_arcs_;
1062inline void SavingsParameters::_internal_set_add_reverse_arcs(
bool value) {
1063 ::google::protobuf::internal::TSanWrite(&
_impl_);
1064 _impl_.add_reverse_arcs_ = value;
1069 ::google::protobuf::internal::TSanWrite(&
_impl_);
1070 _impl_.arc_coefficient_ = 0;
1071 ClearHasBit(
_impl_._has_bits_[0],
1076 return _internal_arc_coefficient();
1079 _internal_set_arc_coefficient(value);
1080 SetHasBit(
_impl_._has_bits_[0], 0x00000004U);
1083inline double SavingsParameters::_internal_arc_coefficient()
const {
1084 ::google::protobuf::internal::TSanRead(&
_impl_);
1085 return _impl_.arc_coefficient_;
1087inline void SavingsParameters::_internal_set_arc_coefficient(
double value) {
1088 ::google::protobuf::internal::TSanWrite(&
_impl_);
1089 _impl_.arc_coefficient_ = value;
1098 ::google::protobuf::internal::TSanWrite(&
_impl_);
1099 _impl_.farthest_seeds_ratio_ = 0;
1100 ClearHasBit(
_impl_._has_bits_[0],
1105 return _internal_farthest_seeds_ratio();
1108 _internal_set_farthest_seeds_ratio(value);
1109 SetHasBit(
_impl_._has_bits_[0], 0x00000001U);
1112inline double GlobalCheapestInsertionParameters::_internal_farthest_seeds_ratio()
const {
1113 ::google::protobuf::internal::TSanRead(&
_impl_);
1114 return _impl_.farthest_seeds_ratio_;
1116inline void GlobalCheapestInsertionParameters::_internal_set_farthest_seeds_ratio(
double value) {
1117 ::google::protobuf::internal::TSanWrite(&
_impl_);
1118 _impl_.farthest_seeds_ratio_ = value;
1123 ::google::protobuf::internal::TSanWrite(&
_impl_);
1124 _impl_.neighbors_ratio_ = 0;
1125 ClearHasBit(
_impl_._has_bits_[0],
1130 return _internal_neighbors_ratio();
1133 _internal_set_neighbors_ratio(value);
1134 SetHasBit(
_impl_._has_bits_[0], 0x00000002U);
1137inline double GlobalCheapestInsertionParameters::_internal_neighbors_ratio()
const {
1138 ::google::protobuf::internal::TSanRead(&
_impl_);
1139 return _impl_.neighbors_ratio_;
1141inline void GlobalCheapestInsertionParameters::_internal_set_neighbors_ratio(
double value) {
1142 ::google::protobuf::internal::TSanWrite(&
_impl_);
1143 _impl_.neighbors_ratio_ = value;
1148 ::google::protobuf::internal::TSanWrite(&
_impl_);
1149 _impl_.min_neighbors_ = 0;
1150 ClearHasBit(
_impl_._has_bits_[0],
1155 return _internal_min_neighbors();
1158 _internal_set_min_neighbors(value);
1159 SetHasBit(
_impl_._has_bits_[0], 0x00000004U);
1162inline ::int32_t GlobalCheapestInsertionParameters::_internal_min_neighbors()
const {
1163 ::google::protobuf::internal::TSanRead(&
_impl_);
1164 return _impl_.min_neighbors_;
1166inline void GlobalCheapestInsertionParameters::_internal_set_min_neighbors(::int32_t value) {
1167 ::google::protobuf::internal::TSanWrite(&
_impl_);
1168 _impl_.min_neighbors_ = value;
1173 ::google::protobuf::internal::TSanWrite(&
_impl_);
1174 _impl_.use_neighbors_ratio_for_initialization_ =
false;
1175 ClearHasBit(
_impl_._has_bits_[0],
1180 return _internal_use_neighbors_ratio_for_initialization();
1183 _internal_set_use_neighbors_ratio_for_initialization(value);
1184 SetHasBit(
_impl_._has_bits_[0], 0x00000008U);
1187inline bool GlobalCheapestInsertionParameters::_internal_use_neighbors_ratio_for_initialization()
const {
1188 ::google::protobuf::internal::TSanRead(&
_impl_);
1189 return _impl_.use_neighbors_ratio_for_initialization_;
1191inline void GlobalCheapestInsertionParameters::_internal_set_use_neighbors_ratio_for_initialization(
bool value) {
1192 ::google::protobuf::internal::TSanWrite(&
_impl_);
1193 _impl_.use_neighbors_ratio_for_initialization_ = value;
1198 ::google::protobuf::internal::TSanWrite(&
_impl_);
1199 _impl_.add_unperformed_entries_ =
false;
1200 ClearHasBit(
_impl_._has_bits_[0],
1205 return _internal_add_unperformed_entries();
1208 _internal_set_add_unperformed_entries(value);
1209 SetHasBit(
_impl_._has_bits_[0], 0x00000010U);
1212inline bool GlobalCheapestInsertionParameters::_internal_add_unperformed_entries()
const {
1213 ::google::protobuf::internal::TSanRead(&
_impl_);
1214 return _impl_.add_unperformed_entries_;
1216inline void GlobalCheapestInsertionParameters::_internal_set_add_unperformed_entries(
bool value) {
1217 ::google::protobuf::internal::TSanWrite(&
_impl_);
1218 _impl_.add_unperformed_entries_ = value;
1222#pragma GCC diagnostic pop
1236 return ::operations_research::LocalCheapestInsertionParameters_PairInsertionStrategy_descriptor();
1242 return ::operations_research::LocalCheapestInsertionParameters_InsertionSortingProperty_descriptor();
1250#include "google/protobuf/port_undef.inc"
::size_t ByteSizeLong() const final
void clear_neighbors_ratio()
static const GlobalCheapestInsertionParameters & default_instance()
friend class ::google::protobuf::MessageLite
void CopyFrom(const GlobalCheapestInsertionParameters &from)
void clear_farthest_seeds_ratio()
void Swap(GlobalCheapestInsertionParameters *PROTOBUF_NONNULL other)
bool add_unperformed_entries() const
void set_add_unperformed_entries(bool value)
double neighbors_ratio() const
PROTOBUF_CONSTEXPR GlobalCheapestInsertionParameters(::google::protobuf::internal::ConstantInitialized)
::int32_t min_neighbors() const
void clear_use_neighbors_ratio_for_initialization()
void set_farthest_seeds_ratio(double value)
void set_neighbors_ratio(double value)
@ kAddUnperformedEntriesFieldNumber
inline ::google::protobuf::UnknownFieldSet *PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND
void MergeFrom(const GlobalCheapestInsertionParameters &from)
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
void set_use_neighbors_ratio_for_initialization(bool value)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
double farthest_seeds_ratio() const
void clear_min_neighbors()
static constexpr int kIndexInFileMessages
void set_min_neighbors(::int32_t value)
bool use_neighbors_ratio_for_initialization() const
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
GlobalCheapestInsertionParameters()
bool IsInitialized() const
GlobalCheapestInsertionParameters & operator=(const GlobalCheapestInsertionParameters &from)
void clear_add_unperformed_entries()
friend void swap(GlobalCheapestInsertionParameters &a, GlobalCheapestInsertionParameters &b)
friend class ::google::protobuf::MessageLite
::size_t ByteSizeLong() const final
bool IsInitialized() const
::operations_research::LocalCheapestInsertionParameters_PairInsertionStrategy pickup_delivery_strategy() const
static constexpr InsertionSortingProperty SORTING_PROPERTY_PENALTY
static constexpr InsertionSortingProperty SORTING_PROPERTY_LOWEST_MIN_ARC_COST_TO_VEHICLE_START_ENDS
void clear_pickup_delivery_strategy()
static constexpr int PairInsertionStrategy_ARRAYSIZE
::google::protobuf::RepeatedField< int > *PROTOBUF_NONNULL mutable_insertion_sorting_properties()
void clear_insertion_sorting_properties()
const ::google::protobuf::RepeatedField< int > & insertion_sorting_properties() const
static const ::std::string & PairInsertionStrategy_Name(T value)
void add_insertion_sorting_properties(::operations_research::LocalCheapestInsertionParameters_InsertionSortingProperty value)
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
static constexpr int InsertionSortingProperty_ARRAYSIZE
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
static constexpr PairInsertionStrategy PairInsertionStrategy_MAX
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
LocalCheapestInsertionParameters_PairInsertionStrategy PairInsertionStrategy
static const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL PairInsertionStrategy_descriptor()
static const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL InsertionSortingProperty_descriptor()
static constexpr InsertionSortingProperty InsertionSortingProperty_MAX
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
void set_pickup_delivery_strategy(::operations_research::LocalCheapestInsertionParameters_PairInsertionStrategy value)
static bool InsertionSortingProperty_Parse(::absl::string_view name, InsertionSortingProperty *PROTOBUF_NONNULL value)
static constexpr PairInsertionStrategy BEST_PICKUP_DELIVERY_PAIR
static constexpr InsertionSortingProperty InsertionSortingProperty_MIN
static constexpr InsertionSortingProperty SORTING_PROPERTY_RANDOM
LocalCheapestInsertionParameters_InsertionSortingProperty InsertionSortingProperty
void CopyFrom(const LocalCheapestInsertionParameters &from)
static constexpr PairInsertionStrategy PairInsertionStrategy_MIN
LocalCheapestInsertionParameters()
static const LocalCheapestInsertionParameters & default_instance()
static const ::std::string & InsertionSortingProperty_Name(T value)
void MergeFrom(const LocalCheapestInsertionParameters &from)
static constexpr PairInsertionStrategy BEST_PICKUP_DELIVERY_PAIR_MULTITOUR
static bool PairInsertionStrategy_Parse(::absl::string_view name, PairInsertionStrategy *PROTOBUF_NONNULL value)
static bool PairInsertionStrategy_IsValid(int value)
static constexpr InsertionSortingProperty SORTING_PROPERTY_LOWEST_AVG_ARC_COST_TO_VEHICLE_START_ENDS
static constexpr InsertionSortingProperty SORTING_PROPERTY_PENALTY_OVER_ALLOWED_VEHICLES_RATIO
::operations_research::LocalCheapestInsertionParameters_InsertionSortingProperty insertion_sorting_properties(int index) const
void set_insertion_sorting_properties(int index, ::operations_research::LocalCheapestInsertionParameters_InsertionSortingProperty value)
LocalCheapestInsertionParameters & operator=(const LocalCheapestInsertionParameters &from)
PROTOBUF_CONSTEXPR LocalCheapestInsertionParameters(::google::protobuf::internal::ConstantInitialized)
static bool InsertionSortingProperty_IsValid(int value)
static constexpr InsertionSortingProperty SORTING_PROPERTY_HIGHEST_DIMENSION_USAGE
int insertion_sorting_properties_size() const
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
void Swap(LocalCheapestInsertionParameters *PROTOBUF_NONNULL other)
static constexpr InsertionSortingProperty SORTING_PROPERTY_HIGHEST_AVG_ARC_COST_TO_VEHICLE_START_ENDS
friend class ::google::protobuf::MessageLite
void CopyFrom(const SavingsParameters &from)
void set_add_reverse_arcs(bool value)
double arc_coefficient() const
void set_neighbors_ratio(double value)
SavingsParameters(const SavingsParameters &from)
void Swap(SavingsParameters *PROTOBUF_NONNULL other)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
void clear_arc_coefficient()
@ kAddReverseArcsFieldNumber
@ kArcCoefficientFieldNumber
void clear_add_reverse_arcs()
SavingsParameters & operator=(const SavingsParameters &from)
double max_memory_usage_bytes() const
void set_max_memory_usage_bytes(double value)
bool add_reverse_arcs() const
double neighbors_ratio() const
bool IsInitialized() const
void set_arc_coefficient(double value)
void clear_max_memory_usage_bytes()
void clear_neighbors_ratio()
PROTOBUF_CONSTEXPR SavingsParameters(::google::protobuf::internal::ConstantInitialized)
::absl::string_view GetAnyMessageName()
const EnumDescriptor *PROTOBUF_NONNULL GetEnumDescriptor<::operations_research::LocalCheapestInsertionParameters_PairInsertionStrategy >()
const EnumDescriptor *PROTOBUF_NONNULL GetEnumDescriptor<::operations_research::LocalCheapestInsertionParameters_InsertionSortingProperty >()
constexpr LocalCheapestInsertionParameters_InsertionSortingProperty LocalCheapestInsertionParameters_InsertionSortingProperty_InsertionSortingProperty_MIN
PROTOBUF_CONSTINIT const uint32_t LocalCheapestInsertionParameters_InsertionSortingProperty_internal_data_[]
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SavingsParameters_class_data_
const ::std::string & LocalCheapestInsertionParameters_PairInsertionStrategy_Name(T value)
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull LocalCheapestInsertionParameters_class_data_
constexpr LocalCheapestInsertionParameters_PairInsertionStrategy LocalCheapestInsertionParameters_PairInsertionStrategy_PairInsertionStrategy_MAX
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GlobalCheapestInsertionParametersDefaultTypeInternal _GlobalCheapestInsertionParameters_default_instance_
PROTOBUF_CONSTINIT const uint32_t LocalCheapestInsertionParameters_PairInsertionStrategy_internal_data_[]
const ::std::string & LocalCheapestInsertionParameters_InsertionSortingProperty_Name(T value)
LocalCheapestInsertionParameters_InsertionSortingProperty
@ LocalCheapestInsertionParameters_InsertionSortingProperty_SORTING_PROPERTY_LOWEST_MIN_ARC_COST_TO_VEHICLE_START_ENDS
@ LocalCheapestInsertionParameters_InsertionSortingProperty_SORTING_PROPERTY_UNSPECIFIED
@ LocalCheapestInsertionParameters_InsertionSortingProperty_SORTING_PROPERTY_HIGHEST_DIMENSION_USAGE
@ LocalCheapestInsertionParameters_InsertionSortingProperty_SORTING_PROPERTY_ALLOWED_VEHICLES
@ LocalCheapestInsertionParameters_InsertionSortingProperty_SORTING_PROPERTY_HIGHEST_AVG_ARC_COST_TO_VEHICLE_START_ENDS
@ LocalCheapestInsertionParameters_InsertionSortingProperty_SORTING_PROPERTY_PENALTY_OVER_ALLOWED_VEHICLES_RATIO
@ LocalCheapestInsertionParameters_InsertionSortingProperty_SORTING_PROPERTY_RANDOM
@ LocalCheapestInsertionParameters_InsertionSortingProperty_LocalCheapestInsertionParameters_InsertionSortingProperty_INT_MAX_SENTINEL_DO_NOT_USE_
@ LocalCheapestInsertionParameters_InsertionSortingProperty_SORTING_PROPERTY_LOWEST_AVG_ARC_COST_TO_VEHICLE_START_ENDS
@ LocalCheapestInsertionParameters_InsertionSortingProperty_SORTING_PROPERTY_PENALTY
@ LocalCheapestInsertionParameters_InsertionSortingProperty_LocalCheapestInsertionParameters_InsertionSortingProperty_INT_MIN_SENTINEL_DO_NOT_USE_
bool LocalCheapestInsertionParameters_InsertionSortingProperty_IsValid(int value)
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL LocalCheapestInsertionParameters_PairInsertionStrategy_descriptor()
bool LocalCheapestInsertionParameters_InsertionSortingProperty_Parse(::absl::string_view name, LocalCheapestInsertionParameters_InsertionSortingProperty *PROTOBUF_NONNULL value)
constexpr LocalCheapestInsertionParameters_InsertionSortingProperty LocalCheapestInsertionParameters_InsertionSortingProperty_InsertionSortingProperty_MAX
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull GlobalCheapestInsertionParameters_class_data_
bool LocalCheapestInsertionParameters_PairInsertionStrategy_IsValid(int value)
constexpr int LocalCheapestInsertionParameters_PairInsertionStrategy_PairInsertionStrategy_ARRAYSIZE
constexpr LocalCheapestInsertionParameters_PairInsertionStrategy LocalCheapestInsertionParameters_PairInsertionStrategy_PairInsertionStrategy_MIN
LocalCheapestInsertionParameters_PairInsertionStrategy
@ LocalCheapestInsertionParameters_PairInsertionStrategy_BEST_PICKUP_DELIVERY_PAIR
@ LocalCheapestInsertionParameters_PairInsertionStrategy_LocalCheapestInsertionParameters_PairInsertionStrategy_INT_MIN_SENTINEL_DO_NOT_USE_
@ LocalCheapestInsertionParameters_PairInsertionStrategy_LocalCheapestInsertionParameters_PairInsertionStrategy_INT_MAX_SENTINEL_DO_NOT_USE_
@ LocalCheapestInsertionParameters_PairInsertionStrategy_AUTOMATIC
@ LocalCheapestInsertionParameters_PairInsertionStrategy_BEST_PICKUP_DELIVERY_PAIR_MULTITOUR
@ LocalCheapestInsertionParameters_PairInsertionStrategy_BEST_PICKUP_THEN_BEST_DELIVERY
constexpr int LocalCheapestInsertionParameters_InsertionSortingProperty_InsertionSortingProperty_ARRAYSIZE
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SavingsParametersDefaultTypeInternal _SavingsParameters_default_instance_
bool LocalCheapestInsertionParameters_PairInsertionStrategy_Parse(::absl::string_view name, LocalCheapestInsertionParameters_PairInsertionStrategy *PROTOBUF_NONNULL value)
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL LocalCheapestInsertionParameters_InsertionSortingProperty_descriptor()
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LocalCheapestInsertionParametersDefaultTypeInternal _LocalCheapestInsertionParameters_default_instance_
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fconstraint_5fsolver_2frouting_5fheuristic_5fparameters_2eproto