10#include "google/protobuf/io/coded_stream.h"
11#include "google/protobuf/generated_message_tctable_impl.h"
12#include "google/protobuf/extension_set.h"
13#include "google/protobuf/generated_message_util.h"
14#include "google/protobuf/wire_format_lite.h"
15#include "google/protobuf/descriptor.h"
16#include "google/protobuf/generated_message_reflection.h"
17#include "google/protobuf/reflection_ops.h"
18#include "google/protobuf/wire_format.h"
22#include "google/protobuf/port_def.inc"
23PROTOBUF_PRAGMA_INIT_SEG
26namespace _fl = ::google::protobuf::internal::field_layout;
29inline constexpr SpatiallyCloseRoutesRuinStrategy::Impl_::Impl_(
30 ::_pbi::ConstantInitialized) noexcept
32 num_ruined_routes_{0u} {}
36#if defined(PROTOBUF_CUSTOM_VTABLE)
39 : ::google::protobuf::Message(),
41 _impl_(::_pbi::ConstantInitialized()) {
51PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
54inline constexpr SimulatedAnnealingParameters::Impl_::Impl_(
55 ::_pbi::ConstantInitialized) noexcept
57 initial_temperature_{0},
59 automatic_temperatures_{
false},
60 final_temperature_{0} {}
64#if defined(PROTOBUF_CUSTOM_VTABLE)
67 : ::google::protobuf::Message(),
69 _impl_(::_pbi::ConstantInitialized()) {
79PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
82inline constexpr SISRRuinStrategy::Impl_::Impl_(
83 ::_pbi::ConstantInitialized) noexcept
85 max_removed_sequence_size_{0u},
86 avg_num_removed_visits_{0u},
91#if defined(PROTOBUF_CUSTOM_VTABLE)
94 : ::google::protobuf::Message(),
96 _impl_(::_pbi::ConstantInitialized()) {
106PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
110#if defined(PROTOBUF_CUSTOM_VTABLE)
113 : ::google::protobuf::internal::ZeroFieldsBase() {
124PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
127inline constexpr RandomWalkRuinStrategy::Impl_::Impl_(
128 ::_pbi::ConstantInitialized) noexcept
130 num_removed_visits_{0u} {}
134#if defined(PROTOBUF_CUSTOM_VTABLE)
137 : ::google::protobuf::Message(),
139 _impl_(::_pbi::ConstantInitialized()) {
149PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
153#if defined(PROTOBUF_CUSTOM_VTABLE)
156 : ::google::protobuf::internal::ZeroFieldsBase() {
167PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
171#if defined(PROTOBUF_CUSTOM_VTABLE)
174 : ::google::protobuf::internal::ZeroFieldsBase() {
185PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
189#if defined(PROTOBUF_CUSTOM_VTABLE)
192 : ::google::protobuf::internal::ZeroFieldsBase() {
203PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
206inline constexpr RuinStrategy::Impl_::Impl_(
207 ::_pbi::ConstantInitialized) noexcept
214#if defined(PROTOBUF_CUSTOM_VTABLE)
217 : ::google::protobuf::Message(),
219 _impl_(::_pbi::ConstantInitialized()) {
229PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
232inline constexpr RuinRecreateParameters::Impl_::Impl_(
233 ::_pbi::ConstantInitialized) noexcept
238 route_selection_neighbors_ratio_{0},
239 route_selection_min_neighbors_{0u},
240 route_selection_max_neighbors_{0u} {}
244#if defined(PROTOBUF_CUSTOM_VTABLE)
247 : ::google::protobuf::Message(),
249 _impl_(::_pbi::ConstantInitialized()) {
259PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
262inline constexpr IteratedLocalSearchParameters::Impl_::Impl_(
263 ::_pbi::ConstantInitialized) noexcept
265 ruin_recreate_parameters_{
nullptr},
266 simulated_annealing_parameters_{
nullptr},
268 improve_perturbed_solution_{
false},
273#if defined(PROTOBUF_CUSTOM_VTABLE)
276 : ::google::protobuf::Message(),
278 _impl_(::_pbi::ConstantInitialized()) {
288PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
291static const ::_pb::EnumDescriptor* PROTOBUF_NONNULL
293static constexpr const ::_pb::ServiceDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE
319 ::_pbi::kInvalidFieldOffsetTag,
320 ::_pbi::kInvalidFieldOffsetTag,
321 ::_pbi::kInvalidFieldOffsetTag,
368static const ::_pbi::MigrationSchema
397 "\n+ortools/constraint_solver/routing_ils."
398 "proto\022\023operations_research\032-ortools/cons"
399 "traint_solver/routing_enums.proto\"X\n Spa"
400 "tiallyCloseRoutesRuinStrategy\022\036\n\021num_rui"
401 "ned_routes\030\003 \001(\rH\000\210\001\001B\024\n\022_num_ruined_rou"
402 "tes\"P\n\026RandomWalkRuinStrategy\022\037\n\022num_rem"
403 "oved_visits\030\007 \001(\rH\000\210\001\001B\025\n\023_num_removed_v"
404 "isits\"\306\001\n\020SISRRuinStrategy\022&\n\031max_remove"
405 "d_sequence_size\030\001 \001(\rH\000\210\001\001\022#\n\026avg_num_re"
406 "moved_visits\030\002 \001(\rH\001\210\001\001\022\032\n\rbypass_factor"
407 "\030\003 \001(\001H\002\210\001\001B\034\n\032_max_removed_sequence_siz"
408 "eB\031\n\027_avg_num_removed_visitsB\020\n\016_bypass_"
409 "factor\"\356\001\n\014RuinStrategy\022W\n\026spatially_clo"
410 "se_routes\030\001 \001(\01325.operations_research.Sp"
411 "atiallyCloseRoutesRuinStrategyH\000\022B\n\013rand"
412 "om_walk\030\002 \001(\0132+.operations_research.Rand"
413 "omWalkRuinStrategyH\000\0225\n\004sisr\030\003 \001(\0132%.ope"
414 "rations_research.SISRRuinStrategyH\000B\n\n\010s"
415 "trategy\"s\n\027RuinCompositionStrategy\"X\n\005Va"
416 "lue\022\t\n\005UNSET\020\000\022\030\n\024RUN_ALL_SEQUENTIALLY\020\001"
417 "\022\024\n\020RUN_ALL_RANDOMLY\020\002\022\024\n\020RUN_ONE_RANDOM"
418 "LY\020\003\"\346\003\n\026RuinRecreateParameters\022:\n\017ruin_"
419 "strategies\030\001 \003(\0132!.operations_research.R"
420 "uinStrategy\022U\n\031ruin_composition_strategy"
421 "\030\002 \001(\01622.operations_research.RuinComposi"
422 "tionStrategy.Value\022K\n\021recreate_strategy\030"
423 "\003 \001(\01620.operations_research.FirstSolutio"
424 "nStrategy.Value\022,\n\037route_selection_neigh"
425 "bors_ratio\030\004 \001(\001H\000\210\001\001\022*\n\035route_selection"
426 "_min_neighbors\030\005 \001(\rH\001\210\001\001\022*\n\035route_selec"
427 "tion_max_neighbors\030\006 \001(\rH\002\210\001\001B\"\n _route_"
428 "selection_neighbors_ratioB \n\036_route_sele"
429 "ction_min_neighborsB \n\036_route_selection_"
430 "max_neighbors\"A\n\024PerturbationStrategy\")\n"
431 "\005Value\022\t\n\005UNSET\020\000\022\025\n\021RUIN_AND_RECREATE\020\001"
432 "\"J\n\027CoolingScheduleStrategy\"/\n\005Value\022\t\n\005"
433 "UNSET\020\000\022\017\n\013EXPONENTIAL\020\001\022\n\n\006LINEAR\020\002\"\245\002\n"
434 "\034SimulatedAnnealingParameters\022U\n\031cooling"
435 "_schedule_strategy\030\001 \001(\01622.operations_re"
436 "search.CoolingScheduleStrategy.Value\022 \n\023"
437 "initial_temperature\030\002 \001(\001H\000\210\001\001\022\036\n\021final_"
438 "temperature\030\003 \001(\001H\001\210\001\001\022#\n\026automatic_temp"
439 "eratures\030\004 \001(\010H\002\210\001\001B\026\n\024_initial_temperat"
440 "ureB\024\n\022_final_temperatureB\031\n\027_automatic_"
441 "temperatures\"U\n\022AcceptanceStrategy\"\?\n\005Va"
442 "lue\022\t\n\005UNSET\020\000\022\022\n\016GREEDY_DESCENT\020\001\022\027\n\023SI"
443 "MULATED_ANNEALING\020\002\"\255\003\n\035IteratedLocalSea"
444 "rchParameters\022N\n\025perturbation_strategy\030\001"
445 " \001(\0162/.operations_research.PerturbationS"
446 "trategy.Value\022M\n\030ruin_recreate_parameter"
447 "s\030\002 \001(\0132+.operations_research.RuinRecrea"
448 "teParameters\022\'\n\032improve_perturbed_soluti"
449 "on\030\003 \001(\010H\000\210\001\001\022J\n\023acceptance_strategy\030\004 \001"
450 "(\0162-.operations_research.AcceptanceStrat"
451 "egy.Value\022Y\n\036simulated_annealing_paramet"
452 "ers\030\005 \001(\01321.operations_research.Simulate"
453 "dAnnealingParametersB\035\n\033_improve_perturb"
454 "ed_solutionBI\n#com.google.ortools.constr"
455 "aintsolverP\001\252\002\037Google.OrTools.Constraint"
458static const ::_pbi::DescriptorTable* PROTOBUF_NONNULL
const
467 descriptor_table_protodef_ortools_2fconstraint_5fsolver_2frouting_5fils_2eproto,
468 "ortools/constraint_solver/routing_ils.proto",
506class SpatiallyCloseRoutesRuinStrategy::_Internal {
509 decltype(::std::declval<SpatiallyCloseRoutesRuinStrategy>()._impl_._has_bits_);
515#if defined(PROTOBUF_CUSTOM_VTABLE)
518 : ::google::protobuf::Message(arena) {
525#if defined(PROTOBUF_CUSTOM_VTABLE)
528 : ::google::protobuf::Message(arena),
531 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
532 from._internal_metadata_);
534PROTOBUF_NDEBUG_INLINE SpatiallyCloseRoutesRuinStrategy::Impl_::Impl_(
535 ::google::protobuf::internal::InternalVisibility visibility,
536 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
537 : _cached_size_{0} {}
539inline void SpatiallyCloseRoutesRuinStrategy::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
540 new (&
_impl_) Impl_(internal_visibility(), arena);
541 _impl_.num_ruined_routes_ = {};
547inline void SpatiallyCloseRoutesRuinStrategy::SharedDtor(MessageLite& self) {
549 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
550 ABSL_DCHECK(this_.GetArena() ==
nullptr);
555 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
556 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
564 return ::google::protobuf::internal::ClassDataFull{
565 ::google::protobuf::internal::ClassData{
570 &SpatiallyCloseRoutesRuinStrategy::MergeImpl,
571 ::google::protobuf::Message::GetNewImpl<SpatiallyCloseRoutesRuinStrategy>(),
572#if defined(PROTOBUF_CUSTOM_VTABLE)
573 &SpatiallyCloseRoutesRuinStrategy::SharedDtor,
580 &SpatiallyCloseRoutesRuinStrategy::kDescriptorMethods,
586PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
590PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
596PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
597const ::_pbi::TcParseTable<0, 1, 0, 0, 2>
598SpatiallyCloseRoutesRuinStrategy::_table_ = {
603 offsetof(
decltype(_table_), field_lookup_table),
605 offsetof(
decltype(_table_), field_entries),
608 offsetof(
decltype(_table_), field_names),
611 ::_pbi::TcParser::GenericFallback,
612 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
613 ::_pbi::TcParser::GetTable<::operations_research::SpatiallyCloseRoutesRuinStrategy>(),
617 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(SpatiallyCloseRoutesRuinStrategy, _impl_.num_ruined_routes_), 0>(),
618 {24, 0, 0, PROTOBUF_FIELD_OFFSET(SpatiallyCloseRoutesRuinStrategy, _impl_.num_ruined_routes_)}},
624 (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
632 ::google::protobuf::internal::TSanWrite(&
_impl_);
633 ::uint32_t cached_has_bits = 0;
635 (void) cached_has_bits;
637 _impl_.num_ruined_routes_ = 0u;
638 _impl_._has_bits_.Clear();
639 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
642#if defined(PROTOBUF_CUSTOM_VTABLE)
644 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
645 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
649 ::uint8_t* PROTOBUF_NONNULL target,
650 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
654 ::uint32_t cached_has_bits = 0;
655 (void)cached_has_bits;
657 cached_has_bits = this_.
_impl_._has_bits_[0];
659 if ((cached_has_bits & 0x00000001u) != 0) {
660 target = stream->EnsureSpace(target);
661 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
662 3, this_._internal_num_ruined_routes(), target);
665 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
667 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
668 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
674#if defined(PROTOBUF_CUSTOM_VTABLE)
682 ::size_t total_size = 0;
684 ::uint32_t cached_has_bits = 0;
686 (void)cached_has_bits;
690 cached_has_bits = this_.
_impl_._has_bits_[0];
691 if ((cached_has_bits & 0x00000001u) != 0) {
692 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
693 this_._internal_num_ruined_routes());
696 return this_.MaybeComputeUnknownFieldsSize(total_size,
697 &this_.
_impl_._cached_size_);
700void SpatiallyCloseRoutesRuinStrategy::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
704 ABSL_DCHECK_NE(&from, _this);
705 ::uint32_t cached_has_bits = 0;
706 (void) cached_has_bits;
708 cached_has_bits = from.
_impl_._has_bits_[0];
709 if ((cached_has_bits & 0x00000001u) != 0) {
710 _this->_impl_.num_ruined_routes_ = from.
_impl_.num_ruined_routes_;
712 _this->_impl_._has_bits_[0] |= cached_has_bits;
713 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
718 if (&from ==
this)
return;
726 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
727 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
728 swap(
_impl_.num_ruined_routes_, other->_impl_.num_ruined_routes_);
732 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
739 decltype(::std::declval<RandomWalkRuinStrategy>()._impl_._has_bits_);
745#if defined(PROTOBUF_CUSTOM_VTABLE)
748 : ::google::protobuf::Message(arena) {
755#if defined(PROTOBUF_CUSTOM_VTABLE)
758 : ::google::protobuf::Message(arena),
761 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
762 from._internal_metadata_);
764PROTOBUF_NDEBUG_INLINE RandomWalkRuinStrategy::Impl_::Impl_(
765 ::google::protobuf::internal::InternalVisibility visibility,
766 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
767 : _cached_size_{0} {}
769inline void RandomWalkRuinStrategy::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
770 new (&
_impl_) Impl_(internal_visibility(), arena);
771 _impl_.num_removed_visits_ = {};
777inline void RandomWalkRuinStrategy::SharedDtor(MessageLite& self) {
779 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
780 ABSL_DCHECK(this_.GetArena() ==
nullptr);
785 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
786 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
794 return ::google::protobuf::internal::ClassDataFull{
795 ::google::protobuf::internal::ClassData{
800 &RandomWalkRuinStrategy::MergeImpl,
801 ::google::protobuf::Message::GetNewImpl<RandomWalkRuinStrategy>(),
802#if defined(PROTOBUF_CUSTOM_VTABLE)
803 &RandomWalkRuinStrategy::SharedDtor,
810 &RandomWalkRuinStrategy::kDescriptorMethods,
816PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
820PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
826PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
827const ::_pbi::TcParseTable<0, 1, 0, 0, 2>
828RandomWalkRuinStrategy::_table_ = {
833 offsetof(
decltype(_table_), field_lookup_table),
835 offsetof(
decltype(_table_), field_entries),
838 offsetof(
decltype(_table_), field_names),
841 ::_pbi::TcParser::GenericFallback,
842 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
843 ::_pbi::TcParser::GetTable<::operations_research::RandomWalkRuinStrategy>(),
847 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(RandomWalkRuinStrategy, _impl_.num_removed_visits_), 0>(),
848 {56, 0, 0, PROTOBUF_FIELD_OFFSET(RandomWalkRuinStrategy, _impl_.num_removed_visits_)}},
853 {PROTOBUF_FIELD_OFFSET(
RandomWalkRuinStrategy, _impl_.num_removed_visits_), _Internal::kHasBitsOffset + 0, 0,
854 (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
862 ::google::protobuf::internal::TSanWrite(&
_impl_);
863 ::uint32_t cached_has_bits = 0;
865 (void) cached_has_bits;
867 _impl_.num_removed_visits_ = 0u;
868 _impl_._has_bits_.Clear();
869 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
872#if defined(PROTOBUF_CUSTOM_VTABLE)
874 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
875 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
879 ::uint8_t* PROTOBUF_NONNULL target,
880 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
884 ::uint32_t cached_has_bits = 0;
885 (void)cached_has_bits;
887 cached_has_bits = this_.
_impl_._has_bits_[0];
889 if ((cached_has_bits & 0x00000001u) != 0) {
890 target = stream->EnsureSpace(target);
891 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
892 7, this_._internal_num_removed_visits(), target);
895 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
897 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
898 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
904#if defined(PROTOBUF_CUSTOM_VTABLE)
912 ::size_t total_size = 0;
914 ::uint32_t cached_has_bits = 0;
916 (void)cached_has_bits;
920 cached_has_bits = this_.
_impl_._has_bits_[0];
921 if ((cached_has_bits & 0x00000001u) != 0) {
922 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
923 this_._internal_num_removed_visits());
926 return this_.MaybeComputeUnknownFieldsSize(total_size,
927 &this_.
_impl_._cached_size_);
930void RandomWalkRuinStrategy::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
934 ABSL_DCHECK_NE(&from, _this);
935 ::uint32_t cached_has_bits = 0;
936 (void) cached_has_bits;
938 cached_has_bits = from.
_impl_._has_bits_[0];
939 if ((cached_has_bits & 0x00000001u) != 0) {
940 _this->_impl_.num_removed_visits_ = from.
_impl_.num_removed_visits_;
942 _this->_impl_._has_bits_[0] |= cached_has_bits;
943 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
948 if (&from ==
this)
return;
954void RandomWalkRuinStrategy::InternalSwap(
RandomWalkRuinStrategy* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
956 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
957 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
958 swap(
_impl_.num_removed_visits_, other->_impl_.num_removed_visits_);
962 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
969 decltype(::std::declval<SISRRuinStrategy>()._impl_._has_bits_);
975#if defined(PROTOBUF_CUSTOM_VTABLE)
978 : ::google::protobuf::Message(arena) {
984 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const SISRRuinStrategy& from)
985#if defined(PROTOBUF_CUSTOM_VTABLE)
988 : ::google::protobuf::Message(arena),
991 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
992 from._internal_metadata_);
994PROTOBUF_NDEBUG_INLINE SISRRuinStrategy::Impl_::Impl_(
995 ::google::protobuf::internal::InternalVisibility visibility,
996 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
997 : _cached_size_{0} {}
999inline void SISRRuinStrategy::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
1000 new (&
_impl_) Impl_(internal_visibility(), arena);
1001 ::memset(
reinterpret_cast<char *
>(&
_impl_) +
1002 offsetof(Impl_, max_removed_sequence_size_),
1004 offsetof(Impl_, bypass_factor_) -
1005 offsetof(Impl_, max_removed_sequence_size_) +
1006 sizeof(Impl_::bypass_factor_));
1012inline void SISRRuinStrategy::SharedDtor(MessageLite& self) {
1014 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1015 ABSL_DCHECK(this_.GetArena() ==
nullptr);
1020 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1021 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
1025 return ::google::protobuf::internal::MessageCreator::ZeroInit(
sizeof(
SISRRuinStrategy),
1029 return ::google::protobuf::internal::ClassDataFull{
1030 ::google::protobuf::internal::ClassData{
1035 &SISRRuinStrategy::MergeImpl,
1036 ::google::protobuf::Message::GetNewImpl<SISRRuinStrategy>(),
1037#if defined(PROTOBUF_CUSTOM_VTABLE)
1038 &SISRRuinStrategy::SharedDtor,
1045 &SISRRuinStrategy::kDescriptorMethods,
1051PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
1055PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
1061PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1062const ::_pbi::TcParseTable<2, 3, 0, 0, 2>
1063SISRRuinStrategy::_table_ = {
1068 offsetof(
decltype(_table_), field_lookup_table),
1070 offsetof(
decltype(_table_), field_entries),
1073 offsetof(
decltype(_table_), field_names),
1076 ::_pbi::TcParser::GenericFallback,
1077 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1078 ::_pbi::TcParser::GetTable<::operations_research::SISRRuinStrategy>(),
1081 {::_pbi::TcParser::MiniParse, {}},
1083 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(
SISRRuinStrategy, _impl_.max_removed_sequence_size_), 0>(),
1084 {8, 0, 0, PROTOBUF_FIELD_OFFSET(
SISRRuinStrategy, _impl_.max_removed_sequence_size_)}},
1086 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(
SISRRuinStrategy, _impl_.avg_num_removed_visits_), 1>(),
1087 {16, 1, 0, PROTOBUF_FIELD_OFFSET(
SISRRuinStrategy, _impl_.avg_num_removed_visits_)}},
1089 {::_pbi::TcParser::FastF64S1,
1090 {25, 2, 0, PROTOBUF_FIELD_OFFSET(
SISRRuinStrategy, _impl_.bypass_factor_)}},
1095 {PROTOBUF_FIELD_OFFSET(
SISRRuinStrategy, _impl_.max_removed_sequence_size_), _Internal::kHasBitsOffset + 0, 0,
1096 (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
1098 {PROTOBUF_FIELD_OFFSET(
SISRRuinStrategy, _impl_.avg_num_removed_visits_), _Internal::kHasBitsOffset + 1, 0,
1099 (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
1101 {PROTOBUF_FIELD_OFFSET(
SISRRuinStrategy, _impl_.bypass_factor_), _Internal::kHasBitsOffset + 2, 0,
1102 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
1110 ::google::protobuf::internal::TSanWrite(&
_impl_);
1111 ::uint32_t cached_has_bits = 0;
1113 (void) cached_has_bits;
1115 cached_has_bits =
_impl_._has_bits_[0];
1116 if ((cached_has_bits & 0x00000007u) != 0) {
1117 ::memset(&
_impl_.max_removed_sequence_size_, 0,
static_cast<::
size_t>(
1118 reinterpret_cast<char*
>(&
_impl_.bypass_factor_) -
1119 reinterpret_cast<char*
>(&
_impl_.max_removed_sequence_size_)) +
sizeof(
_impl_.bypass_factor_));
1121 _impl_._has_bits_.Clear();
1122 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1125#if defined(PROTOBUF_CUSTOM_VTABLE)
1127 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
1128 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
1132 ::uint8_t* PROTOBUF_NONNULL target,
1133 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1137 ::uint32_t cached_has_bits = 0;
1138 (void)cached_has_bits;
1140 cached_has_bits = this_.
_impl_._has_bits_[0];
1142 if ((cached_has_bits & 0x00000001u) != 0) {
1143 target = stream->EnsureSpace(target);
1144 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
1145 1, this_._internal_max_removed_sequence_size(), target);
1149 if ((cached_has_bits & 0x00000002u) != 0) {
1150 target = stream->EnsureSpace(target);
1151 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
1152 2, this_._internal_avg_num_removed_visits(), target);
1156 if ((cached_has_bits & 0x00000004u) != 0) {
1157 target = stream->EnsureSpace(target);
1158 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1159 3, this_._internal_bypass_factor(), target);
1162 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1164 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1165 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1171#if defined(PROTOBUF_CUSTOM_VTABLE)
1179 ::size_t total_size = 0;
1181 ::uint32_t cached_has_bits = 0;
1183 (void)cached_has_bits;
1185 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1186 cached_has_bits = this_._impl_._has_bits_[0];
1187 total_size +=
static_cast<bool>(0x00000004u & cached_has_bits) * 9;
1188 if ((cached_has_bits & 0x00000003u) != 0) {
1190 if ((cached_has_bits & 0x00000001u) != 0) {
1191 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
1192 this_._internal_max_removed_sequence_size());
1195 if ((cached_has_bits & 0x00000002u) != 0) {
1196 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
1197 this_._internal_avg_num_removed_visits());
1200 return this_.MaybeComputeUnknownFieldsSize(total_size,
1201 &this_._impl_._cached_size_);
1204void SISRRuinStrategy::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
1208 ABSL_DCHECK_NE(&from, _this);
1209 ::uint32_t cached_has_bits = 0;
1210 (void) cached_has_bits;
1212 cached_has_bits = from.
_impl_._has_bits_[0];
1213 if ((cached_has_bits & 0x00000007u) != 0) {
1214 if ((cached_has_bits & 0x00000001u) != 0) {
1215 _this->_impl_.max_removed_sequence_size_ = from.
_impl_.max_removed_sequence_size_;
1217 if ((cached_has_bits & 0x00000002u) != 0) {
1218 _this->_impl_.avg_num_removed_visits_ = from.
_impl_.avg_num_removed_visits_;
1220 if ((cached_has_bits & 0x00000004u) != 0) {
1221 _this->_impl_.bypass_factor_ = from.
_impl_.bypass_factor_;
1224 _this->_impl_._has_bits_[0] |= cached_has_bits;
1225 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
1230 if (&from ==
this)
return;
1236void SISRRuinStrategy::InternalSwap(
SISRRuinStrategy* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1238 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1239 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1240 ::google::protobuf::internal::memswap<
1244 reinterpret_cast<char*
>(&
_impl_.max_removed_sequence_size_),
1245 reinterpret_cast<char*
>(&other->_impl_.max_removed_sequence_size_));
1249 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
1255 static constexpr ::int32_t kOneofCaseOffset =
1260 ::google::protobuf::Arena* message_arena = GetArena();
1264 if (message_arena != submessage_arena) {
1267 set_has_spatially_close_routes();
1268 _impl_.strategy_.spatially_close_routes_ = spatially_close_routes;
1276 ::google::protobuf::Arena* submessage_arena =
random_walk->GetArena();
1277 if (message_arena != submessage_arena) {
1278 random_walk = ::google::protobuf::internal::GetOwnedMessage(message_arena,
random_walk, submessage_arena);
1280 set_has_random_walk();
1281 _impl_.strategy_.random_walk_ = random_walk;
1289 ::google::protobuf::Arena* submessage_arena =
sisr->GetArena();
1290 if (message_arena != submessage_arena) {
1291 sisr = ::google::protobuf::internal::GetOwnedMessage(message_arena,
sisr, submessage_arena);
1294 _impl_.strategy_.sisr_ = sisr;
1299#if defined(PROTOBUF_CUSTOM_VTABLE)
1302 : ::google::protobuf::Message(arena) {
1307PROTOBUF_NDEBUG_INLINE RuinStrategy::Impl_::Impl_(
1308 ::google::protobuf::internal::InternalVisibility visibility,
1309 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1310 const ::operations_research::RuinStrategy& from_msg)
1313 _oneof_case_{from._oneof_case_[0]} {}
1316 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
1317 const RuinStrategy& from)
1318#if defined(PROTOBUF_CUSTOM_VTABLE)
1321 : ::google::protobuf::Message(arena) {
1325 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
1326 from._internal_metadata_);
1327 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
1332 _impl_.strategy_.spatially_close_routes_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.strategy_.spatially_close_routes_);
1335 _impl_.strategy_.random_walk_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.strategy_.random_walk_);
1338 _impl_.strategy_.sisr_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.strategy_.sisr_);
1344PROTOBUF_NDEBUG_INLINE RuinStrategy::Impl_::Impl_(
1345 ::google::protobuf::internal::InternalVisibility visibility,
1346 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1351inline void RuinStrategy::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
1352 new (&
_impl_) Impl_(internal_visibility(), arena);
1360 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1361 ABSL_DCHECK(this_.GetArena() ==
nullptr);
1362 if (this_.has_strategy()) {
1370 ::google::protobuf::internal::TSanWrite(&
_impl_);
1373 if (GetArena() ==
nullptr) {
1374 delete _impl_.strategy_.spatially_close_routes_;
1375 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
1376 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.strategy_.spatially_close_routes_);
1381 if (GetArena() ==
nullptr) {
1383 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
1389 if (GetArena() ==
nullptr) {
1390 delete _impl_.strategy_.sisr_;
1391 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
1392 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.strategy_.sisr_);
1405 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1406 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
1410 return ::google::protobuf::internal::MessageCreator::ZeroInit(
sizeof(
RuinStrategy),
1414 return ::google::protobuf::internal::ClassDataFull{
1415 ::google::protobuf::internal::ClassData{
1420 &RuinStrategy::MergeImpl,
1421 ::google::protobuf::Message::GetNewImpl<RuinStrategy>(),
1422#if defined(PROTOBUF_CUSTOM_VTABLE)
1423 &RuinStrategy::SharedDtor,
1430 &RuinStrategy::kDescriptorMethods,
1436PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
1440PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
1446PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1447const ::_pbi::TcParseTable<0, 3, 3, 0, 2>
1448RuinStrategy::_table_ = {
1453 offsetof(
decltype(_table_), field_lookup_table),
1455 offsetof(
decltype(_table_), field_entries),
1458 offsetof(
decltype(_table_), aux_entries),
1461 ::_pbi::TcParser::GenericFallback,
1462 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1463 ::_pbi::TcParser::GetTable<::operations_research::RuinStrategy>(),
1466 {::_pbi::TcParser::MiniParse, {}},
1471 {PROTOBUF_FIELD_OFFSET(
RuinStrategy, _impl_.strategy_.spatially_close_routes_), _Internal::kOneofCaseOffset + 0, 0,
1472 (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
1474 {PROTOBUF_FIELD_OFFSET(
RuinStrategy, _impl_.strategy_.random_walk_), _Internal::kOneofCaseOffset + 0, 1,
1475 (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
1477 {PROTOBUF_FIELD_OFFSET(
RuinStrategy, _impl_.strategy_.sisr_), _Internal::kOneofCaseOffset + 0, 2,
1478 (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
1481 {::_pbi::TcParser::GetTable<::operations_research::SpatiallyCloseRoutesRuinStrategy>()},
1482 {::_pbi::TcParser::GetTable<::operations_research::RandomWalkRuinStrategy>()},
1483 {::_pbi::TcParser::GetTable<::operations_research::SISRRuinStrategy>()},
1490 ::google::protobuf::internal::TSanWrite(&
_impl_);
1491 ::uint32_t cached_has_bits = 0;
1493 (void) cached_has_bits;
1496 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1499#if defined(PROTOBUF_CUSTOM_VTABLE)
1501 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
1502 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
1506 ::uint8_t* PROTOBUF_NONNULL target,
1507 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1511 ::uint32_t cached_has_bits = 0;
1512 (void)cached_has_bits;
1516 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1522 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1528 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1536 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1538 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1539 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1545#if defined(PROTOBUF_CUSTOM_VTABLE)
1553 ::size_t total_size = 0;
1555 ::uint32_t cached_has_bits = 0;
1557 (void)cached_has_bits;
1559 switch (this_.strategy_case()) {
1563 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.strategy_.spatially_close_routes_);
1569 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.strategy_.random_walk_);
1575 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.strategy_.sisr_);
1582 return this_.MaybeComputeUnknownFieldsSize(total_size,
1583 &this_._impl_._cached_size_);
1586void RuinStrategy::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
1587 auto*
const _this =
static_cast<RuinStrategy*
>(&to_msg);
1588 auto& from =
static_cast<const RuinStrategy&
>(from_msg);
1589 ::google::protobuf::Arena* arena = _this->GetArena();
1591 ABSL_DCHECK_NE(&from, _this);
1592 ::uint32_t cached_has_bits = 0;
1593 (void) cached_has_bits;
1595 if (
const uint32_t oneof_from_case = from._impl_._oneof_case_[0]) {
1596 const uint32_t oneof_to_case = _this->_impl_._oneof_case_[0];
1597 const bool oneof_needs_init = oneof_to_case != oneof_from_case;
1598 if (oneof_needs_init) {
1599 if (oneof_to_case != 0) {
1600 _this->clear_strategy();
1602 _this->_impl_._oneof_case_[0] = oneof_from_case;
1605 switch (oneof_from_case) {
1607 if (oneof_needs_init) {
1608 _this->_impl_.strategy_.spatially_close_routes_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.strategy_.spatially_close_routes_);
1610 _this->_impl_.strategy_.spatially_close_routes_->MergeFrom(*from._impl_.strategy_.spatially_close_routes_);
1615 if (oneof_needs_init) {
1616 _this->_impl_.strategy_.random_walk_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.strategy_.random_walk_);
1618 _this->_impl_.strategy_.random_walk_->MergeFrom(*from._impl_.strategy_.random_walk_);
1623 if (oneof_needs_init) {
1624 _this->_impl_.strategy_.sisr_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.strategy_.sisr_);
1626 _this->_impl_.strategy_.sisr_->MergeFrom(*from._impl_.strategy_.sisr_);
1634 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
1639 if (&from ==
this)
return;
1645void RuinStrategy::InternalSwap(
RuinStrategy* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1647 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1648 swap(
_impl_.strategy_, other->_impl_.strategy_);
1649 swap(
_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]);
1653 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
1662#if defined(PROTOBUF_CUSTOM_VTABLE)
1665 : ::google::protobuf::internal::ZeroFieldsBase(arena) {
1670 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
1672#if defined(PROTOBUF_CUSTOM_VTABLE)
1675 : ::google::protobuf::internal::ZeroFieldsBase(arena) {
1679 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
1680 from._internal_metadata_);
1686 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1687 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
1695 return ::google::protobuf::internal::ClassDataFull{
1696 ::google::protobuf::internal::ClassData{
1701 &RuinCompositionStrategy::MergeImpl,
1702 ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl<RuinCompositionStrategy>(),
1703#if defined(PROTOBUF_CUSTOM_VTABLE)
1704 &RuinCompositionStrategy::SharedDtor,
1705 ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl<RuinCompositionStrategy>(), &RuinCompositionStrategy::ByteSizeLong,
1706 &RuinCompositionStrategy::_InternalSerialize,
1711 &RuinCompositionStrategy::kDescriptorMethods,
1717PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
1721PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
1727PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1728const ::_pbi::TcParseTable<0, 0, 0, 0, 2>
1729RuinCompositionStrategy::_table_ = {
1734 offsetof(
decltype(_table_), field_lookup_table),
1736 offsetof(
decltype(_table_), field_names),
1739 offsetof(
decltype(_table_), field_names),
1742 ::_pbi::TcParser::GenericFallback,
1743 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1744 ::_pbi::TcParser::GetTable<::operations_research::RuinCompositionStrategy>(),
1747 {::_pbi::TcParser::MiniParse, {}},
1762 return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(
GetClassData()->full());
1769 decltype(::std::declval<RuinRecreateParameters>()._impl_._has_bits_);
1770 static constexpr ::int32_t kHasBitsOffset =
1775#if defined(PROTOBUF_CUSTOM_VTABLE)
1778 : ::google::protobuf::Message(arena) {
1783PROTOBUF_NDEBUG_INLINE RuinRecreateParameters::Impl_::Impl_(
1784 ::google::protobuf::internal::InternalVisibility visibility,
1785 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1786 const ::operations_research::RuinRecreateParameters& from_msg)
1787 : _has_bits_{from._has_bits_},
1789 ruin_strategies_{visibility, arena, from.ruin_strategies_} {}
1792 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
1793 const RuinRecreateParameters& from)
1794#if defined(PROTOBUF_CUSTOM_VTABLE)
1797 : ::google::protobuf::Message(arena) {
1801 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
1802 from._internal_metadata_);
1803 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
1804 ::memcpy(
reinterpret_cast<char *
>(&
_impl_) +
1805 offsetof(Impl_, ruin_composition_strategy_),
1806 reinterpret_cast<const char *
>(&from._impl_) +
1807 offsetof(Impl_, ruin_composition_strategy_),
1808 offsetof(Impl_, route_selection_max_neighbors_) -
1809 offsetof(Impl_, ruin_composition_strategy_) +
1810 sizeof(Impl_::route_selection_max_neighbors_));
1814PROTOBUF_NDEBUG_INLINE RuinRecreateParameters::Impl_::Impl_(
1815 ::google::protobuf::internal::InternalVisibility visibility,
1816 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1818 ruin_strategies_{visibility, arena} {}
1820inline void RuinRecreateParameters::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
1821 new (&
_impl_) Impl_(internal_visibility(), arena);
1822 ::memset(
reinterpret_cast<char *
>(&
_impl_) +
1823 offsetof(Impl_, ruin_composition_strategy_),
1825 offsetof(Impl_, route_selection_max_neighbors_) -
1826 offsetof(Impl_, ruin_composition_strategy_) +
1827 sizeof(Impl_::route_selection_max_neighbors_));
1833inline void RuinRecreateParameters::SharedDtor(MessageLite& self) {
1835 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1836 ABSL_DCHECK(this_.GetArena() ==
nullptr);
1837 this_._impl_.~Impl_();
1841 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1842 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
1846 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
1849 InternalGetArenaOffset(
1850 ::google::protobuf::Message::internal_visibility()),
1852 if (arena_bits.has_value()) {
1853 return ::google::protobuf::internal::MessageCreator::ZeroInit(
1862 return ::google::protobuf::internal::ClassDataFull{
1863 ::google::protobuf::internal::ClassData{
1868 &RuinRecreateParameters::MergeImpl,
1869 ::google::protobuf::Message::GetNewImpl<RuinRecreateParameters>(),
1870#if defined(PROTOBUF_CUSTOM_VTABLE)
1871 &RuinRecreateParameters::SharedDtor,
1878 &RuinRecreateParameters::kDescriptorMethods,
1884PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
1888PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
1894PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1895const ::_pbi::TcParseTable<3, 6, 1, 0, 2>
1896RuinRecreateParameters::_table_ = {
1901 offsetof(
decltype(_table_), field_lookup_table),
1903 offsetof(
decltype(_table_), field_entries),
1906 offsetof(
decltype(_table_), aux_entries),
1909 ::_pbi::TcParser::GenericFallback,
1910 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1911 ::_pbi::TcParser::GetTable<::operations_research::RuinRecreateParameters>(),
1914 {::_pbi::TcParser::MiniParse, {}},
1916 {::_pbi::TcParser::FastMtR1,
1925 {::_pbi::TcParser::FastF64S1,
1933 {::_pbi::TcParser::MiniParse, {}},
1939 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
1942 (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)},
1945 (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)},
1948 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
1951 (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
1954 (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
1957 {::_pbi::TcParser::GetTable<::operations_research::RuinStrategy>()},
1964 ::google::protobuf::internal::TSanWrite(&
_impl_);
1965 ::uint32_t cached_has_bits = 0;
1967 (void) cached_has_bits;
1969 _impl_.ruin_strategies_.Clear();
1970 cached_has_bits =
_impl_._has_bits_[0];
1971 if ((cached_has_bits & 0x0000001fu) != 0) {
1972 ::memset(&
_impl_.ruin_composition_strategy_, 0,
static_cast<::
size_t>(
1973 reinterpret_cast<char*
>(&
_impl_.route_selection_max_neighbors_) -
1974 reinterpret_cast<char*
>(&
_impl_.ruin_composition_strategy_)) +
sizeof(
_impl_.route_selection_max_neighbors_));
1976 _impl_._has_bits_.Clear();
1977 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1980#if defined(PROTOBUF_CUSTOM_VTABLE)
1982 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
1983 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
1987 ::uint8_t* PROTOBUF_NONNULL target,
1988 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1992 ::uint32_t cached_has_bits = 0;
1993 (void)cached_has_bits;
1996 for (
unsigned i = 0, n =
static_cast<unsigned>(
1997 this_._internal_ruin_strategies_size());
1999 const auto& repfield = this_._internal_ruin_strategies().Get(i);
2001 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2002 1, repfield, repfield.GetCachedSize(),
2007 if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) {
2008 if (this_._internal_ruin_composition_strategy() != 0) {
2009 target = stream->EnsureSpace(target);
2010 target = ::_pbi::WireFormatLite::WriteEnumToArray(
2011 2, this_._internal_ruin_composition_strategy(), target);
2016 if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) {
2017 if (this_._internal_recreate_strategy() != 0) {
2018 target = stream->EnsureSpace(target);
2019 target = ::_pbi::WireFormatLite::WriteEnumToArray(
2020 3, this_._internal_recreate_strategy(), target);
2024 cached_has_bits = this_._impl_._has_bits_[0];
2026 if ((cached_has_bits & 0x00000004u) != 0) {
2027 target = stream->EnsureSpace(target);
2028 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
2029 4, this_._internal_route_selection_neighbors_ratio(), target);
2033 if ((cached_has_bits & 0x00000008u) != 0) {
2034 target = stream->EnsureSpace(target);
2035 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
2036 5, this_._internal_route_selection_min_neighbors(), target);
2040 if ((cached_has_bits & 0x00000010u) != 0) {
2041 target = stream->EnsureSpace(target);
2042 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
2043 6, this_._internal_route_selection_max_neighbors(), target);
2046 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
2048 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2049 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
2055#if defined(PROTOBUF_CUSTOM_VTABLE)
2063 ::size_t total_size = 0;
2065 ::uint32_t cached_has_bits = 0;
2067 (void)cached_has_bits;
2069 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
2073 total_size += 1UL * this_._internal_ruin_strategies_size();
2074 for (
const auto& msg : this_._internal_ruin_strategies()) {
2075 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
2079 cached_has_bits = this_._impl_._has_bits_[0];
2080 total_size +=
static_cast<bool>(0x00000004u & cached_has_bits) * 9;
2081 if ((cached_has_bits & 0x0000001bu) != 0) {
2083 if ((cached_has_bits & 0x00000001u) != 0) {
2084 if (this_._internal_ruin_composition_strategy() != 0) {
2086 ::_pbi::WireFormatLite::EnumSize(this_._internal_ruin_composition_strategy());
2090 if ((cached_has_bits & 0x00000002u) != 0) {
2091 if (this_._internal_recreate_strategy() != 0) {
2093 ::_pbi::WireFormatLite::EnumSize(this_._internal_recreate_strategy());
2097 if ((cached_has_bits & 0x00000008u) != 0) {
2098 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
2099 this_._internal_route_selection_min_neighbors());
2102 if ((cached_has_bits & 0x00000010u) != 0) {
2103 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
2104 this_._internal_route_selection_max_neighbors());
2107 return this_.MaybeComputeUnknownFieldsSize(total_size,
2108 &this_._impl_._cached_size_);
2111void RuinRecreateParameters::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
2115 ABSL_DCHECK_NE(&from, _this);
2116 ::uint32_t cached_has_bits = 0;
2117 (void) cached_has_bits;
2119 _this->_internal_mutable_ruin_strategies()->MergeFrom(
2120 from._internal_ruin_strategies());
2121 cached_has_bits = from._impl_._has_bits_[0];
2122 if ((cached_has_bits & 0x0000001fu) != 0) {
2123 if ((cached_has_bits & 0x00000001u) != 0) {
2124 if (from._internal_ruin_composition_strategy() != 0) {
2125 _this->_impl_.ruin_composition_strategy_ = from._impl_.ruin_composition_strategy_;
2128 if ((cached_has_bits & 0x00000002u) != 0) {
2129 if (from._internal_recreate_strategy() != 0) {
2130 _this->_impl_.recreate_strategy_ = from._impl_.recreate_strategy_;
2133 if ((cached_has_bits & 0x00000004u) != 0) {
2134 _this->_impl_.route_selection_neighbors_ratio_ = from._impl_.route_selection_neighbors_ratio_;
2136 if ((cached_has_bits & 0x00000008u) != 0) {
2137 _this->_impl_.route_selection_min_neighbors_ = from._impl_.route_selection_min_neighbors_;
2139 if ((cached_has_bits & 0x00000010u) != 0) {
2140 _this->_impl_.route_selection_max_neighbors_ = from._impl_.route_selection_max_neighbors_;
2143 _this->_impl_._has_bits_[0] |= cached_has_bits;
2144 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
2149 if (&from ==
this)
return;
2155void RuinRecreateParameters::InternalSwap(
RuinRecreateParameters* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
2157 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2158 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
2159 _impl_.ruin_strategies_.InternalSwap(&other->_impl_.ruin_strategies_);
2160 ::google::protobuf::internal::memswap<
2164 reinterpret_cast<char*
>(&
_impl_.ruin_composition_strategy_),
2165 reinterpret_cast<char*
>(&other->_impl_.ruin_composition_strategy_));
2169 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
2173class PerturbationStrategy::_Internal {
2178#if defined(PROTOBUF_CUSTOM_VTABLE)
2181 : ::google::protobuf::internal::ZeroFieldsBase(arena) {
2186 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
2188#if defined(PROTOBUF_CUSTOM_VTABLE)
2191 : ::google::protobuf::internal::ZeroFieldsBase(arena) {
2195 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2196 from._internal_metadata_);
2202 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
2203 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
2207 return ::google::protobuf::internal::MessageCreator::ZeroInit(
sizeof(PerturbationStrategy),
2211 return ::google::protobuf::internal::ClassDataFull{
2212 ::google::protobuf::internal::ClassData{
2217 &PerturbationStrategy::MergeImpl,
2218 ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl<PerturbationStrategy>(),
2219#if defined(PROTOBUF_CUSTOM_VTABLE)
2220 &PerturbationStrategy::SharedDtor,
2221 ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl<PerturbationStrategy>(), &PerturbationStrategy::ByteSizeLong,
2222 &PerturbationStrategy::_InternalSerialize,
2227 &PerturbationStrategy::kDescriptorMethods,
2233PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
2237PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
2243PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2244const ::_pbi::TcParseTable<0, 0, 0, 0, 2>
2245PerturbationStrategy::_table_ = {
2250 offsetof(
decltype(_table_), field_lookup_table),
2252 offsetof(
decltype(_table_), field_names),
2255 offsetof(
decltype(_table_), field_names),
2258 ::_pbi::TcParser::GenericFallback,
2259 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
2260 ::_pbi::TcParser::GetTable<::operations_research::PerturbationStrategy>(),
2263 {::_pbi::TcParser::MiniParse, {}},
2278 return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(
GetClassData()->full());
2282class CoolingScheduleStrategy::_Internal {
2287#if defined(PROTOBUF_CUSTOM_VTABLE)
2290 : ::google::protobuf::internal::ZeroFieldsBase(arena) {
2295 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
2297#if defined(PROTOBUF_CUSTOM_VTABLE)
2300 : ::google::protobuf::internal::ZeroFieldsBase(arena) {
2304 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2305 from._internal_metadata_);
2311 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
2312 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
2316 return ::google::protobuf::internal::MessageCreator::ZeroInit(
sizeof(CoolingScheduleStrategy),
2317 alignof(CoolingScheduleStrategy));
2320 return ::google::protobuf::internal::ClassDataFull{
2321 ::google::protobuf::internal::ClassData{
2326 &CoolingScheduleStrategy::MergeImpl,
2327 ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl<CoolingScheduleStrategy>(),
2328#if defined(PROTOBUF_CUSTOM_VTABLE)
2329 &CoolingScheduleStrategy::SharedDtor,
2330 ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl<CoolingScheduleStrategy>(), &CoolingScheduleStrategy::ByteSizeLong,
2331 &CoolingScheduleStrategy::_InternalSerialize,
2336 &CoolingScheduleStrategy::kDescriptorMethods,
2342PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
2346PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
2352PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2353const ::_pbi::TcParseTable<0, 0, 0, 0, 2>
2354CoolingScheduleStrategy::_table_ = {
2359 offsetof(
decltype(_table_), field_lookup_table),
2361 offsetof(
decltype(_table_), field_names),
2364 offsetof(
decltype(_table_), field_names),
2367 ::_pbi::TcParser::GenericFallback,
2368 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
2369 ::_pbi::TcParser::GetTable<::operations_research::CoolingScheduleStrategy>(),
2372 {::_pbi::TcParser::MiniParse, {}},
2387 return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(
GetClassData()->full());
2391class SimulatedAnnealingParameters::_Internal {
2394 decltype(::std::declval<SimulatedAnnealingParameters>()._impl_._has_bits_);
2395 static constexpr ::int32_t kHasBitsOffset =
2400#if defined(PROTOBUF_CUSTOM_VTABLE)
2403 : ::google::protobuf::Message(arena) {
2410#if defined(PROTOBUF_CUSTOM_VTABLE)
2413 : ::google::protobuf::Message(arena),
2416 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2417 from._internal_metadata_);
2419PROTOBUF_NDEBUG_INLINE SimulatedAnnealingParameters::Impl_::Impl_(
2420 ::google::protobuf::internal::InternalVisibility visibility,
2421 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
2422 : _cached_size_{0} {}
2424inline void SimulatedAnnealingParameters::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
2425 new (&
_impl_) Impl_(internal_visibility(), arena);
2426 ::memset(
reinterpret_cast<char *
>(&
_impl_) +
2427 offsetof(Impl_, initial_temperature_),
2429 offsetof(Impl_, final_temperature_) -
2430 offsetof(Impl_, initial_temperature_) +
2431 sizeof(Impl_::final_temperature_));
2437inline void SimulatedAnnealingParameters::SharedDtor(MessageLite& self) {
2439 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
2440 ABSL_DCHECK(this_.GetArena() ==
nullptr);
2441 this_._impl_.~Impl_();
2445 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
2446 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
2454 return ::google::protobuf::internal::ClassDataFull{
2455 ::google::protobuf::internal::ClassData{
2460 &SimulatedAnnealingParameters::MergeImpl,
2461 ::google::protobuf::Message::GetNewImpl<SimulatedAnnealingParameters>(),
2462#if defined(PROTOBUF_CUSTOM_VTABLE)
2463 &SimulatedAnnealingParameters::SharedDtor,
2470 &SimulatedAnnealingParameters::kDescriptorMethods,
2476PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
2480PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
2486PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2487const ::_pbi::TcParseTable<2, 4, 0, 0, 2>
2488SimulatedAnnealingParameters::_table_ = {
2493 offsetof(
decltype(_table_), field_lookup_table),
2495 offsetof(
decltype(_table_), field_entries),
2498 offsetof(
decltype(_table_), field_names),
2501 ::_pbi::TcParser::GenericFallback,
2502 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
2503 ::_pbi::TcParser::GetTable<::operations_research::SimulatedAnnealingParameters>(),
2513 {::_pbi::TcParser::FastF64S1,
2516 {::_pbi::TcParser::FastF64S1,
2523 (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)},
2526 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
2529 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
2532 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
2540 ::google::protobuf::internal::TSanWrite(&
_impl_);
2541 ::uint32_t cached_has_bits = 0;
2543 (void) cached_has_bits;
2545 cached_has_bits =
_impl_._has_bits_[0];
2546 if ((cached_has_bits & 0x0000000fu) != 0) {
2547 ::memset(&
_impl_.initial_temperature_, 0,
static_cast<::
size_t>(
2548 reinterpret_cast<char*
>(&
_impl_.final_temperature_) -
2549 reinterpret_cast<char*
>(&
_impl_.initial_temperature_)) +
sizeof(
_impl_.final_temperature_));
2551 _impl_._has_bits_.Clear();
2552 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
2555#if defined(PROTOBUF_CUSTOM_VTABLE)
2557 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
2558 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
2562 ::uint8_t* PROTOBUF_NONNULL target,
2563 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
2567 ::uint32_t cached_has_bits = 0;
2568 (void)cached_has_bits;
2571 if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) {
2572 if (this_._internal_cooling_schedule_strategy() != 0) {
2573 target = stream->EnsureSpace(target);
2574 target = ::_pbi::WireFormatLite::WriteEnumToArray(
2575 1, this_._internal_cooling_schedule_strategy(), target);
2579 cached_has_bits = this_._impl_._has_bits_[0];
2581 if ((cached_has_bits & 0x00000001u) != 0) {
2582 target = stream->EnsureSpace(target);
2583 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
2584 2, this_._internal_initial_temperature(), target);
2588 if ((cached_has_bits & 0x00000008u) != 0) {
2589 target = stream->EnsureSpace(target);
2590 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
2591 3, this_._internal_final_temperature(), target);
2595 if ((cached_has_bits & 0x00000004u) != 0) {
2596 target = stream->EnsureSpace(target);
2597 target = ::_pbi::WireFormatLite::WriteBoolToArray(
2598 4, this_._internal_automatic_temperatures(), target);
2601 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
2603 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2604 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
2610#if defined(PROTOBUF_CUSTOM_VTABLE)
2618 ::size_t total_size = 0;
2620 ::uint32_t cached_has_bits = 0;
2622 (void)cached_has_bits;
2624 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
2625 cached_has_bits = this_._impl_._has_bits_[0];
2626 total_size += ::absl::popcount(0x00000009u & cached_has_bits) * 9;
2627 total_size +=
static_cast<bool>(0x00000004u & cached_has_bits) * 2;
2630 if ((cached_has_bits & 0x00000002u) != 0) {
2631 if (this_._internal_cooling_schedule_strategy() != 0) {
2633 ::_pbi::WireFormatLite::EnumSize(this_._internal_cooling_schedule_strategy());
2637 return this_.MaybeComputeUnknownFieldsSize(total_size,
2638 &this_._impl_._cached_size_);
2641void SimulatedAnnealingParameters::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
2645 ABSL_DCHECK_NE(&from, _this);
2646 ::uint32_t cached_has_bits = 0;
2647 (void) cached_has_bits;
2649 cached_has_bits = from.
_impl_._has_bits_[0];
2650 if ((cached_has_bits & 0x0000000fu) != 0) {
2651 if ((cached_has_bits & 0x00000001u) != 0) {
2652 _this->_impl_.initial_temperature_ = from.
_impl_.initial_temperature_;
2654 if ((cached_has_bits & 0x00000002u) != 0) {
2655 if (from._internal_cooling_schedule_strategy() != 0) {
2656 _this->_impl_.cooling_schedule_strategy_ = from.
_impl_.cooling_schedule_strategy_;
2659 if ((cached_has_bits & 0x00000004u) != 0) {
2660 _this->_impl_.automatic_temperatures_ = from.
_impl_.automatic_temperatures_;
2662 if ((cached_has_bits & 0x00000008u) != 0) {
2663 _this->_impl_.final_temperature_ = from.
_impl_.final_temperature_;
2666 _this->_impl_._has_bits_[0] |= cached_has_bits;
2667 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
2672 if (&from ==
this)
return;
2680 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2681 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
2682 ::google::protobuf::internal::memswap<
2686 reinterpret_cast<char*
>(&
_impl_.initial_temperature_),
2687 reinterpret_cast<char*
>(&other->_impl_.initial_temperature_));
2691 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
2695class AcceptanceStrategy::_Internal {
2700#if defined(PROTOBUF_CUSTOM_VTABLE)
2703 : ::google::protobuf::internal::ZeroFieldsBase(arena) {
2708 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
2710#if defined(PROTOBUF_CUSTOM_VTABLE)
2713 : ::google::protobuf::internal::ZeroFieldsBase(arena) {
2717 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
2718 from._internal_metadata_);
2724 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
2725 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
2729 return ::google::protobuf::internal::MessageCreator::ZeroInit(
sizeof(AcceptanceStrategy),
2730 alignof(AcceptanceStrategy));
2733 return ::google::protobuf::internal::ClassDataFull{
2734 ::google::protobuf::internal::ClassData{
2739 &AcceptanceStrategy::MergeImpl,
2740 ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl<AcceptanceStrategy>(),
2741#if defined(PROTOBUF_CUSTOM_VTABLE)
2742 &AcceptanceStrategy::SharedDtor,
2743 ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl<AcceptanceStrategy>(), &AcceptanceStrategy::ByteSizeLong,
2744 &AcceptanceStrategy::_InternalSerialize,
2749 &AcceptanceStrategy::kDescriptorMethods,
2755PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
2759PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
2765PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2766const ::_pbi::TcParseTable<0, 0, 0, 0, 2>
2767AcceptanceStrategy::_table_ = {
2772 offsetof(
decltype(_table_), field_lookup_table),
2774 offsetof(
decltype(_table_), field_names),
2777 offsetof(
decltype(_table_), field_names),
2780 ::_pbi::TcParser::GenericFallback,
2781 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
2782 ::_pbi::TcParser::GetTable<::operations_research::AcceptanceStrategy>(),
2785 {::_pbi::TcParser::MiniParse, {}},
2800 return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(
GetClassData()->full());
2804class IteratedLocalSearchParameters::_Internal {
2807 decltype(::std::declval<IteratedLocalSearchParameters>()._impl_._has_bits_);
2808 static constexpr ::int32_t kHasBitsOffset =
2813#if defined(PROTOBUF_CUSTOM_VTABLE)
2816 : ::google::protobuf::Message(arena) {
2821PROTOBUF_NDEBUG_INLINE IteratedLocalSearchParameters::Impl_::Impl_(
2822 ::google::protobuf::internal::InternalVisibility visibility,
2823 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
2824 const ::operations_research::IteratedLocalSearchParameters& from_msg)
2825 : _has_bits_{from._has_bits_},
2829 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
2831#if defined(PROTOBUF_CUSTOM_VTABLE)
2834 : ::google::protobuf::Message(arena) {
2838 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
2839 from._internal_metadata_);
2840 new (&
_impl_) Impl_(internal_visibility(), arena, from.
_impl_, from);
2841 ::uint32_t cached_has_bits =
_impl_._has_bits_[0];
2842 _impl_.ruin_recreate_parameters_ = ((cached_has_bits & 0x00000001u) != 0)
2843 ? ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.ruin_recreate_parameters_)
2845 _impl_.simulated_annealing_parameters_ = ((cached_has_bits & 0x00000002u) != 0)
2846 ? ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.simulated_annealing_parameters_)
2848 ::memcpy(
reinterpret_cast<char *
>(&
_impl_) +
2849 offsetof(Impl_, perturbation_strategy_),
2850 reinterpret_cast<const char *
>(&from.
_impl_) +
2851 offsetof(Impl_, perturbation_strategy_),
2852 offsetof(Impl_, acceptance_strategy_) -
2853 offsetof(Impl_, perturbation_strategy_) +
2854 sizeof(Impl_::acceptance_strategy_));
2858PROTOBUF_NDEBUG_INLINE IteratedLocalSearchParameters::Impl_::Impl_(
2859 ::google::protobuf::internal::InternalVisibility visibility,
2860 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
2861 : _cached_size_{0} {}
2863inline void IteratedLocalSearchParameters::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
2864 new (&
_impl_) Impl_(internal_visibility(), arena);
2865 ::memset(
reinterpret_cast<char *
>(&
_impl_) +
2866 offsetof(Impl_, ruin_recreate_parameters_),
2868 offsetof(Impl_, acceptance_strategy_) -
2869 offsetof(Impl_, ruin_recreate_parameters_) +
2870 sizeof(Impl_::acceptance_strategy_));
2876inline void IteratedLocalSearchParameters::SharedDtor(MessageLite& self) {
2878 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
2879 ABSL_DCHECK(this_.GetArena() ==
nullptr);
2880 delete this_._impl_.ruin_recreate_parameters_;
2881 delete this_._impl_.simulated_annealing_parameters_;
2882 this_._impl_.~Impl_();
2886 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
2887 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
2895 return ::google::protobuf::internal::ClassDataFull{
2896 ::google::protobuf::internal::ClassData{
2901 &IteratedLocalSearchParameters::MergeImpl,
2902 ::google::protobuf::Message::GetNewImpl<IteratedLocalSearchParameters>(),
2903#if defined(PROTOBUF_CUSTOM_VTABLE)
2904 &IteratedLocalSearchParameters::SharedDtor,
2911 &IteratedLocalSearchParameters::kDescriptorMethods,
2917PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
2921PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
2927PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2928const ::_pbi::TcParseTable<3, 5, 2, 0, 2>
2929IteratedLocalSearchParameters::_table_ = {
2934 offsetof(
decltype(_table_), field_lookup_table),
2936 offsetof(
decltype(_table_), field_entries),
2939 offsetof(
decltype(_table_), aux_entries),
2942 ::_pbi::TcParser::GenericFallback,
2943 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
2944 ::_pbi::TcParser::GetTable<::operations_research::IteratedLocalSearchParameters>(),
2947 {::_pbi::TcParser::MiniParse, {}},
2952 {::_pbi::TcParser::FastMtS1,
2961 {::_pbi::TcParser::FastMtS1,
2963 {::_pbi::TcParser::MiniParse, {}},
2964 {::_pbi::TcParser::MiniParse, {}},
2970 (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)},
2973 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
2976 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
2979 (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)},
2982 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
2985 {::_pbi::TcParser::GetTable<::operations_research::RuinRecreateParameters>()},
2986 {::_pbi::TcParser::GetTable<::operations_research::SimulatedAnnealingParameters>()},
2993 ::google::protobuf::internal::TSanWrite(&
_impl_);
2994 ::uint32_t cached_has_bits = 0;
2996 (void) cached_has_bits;
2998 cached_has_bits =
_impl_._has_bits_[0];
2999 if ((cached_has_bits & 0x00000003u) != 0) {
3000 if ((cached_has_bits & 0x00000001u) != 0) {
3001 ABSL_DCHECK(
_impl_.ruin_recreate_parameters_ !=
nullptr);
3004 if ((cached_has_bits & 0x00000002u) != 0) {
3005 ABSL_DCHECK(
_impl_.simulated_annealing_parameters_ !=
nullptr);
3009 if ((cached_has_bits & 0x0000001cu) != 0) {
3010 ::memset(&
_impl_.perturbation_strategy_, 0,
static_cast<::
size_t>(
3011 reinterpret_cast<char*
>(&
_impl_.acceptance_strategy_) -
3012 reinterpret_cast<char*
>(&
_impl_.perturbation_strategy_)) +
sizeof(
_impl_.acceptance_strategy_));
3014 _impl_._has_bits_.Clear();
3015 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
3018#if defined(PROTOBUF_CUSTOM_VTABLE)
3020 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
3021 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
3025 ::uint8_t* PROTOBUF_NONNULL target,
3026 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
3030 ::uint32_t cached_has_bits = 0;
3031 (void)cached_has_bits;
3034 if ((this_._impl_._has_bits_[0] & 0x00000004u) != 0) {
3035 if (this_._internal_perturbation_strategy() != 0) {
3036 target = stream->EnsureSpace(target);
3037 target = ::_pbi::WireFormatLite::WriteEnumToArray(
3038 1, this_._internal_perturbation_strategy(), target);
3042 cached_has_bits = this_._impl_._has_bits_[0];
3044 if ((cached_has_bits & 0x00000001u) != 0) {
3045 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
3046 2, *this_._impl_.ruin_recreate_parameters_, this_._impl_.ruin_recreate_parameters_->GetCachedSize(), target,
3051 if ((cached_has_bits & 0x00000008u) != 0) {
3052 target = stream->EnsureSpace(target);
3053 target = ::_pbi::WireFormatLite::WriteBoolToArray(
3054 3, this_._internal_improve_perturbed_solution(), target);
3058 if ((cached_has_bits & 0x00000010u) != 0) {
3059 if (this_._internal_acceptance_strategy() != 0) {
3060 target = stream->EnsureSpace(target);
3061 target = ::_pbi::WireFormatLite::WriteEnumToArray(
3062 4, this_._internal_acceptance_strategy(), target);
3067 if ((cached_has_bits & 0x00000002u) != 0) {
3068 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
3069 5, *this_._impl_.simulated_annealing_parameters_, this_._impl_.simulated_annealing_parameters_->GetCachedSize(), target,
3073 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
3075 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
3076 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
3082#if defined(PROTOBUF_CUSTOM_VTABLE)
3090 ::size_t total_size = 0;
3092 ::uint32_t cached_has_bits = 0;
3094 (void)cached_has_bits;
3096 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
3097 cached_has_bits = this_._impl_._has_bits_[0];
3098 total_size +=
static_cast<bool>(0x00000008u & cached_has_bits) * 2;
3099 if ((cached_has_bits & 0x00000017u) != 0) {
3101 if ((cached_has_bits & 0x00000001u) != 0) {
3103 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.ruin_recreate_parameters_);
3106 if ((cached_has_bits & 0x00000002u) != 0) {
3108 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.simulated_annealing_parameters_);
3111 if ((cached_has_bits & 0x00000004u) != 0) {
3112 if (this_._internal_perturbation_strategy() != 0) {
3114 ::_pbi::WireFormatLite::EnumSize(this_._internal_perturbation_strategy());
3118 if ((cached_has_bits & 0x00000010u) != 0) {
3119 if (this_._internal_acceptance_strategy() != 0) {
3121 ::_pbi::WireFormatLite::EnumSize(this_._internal_acceptance_strategy());
3125 return this_.MaybeComputeUnknownFieldsSize(total_size,
3126 &this_._impl_._cached_size_);
3129void IteratedLocalSearchParameters::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
3132 ::google::protobuf::Arena* arena = _this->GetArena();
3134 ABSL_DCHECK_NE(&from, _this);
3135 ::uint32_t cached_has_bits = 0;
3136 (void) cached_has_bits;
3138 cached_has_bits = from.
_impl_._has_bits_[0];
3139 if ((cached_has_bits & 0x0000001fu) != 0) {
3140 if ((cached_has_bits & 0x00000001u) != 0) {
3141 ABSL_DCHECK(from.
_impl_.ruin_recreate_parameters_ !=
nullptr);
3142 if (_this->
_impl_.ruin_recreate_parameters_ ==
nullptr) {
3143 _this->
_impl_.ruin_recreate_parameters_ = ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.ruin_recreate_parameters_);
3148 if ((cached_has_bits & 0x00000002u) != 0) {
3149 ABSL_DCHECK(from.
_impl_.simulated_annealing_parameters_ !=
nullptr);
3150 if (_this->
_impl_.simulated_annealing_parameters_ ==
nullptr) {
3151 _this->
_impl_.simulated_annealing_parameters_ = ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.simulated_annealing_parameters_);
3153 _this->
_impl_.simulated_annealing_parameters_->
MergeFrom(*from.
_impl_.simulated_annealing_parameters_);
3156 if ((cached_has_bits & 0x00000004u) != 0) {
3157 if (from._internal_perturbation_strategy() != 0) {
3158 _this->
_impl_.perturbation_strategy_ = from.
_impl_.perturbation_strategy_;
3161 if ((cached_has_bits & 0x00000008u) != 0) {
3162 _this->
_impl_.improve_perturbed_solution_ = from.
_impl_.improve_perturbed_solution_;
3164 if ((cached_has_bits & 0x00000010u) != 0) {
3165 if (from._internal_acceptance_strategy() != 0) {
3166 _this->
_impl_.acceptance_strategy_ = from.
_impl_.acceptance_strategy_;
3170 _this->
_impl_._has_bits_[0] |= cached_has_bits;
3171 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
3176 if (&from ==
this)
return;
3184 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
3186 ::google::protobuf::internal::memswap<
3190 reinterpret_cast<char*
>(&
_impl_.ruin_recreate_parameters_),
3191 reinterpret_cast<char*
>(&other->_impl_.ruin_recreate_parameters_));
3195 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
3204PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type
3207 ::std::false_type{});
3208#include "google/protobuf/port_undef.inc"
static PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::std::false_type _static_init2_
@protoc_insertion_point(global_scope)
static const ::_pb::Message *PROTOBUF_NONNULL const file_default_instances[]
static constexpr auto InternalNewImpl_()
static constexpr auto InternalGenerateClassData_()
::google::protobuf::Metadata GetMetadata() const
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
void MergeFrom(const AcceptanceStrategy &from)
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
static constexpr auto InternalNewImpl_()
static constexpr auto InternalGenerateClassData_()
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
CoolingScheduleStrategy()
::google::protobuf::Metadata GetMetadata() const
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
friend class ::google::protobuf::MessageLite
static constexpr auto InternalGenerateClassData_()
void CopyFrom(const IteratedLocalSearchParameters &from)
~IteratedLocalSearchParameters() PROTOBUF_FINAL
IteratedLocalSearchParameters()
static constexpr auto InternalNewImpl_()
friend void swap(IteratedLocalSearchParameters &a, IteratedLocalSearchParameters &b)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
::size_t ByteSizeLong() const final
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
::google::protobuf::Metadata GetMetadata() const
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
void MergeFrom(const IteratedLocalSearchParameters &from)
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
static constexpr auto InternalNewImpl_()
static constexpr auto InternalGenerateClassData_()
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
::google::protobuf::Metadata GetMetadata() const
decltype(::std::declval< RandomWalkRuinStrategy >()._impl_._has_bits_) HasBits
static constexpr ::int32_t kHasBitsOffset
::size_t ByteSizeLong() const final
friend class ::google::protobuf::MessageLite
static constexpr auto InternalNewImpl_()
~RandomWalkRuinStrategy() PROTOBUF_FINAL
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
friend void swap(RandomWalkRuinStrategy &a, RandomWalkRuinStrategy &b)
static constexpr auto InternalGenerateClassData_()
void MergeFrom(const RandomWalkRuinStrategy &from)
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
void CopyFrom(const RandomWalkRuinStrategy &from)
::google::protobuf::Metadata GetMetadata() const
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
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
static constexpr auto InternalGenerateClassData_()
static constexpr auto InternalNewImpl_()
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
::google::protobuf::Metadata GetMetadata() const
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
RuinCompositionStrategy()
void MergeFrom(const RuinCompositionStrategy &from)
static constexpr ::int32_t kHasBitsOffset
friend class ::google::protobuf::MessageLite
::size_t ByteSizeLong() const final
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
friend void swap(RuinRecreateParameters &a, RuinRecreateParameters &b)
void CopyFrom(const RuinRecreateParameters &from)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
~RuinRecreateParameters() PROTOBUF_FINAL
static constexpr auto InternalGenerateClassData_()
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
::google::protobuf::Metadata GetMetadata() const
void MergeFrom(const RuinRecreateParameters &from)
static constexpr auto InternalNewImpl_()
friend class ::google::protobuf::MessageLite
void CopyFrom(const RuinStrategy &from)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void set_allocated_random_walk(::operations_research::RandomWalkRuinStrategy *PROTOBUF_NULLABLE value)
::google::protobuf::Metadata GetMetadata() const
void MergeFrom(const RuinStrategy &from)
::size_t ByteSizeLong() const final
void set_allocated_sisr(::operations_research::SISRRuinStrategy *PROTOBUF_NULLABLE value)
const ::operations_research::SISRRuinStrategy & sisr() const
StrategyCase strategy_case() const
const ::operations_research::RandomWalkRuinStrategy & random_walk() const
void set_allocated_spatially_close_routes(::operations_research::SpatiallyCloseRoutesRuinStrategy *PROTOBUF_NULLABLE value)
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
static constexpr auto InternalGenerateClassData_()
const ::operations_research::SpatiallyCloseRoutesRuinStrategy & spatially_close_routes() const
static constexpr auto InternalNewImpl_()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
~RuinStrategy() PROTOBUF_FINAL
friend void swap(RuinStrategy &a, RuinStrategy &b)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
static constexpr ::int32_t kHasBitsOffset
friend class ::google::protobuf::MessageLite
static constexpr auto InternalNewImpl_()
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
friend void swap(SISRRuinStrategy &a, SISRRuinStrategy &b)
::size_t ByteSizeLong() const final
::google::protobuf::Metadata GetMetadata() const
static constexpr auto InternalGenerateClassData_()
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
void MergeFrom(const SISRRuinStrategy &from)
~SISRRuinStrategy() PROTOBUF_FINAL
friend class ::google::protobuf::Arena
void CopyFrom(const SISRRuinStrategy &from)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
SimulatedAnnealingParameters()
friend class ::google::protobuf::MessageLite
void CopyFrom(const SimulatedAnnealingParameters &from)
static constexpr auto InternalNewImpl_()
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
friend void swap(SimulatedAnnealingParameters &a, SimulatedAnnealingParameters &b)
~SimulatedAnnealingParameters() PROTOBUF_FINAL
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
static constexpr auto InternalGenerateClassData_()
::size_t ByteSizeLong() const final
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void MergeFrom(const SimulatedAnnealingParameters &from)
::google::protobuf::Metadata GetMetadata() const
static constexpr ::int32_t kHasBitsOffset
decltype(::std::declval< SpatiallyCloseRoutesRuinStrategy >()._impl_._has_bits_) HasBits
friend class ::google::protobuf::MessageLite
static constexpr auto InternalGenerateClassData_()
SpatiallyCloseRoutesRuinStrategy()
void MergeFrom(const SpatiallyCloseRoutesRuinStrategy &from)
::size_t ByteSizeLong() const final
::google::protobuf::Metadata GetMetadata() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
~SpatiallyCloseRoutesRuinStrategy() PROTOBUF_FINAL
void CopyFrom(const SpatiallyCloseRoutesRuinStrategy &from)
static constexpr auto InternalNewImpl_()
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
friend void swap(SpatiallyCloseRoutesRuinStrategy &a, SpatiallyCloseRoutesRuinStrategy &b)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
In SWIG mode, we don't want anything besides these top-level includes.
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_
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_
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_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull PerturbationStrategy_class_data_
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL AcceptanceStrategy_Value_descriptor()
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull RuinRecreateParameters_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RuinRecreateParametersDefaultTypeInternal _RuinRecreateParameters_default_instance_
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 RandomWalkRuinStrategy_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AcceptanceStrategyDefaultTypeInternal _AcceptanceStrategy_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull IteratedLocalSearchParameters_class_data_
PROTOBUF_CONSTINIT const uint32_t AcceptanceStrategy_Value_internal_data_[]
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL PerturbationStrategy_Value_descriptor()
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SimulatedAnnealingParameters_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull RuinStrategy_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
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SpatiallyCloseRoutesRuinStrategy_class_data_
PROTOBUF_CONSTINIT const uint32_t RuinCompositionStrategy_Value_internal_data_[]
CoolingScheduleStrategy_Value
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SimulatedAnnealingParametersDefaultTypeInternal _SimulatedAnnealingParameters_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SpatiallyCloseRoutesRuinStrategyDefaultTypeInternal _SpatiallyCloseRoutesRuinStrategy_default_instance_
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
static constexpr ::_pbi::MigrationSchema *PROTOBUF_NULLABLE schemas
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fconstraint_5fsolver_2frouting_5fenums_2eproto
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fconstraint_5fsolver_2frouting_5fils_2eproto
const ::uint32_t TableStruct_ortools_2fconstraint_5fsolver_2frouting_5fils_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold)
static constexprconst ::_pb::ServiceDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE file_level_service_descriptors_ortools_2fconstraint_5fsolver_2frouting_5fils_2eproto
static const ::_pb::EnumDescriptor *PROTOBUF_NONNULL file_level_enum_descriptors_ortools_2fconstraint_5fsolver_2frouting_5fils_2eproto[4]
::absl::once_flag descriptor_table_ortools_2fconstraint_5fsolver_2frouting_5fils_2eproto_once
static const ::_pbi::DescriptorTable *PROTOBUF_NONNULL const descriptor_table_ortools_2fconstraint_5fsolver_2frouting_5fils_2eproto_deps[1]
AcceptanceStrategy _instance
~AcceptanceStrategyDefaultTypeInternal()
PROTOBUF_CONSTEXPR AcceptanceStrategyDefaultTypeInternal()
~CoolingScheduleStrategyDefaultTypeInternal()
CoolingScheduleStrategy _instance
PROTOBUF_CONSTEXPR CoolingScheduleStrategyDefaultTypeInternal()
~IteratedLocalSearchParametersDefaultTypeInternal()
IteratedLocalSearchParameters _instance
PROTOBUF_CONSTEXPR IteratedLocalSearchParametersDefaultTypeInternal()
PROTOBUF_CONSTEXPR PerturbationStrategyDefaultTypeInternal()
PerturbationStrategy _instance
~PerturbationStrategyDefaultTypeInternal()
~RandomWalkRuinStrategyDefaultTypeInternal()
PROTOBUF_CONSTEXPR RandomWalkRuinStrategyDefaultTypeInternal()
RandomWalkRuinStrategy _instance
RuinCompositionStrategy _instance
PROTOBUF_CONSTEXPR RuinCompositionStrategyDefaultTypeInternal()
~RuinCompositionStrategyDefaultTypeInternal()
~RuinRecreateParametersDefaultTypeInternal()
RuinRecreateParameters _instance
PROTOBUF_CONSTEXPR RuinRecreateParametersDefaultTypeInternal()
~RuinStrategyDefaultTypeInternal()
PROTOBUF_CONSTEXPR RuinStrategyDefaultTypeInternal()
~SISRRuinStrategyDefaultTypeInternal()
PROTOBUF_CONSTEXPR SISRRuinStrategyDefaultTypeInternal()
SISRRuinStrategy _instance
PROTOBUF_CONSTEXPR SimulatedAnnealingParametersDefaultTypeInternal()
~SimulatedAnnealingParametersDefaultTypeInternal()
SimulatedAnnealingParameters _instance
~SpatiallyCloseRoutesRuinStrategyDefaultTypeInternal()
PROTOBUF_CONSTEXPR SpatiallyCloseRoutesRuinStrategyDefaultTypeInternal()
SpatiallyCloseRoutesRuinStrategy _instance
::google::protobuf::Message *PROTOBUF_NULLABLE spatially_close_routes_
::google::protobuf::Message *PROTOBUF_NULLABLE random_walk_
::google::protobuf::Message *PROTOBUF_NULLABLE sisr_