OR-Tools  9.2
routing_enums.pb.cc
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: ortools/constraint_solver/routing_enums.proto
3
5
6#include <algorithm>
7
8#include <google/protobuf/io/coded_stream.h>
9#include <google/protobuf/extension_set.h>
10#include <google/protobuf/wire_format_lite.h>
11#include <google/protobuf/descriptor.h>
12#include <google/protobuf/generated_message_reflection.h>
13#include <google/protobuf/reflection_ops.h>
14#include <google/protobuf/wire_format.h>
15// @@protoc_insertion_point(includes)
16#include <google/protobuf/port_def.inc>
17
18PROTOBUF_PRAGMA_INIT_SEG
19namespace operations_research {
21 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized){}
24 : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
26 union {
28 };
29};
32 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized){}
35 : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
37 union {
39 };
40};
42} // namespace operations_research
44static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* file_level_enum_descriptors_ortools_2fconstraint_5fsolver_2frouting_5fenums_2eproto[2];
45static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_ortools_2fconstraint_5fsolver_2frouting_5fenums_2eproto = nullptr;
46
48 ~0u, // no _has_bits_
49 PROTOBUF_FIELD_OFFSET(::operations_research::FirstSolutionStrategy, _internal_metadata_),
50 ~0u, // no _extensions_
51 ~0u, // no _oneof_case_
52 ~0u, // no _weak_field_map_
53 ~0u, // no _inlined_string_donated_
54 ~0u, // no _has_bits_
55 PROTOBUF_FIELD_OFFSET(::operations_research::LocalSearchMetaheuristic, _internal_metadata_),
56 ~0u, // no _extensions_
57 ~0u, // no _oneof_case_
58 ~0u, // no _weak_field_map_
59 ~0u, // no _inlined_string_donated_
60};
61static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
64};
65
66static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = {
67 reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::operations_research::_FirstSolutionStrategy_default_instance_),
68 reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::operations_research::_LocalSearchMetaheuristic_default_instance_),
69};
70
71const char descriptor_table_protodef_ortools_2fconstraint_5fsolver_2frouting_5fenums_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
72 "\n-ortools/constraint_solver/routing_enum"
73 "s.proto\022\023operations_research\"\214\003\n\025FirstSo"
74 "lutionStrategy\"\362\002\n\005Value\022\t\n\005UNSET\020\000\022\r\n\tA"
75 "UTOMATIC\020\017\022\025\n\021PATH_CHEAPEST_ARC\020\003\022\035\n\031PAT"
76 "H_MOST_CONSTRAINED_ARC\020\004\022\026\n\022EVALUATOR_ST"
77 "RATEGY\020\005\022\013\n\007SAVINGS\020\n\022\t\n\005SWEEP\020\013\022\020\n\014CHRI"
78 "STOFIDES\020\r\022\023\n\017ALL_UNPERFORMED\020\006\022\022\n\016BEST_"
79 "INSERTION\020\007\022\037\n\033PARALLEL_CHEAPEST_INSERTI"
80 "ON\020\010\022!\n\035SEQUENTIAL_CHEAPEST_INSERTION\020\016\022"
81 "\034\n\030LOCAL_CHEAPEST_INSERTION\020\t\022\027\n\023GLOBAL_"
82 "CHEAPEST_ARC\020\001\022\026\n\022LOCAL_CHEAPEST_ARC\020\002\022\033"
83 "\n\027FIRST_UNBOUND_MIN_VALUE\020\014\"\256\001\n\030LocalSea"
84 "rchMetaheuristic\"\221\001\n\005Value\022\t\n\005UNSET\020\000\022\r\n"
85 "\tAUTOMATIC\020\006\022\022\n\016GREEDY_DESCENT\020\001\022\027\n\023GUID"
86 "ED_LOCAL_SEARCH\020\002\022\027\n\023SIMULATED_ANNEALING"
87 "\020\003\022\017\n\013TABU_SEARCH\020\004\022\027\n\023GENERIC_TABU_SEAR"
88 "CH\020\005BI\n#com.google.ortools.constraintsol"
89 "verP\001\252\002\037Google.OrTools.ConstraintSolverb"
90 "\006proto3"
91 ;
93const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ortools_2fconstraint_5fsolver_2frouting_5fenums_2eproto = {
94 false, false, 727, descriptor_table_protodef_ortools_2fconstraint_5fsolver_2frouting_5fenums_2eproto, "ortools/constraint_solver/routing_enums.proto",
98};
99PROTOBUF_ATTRIBUTE_WEAK const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable* descriptor_table_ortools_2fconstraint_5fsolver_2frouting_5fenums_2eproto_getter() {
101}
102
103// Force running AddDescriptors() at dynamic initialization time.
104PROTOBUF_ATTRIBUTE_INIT_PRIORITY static ::PROTOBUF_NAMESPACE_ID::internal::AddDescriptorsRunner dynamic_init_dummy_ortools_2fconstraint_5fsolver_2frouting_5fenums_2eproto(&descriptor_table_ortools_2fconstraint_5fsolver_2frouting_5fenums_2eproto);
105namespace operations_research {
106const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* FirstSolutionStrategy_Value_descriptor() {
107 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_ortools_2fconstraint_5fsolver_2frouting_5fenums_2eproto);
109}
111 switch (value) {
112 case 0:
113 case 1:
114 case 2:
115 case 3:
116 case 4:
117 case 5:
118 case 6:
119 case 7:
120 case 8:
121 case 9:
122 case 10:
123 case 11:
124 case 12:
125 case 13:
126 case 14:
127 case 15:
128 return true;
129 default:
130 return false;
131 }
132}
133
134#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
154#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
155const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* LocalSearchMetaheuristic_Value_descriptor() {
156 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_ortools_2fconstraint_5fsolver_2frouting_5fenums_2eproto);
158}
160 switch (value) {
161 case 0:
162 case 1:
163 case 2:
164 case 3:
165 case 4:
166 case 5:
167 case 6:
168 return true;
169 default:
170 return false;
171 }
172}
173
174#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
185#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
186
187// ===================================================================
188
190 public:
191};
192
193FirstSolutionStrategy::FirstSolutionStrategy(::PROTOBUF_NAMESPACE_ID::Arena* arena,
194 bool is_message_owned)
195 : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) {
196 // @@protoc_insertion_point(arena_constructor:operations_research.FirstSolutionStrategy)
197}
199 : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() {
200 _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
201 // @@protoc_insertion_point(copy_constructor:operations_research.FirstSolutionStrategy)
202}
203
204
205
206
207
208const ::PROTOBUF_NAMESPACE_ID::Message::ClassData FirstSolutionStrategy::_class_data_ = {
209 ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl,
210 ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl,
211};
212const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*FirstSolutionStrategy::GetClassData() const { return &_class_data_; }
213
214
215
216
217
218
219
220::PROTOBUF_NAMESPACE_ID::Metadata FirstSolutionStrategy::GetMetadata() const {
221 return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
224}
225
226// ===================================================================
227
229 public:
230};
231
232LocalSearchMetaheuristic::LocalSearchMetaheuristic(::PROTOBUF_NAMESPACE_ID::Arena* arena,
233 bool is_message_owned)
234 : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) {
235 // @@protoc_insertion_point(arena_constructor:operations_research.LocalSearchMetaheuristic)
236}
238 : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() {
239 _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
240 // @@protoc_insertion_point(copy_constructor:operations_research.LocalSearchMetaheuristic)
241}
242
243
244
245
246
247const ::PROTOBUF_NAMESPACE_ID::Message::ClassData LocalSearchMetaheuristic::_class_data_ = {
248 ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl,
249 ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl,
250};
251const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*LocalSearchMetaheuristic::GetClassData() const { return &_class_data_; }
252
253
254
255
256
257
258
259::PROTOBUF_NAMESPACE_ID::Metadata LocalSearchMetaheuristic::GetMetadata() const {
260 return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
263}
264
265// @@protoc_insertion_point(namespace_scope)
266} // namespace operations_research
267PROTOBUF_NAMESPACE_OPEN
268template<> PROTOBUF_NOINLINE ::operations_research::FirstSolutionStrategy* Arena::CreateMaybeMessage< ::operations_research::FirstSolutionStrategy >(Arena* arena) {
269 return Arena::CreateMessageInternal< ::operations_research::FirstSolutionStrategy >(arena);
270}
271template<> PROTOBUF_NOINLINE ::operations_research::LocalSearchMetaheuristic* Arena::CreateMaybeMessage< ::operations_research::LocalSearchMetaheuristic >(Arena* arena) {
272 return Arena::CreateMessageInternal< ::operations_research::LocalSearchMetaheuristic >(arena);
273}
274PROTOBUF_NAMESPACE_CLOSE
275
276// @@protoc_insertion_point(global_scope)
277#include <google/protobuf/port_undef.inc>
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static constexpr Value PARALLEL_CHEAPEST_INSERTION
static constexpr Value SEQUENTIAL_CHEAPEST_INSERTION
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
int64_t value
Collection of objects used to extend the Constraint Solver library.
bool LocalSearchMetaheuristic_Value_IsValid(int value)
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * FirstSolutionStrategy_Value_descriptor()
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * LocalSearchMetaheuristic_Value_descriptor()
bool FirstSolutionStrategy_Value_IsValid(int value)
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT FirstSolutionStrategyDefaultTypeInternal _FirstSolutionStrategy_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT LocalSearchMetaheuristicDefaultTypeInternal _LocalSearchMetaheuristic_default_instance_
static constexpr ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema * schemas
::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_ortools_2fconstraint_5fsolver_2frouting_5fenums_2eproto[2]
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ortools_2fconstraint_5fsolver_2frouting_5fenums_2eproto
static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const ** file_level_service_descriptors_ortools_2fconstraint_5fsolver_2frouting_5fenums_2eproto
PROTOBUF_NAMESPACE_OPEN PROTOBUF_NOINLINE::operations_research::FirstSolutionStrategy * Arena::CreateMaybeMessage< ::operations_research::FirstSolutionStrategy >(Arena *arena)
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * file_level_enum_descriptors_ortools_2fconstraint_5fsolver_2frouting_5fenums_2eproto[2]
PROTOBUF_ATTRIBUTE_WEAKconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable * descriptor_table_ortools_2fconstraint_5fsolver_2frouting_5fenums_2eproto_getter()
::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_ortools_2fconstraint_5fsolver_2frouting_5fenums_2eproto_once
PROTOBUF_NOINLINE::operations_research::LocalSearchMetaheuristic * Arena::CreateMaybeMessage< ::operations_research::LocalSearchMetaheuristic >(Arena *arena)
::PROTOBUF_NAMESPACE_ID::Message const *const file_default_instances[]
const uint32_t TableStruct_ortools_2fconstraint_5fsolver_2frouting_5fenums_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)