OR-Tools  9.1
solver_parameters.pb.cc
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ortools/constraint_solver/solver_parameters.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 
18 PROTOBUF_PRAGMA_INIT_SEG
19 namespace operations_research {
21  ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
22  : profile_file_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
23  , compress_trail_(0)
24 
25  , trail_block_size_(0)
26  , array_split_size_(0)
27  , store_names_(false)
28  , name_cast_variables_(false)
29  , name_all_variables_(false)
30  , profile_propagation_(false)
31  , print_model_(false)
32  , print_model_stats_(false)
33  , print_added_constraints_(false)
34  , disable_solve_(false)
35  , profile_local_search_(false)
36  , print_local_search_profile_(false)
37  , trace_propagation_(false)
38  , trace_search_(false)
39  , check_solution_period_(0)
40  , use_small_table_(false)
41  , use_cumulative_edge_finder_(false)
42  , use_cumulative_time_table_(false)
43  , use_cumulative_time_table_sync_(false)
44  , max_edge_finder_size_(0)
45  , use_sequence_high_demand_tasks_(false)
46  , use_all_possible_disjunctions_(false)
47  , diffn_use_cumulative_(false)
48  , use_element_rmq_(false)
49  , skip_locally_optimal_paths_(false){}
52  : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
54  union {
56  };
57 };
59 } // namespace operations_research
61 static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* file_level_enum_descriptors_ortools_2fconstraint_5fsolver_2fsolver_5fparameters_2eproto[1];
62 static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_ortools_2fconstraint_5fsolver_2fsolver_5fparameters_2eproto = nullptr;
63 
65  ~0u, // no _has_bits_
66  PROTOBUF_FIELD_OFFSET(::operations_research::ConstraintSolverParameters, _internal_metadata_),
67  ~0u, // no _extensions_
68  ~0u, // no _oneof_case_
69  ~0u, // no _weak_field_map_
70  PROTOBUF_FIELD_OFFSET(::operations_research::ConstraintSolverParameters, compress_trail_),
71  PROTOBUF_FIELD_OFFSET(::operations_research::ConstraintSolverParameters, trail_block_size_),
72  PROTOBUF_FIELD_OFFSET(::operations_research::ConstraintSolverParameters, array_split_size_),
73  PROTOBUF_FIELD_OFFSET(::operations_research::ConstraintSolverParameters, store_names_),
74  PROTOBUF_FIELD_OFFSET(::operations_research::ConstraintSolverParameters, name_cast_variables_),
75  PROTOBUF_FIELD_OFFSET(::operations_research::ConstraintSolverParameters, name_all_variables_),
76  PROTOBUF_FIELD_OFFSET(::operations_research::ConstraintSolverParameters, profile_propagation_),
77  PROTOBUF_FIELD_OFFSET(::operations_research::ConstraintSolverParameters, profile_file_),
78  PROTOBUF_FIELD_OFFSET(::operations_research::ConstraintSolverParameters, profile_local_search_),
79  PROTOBUF_FIELD_OFFSET(::operations_research::ConstraintSolverParameters, print_local_search_profile_),
80  PROTOBUF_FIELD_OFFSET(::operations_research::ConstraintSolverParameters, trace_propagation_),
81  PROTOBUF_FIELD_OFFSET(::operations_research::ConstraintSolverParameters, trace_search_),
82  PROTOBUF_FIELD_OFFSET(::operations_research::ConstraintSolverParameters, print_model_),
83  PROTOBUF_FIELD_OFFSET(::operations_research::ConstraintSolverParameters, print_model_stats_),
84  PROTOBUF_FIELD_OFFSET(::operations_research::ConstraintSolverParameters, print_added_constraints_),
85  PROTOBUF_FIELD_OFFSET(::operations_research::ConstraintSolverParameters, disable_solve_),
86  PROTOBUF_FIELD_OFFSET(::operations_research::ConstraintSolverParameters, use_small_table_),
87  PROTOBUF_FIELD_OFFSET(::operations_research::ConstraintSolverParameters, use_cumulative_edge_finder_),
88  PROTOBUF_FIELD_OFFSET(::operations_research::ConstraintSolverParameters, use_cumulative_time_table_),
89  PROTOBUF_FIELD_OFFSET(::operations_research::ConstraintSolverParameters, use_cumulative_time_table_sync_),
90  PROTOBUF_FIELD_OFFSET(::operations_research::ConstraintSolverParameters, use_sequence_high_demand_tasks_),
91  PROTOBUF_FIELD_OFFSET(::operations_research::ConstraintSolverParameters, use_all_possible_disjunctions_),
92  PROTOBUF_FIELD_OFFSET(::operations_research::ConstraintSolverParameters, max_edge_finder_size_),
93  PROTOBUF_FIELD_OFFSET(::operations_research::ConstraintSolverParameters, diffn_use_cumulative_),
94  PROTOBUF_FIELD_OFFSET(::operations_research::ConstraintSolverParameters, use_element_rmq_),
95  PROTOBUF_FIELD_OFFSET(::operations_research::ConstraintSolverParameters, skip_locally_optimal_paths_),
96  PROTOBUF_FIELD_OFFSET(::operations_research::ConstraintSolverParameters, check_solution_period_),
97 };
98 static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
100 };
101 
102 static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = {
103  reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::operations_research::_ConstraintSolverParameters_default_instance_),
104 };
105 
106 const char descriptor_table_protodef_ortools_2fconstraint_5fsolver_2fsolver_5fparameters_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
107  "\n1ortools/constraint_solver/solver_param"
108  "eters.proto\022\023operations_research\"\315\007\n\032Con"
109  "straintSolverParameters\022X\n\016compress_trai"
110  "l\030\001 \001(\0162@.operations_research.Constraint"
111  "SolverParameters.TrailCompression\022\030\n\020tra"
112  "il_block_size\030\002 \001(\005\022\030\n\020array_split_size\030"
113  "\003 \001(\005\022\023\n\013store_names\030\004 \001(\010\022\033\n\023name_cast_"
114  "variables\030\005 \001(\010\022\032\n\022name_all_variables\030\006 "
115  "\001(\010\022\033\n\023profile_propagation\030\007 \001(\010\022\024\n\014prof"
116  "ile_file\030\010 \001(\t\022\034\n\024profile_local_search\030\020"
117  " \001(\010\022\"\n\032print_local_search_profile\030\021 \001(\010"
118  "\022\031\n\021trace_propagation\030\t \001(\010\022\024\n\014trace_sea"
119  "rch\030\n \001(\010\022\023\n\013print_model\030\013 \001(\010\022\031\n\021print_"
120  "model_stats\030\014 \001(\010\022\037\n\027print_added_constra"
121  "ints\030\r \001(\010\022\025\n\rdisable_solve\030\017 \001(\010\022\027\n\017use"
122  "_small_table\030e \001(\010\022\"\n\032use_cumulative_edg"
123  "e_finder\030i \001(\010\022!\n\031use_cumulative_time_ta"
124  "ble\030j \001(\010\022&\n\036use_cumulative_time_table_s"
125  "ync\030p \001(\010\022&\n\036use_sequence_high_demand_ta"
126  "sks\030k \001(\010\022%\n\035use_all_possible_disjunctio"
127  "ns\030l \001(\010\022\034\n\024max_edge_finder_size\030m \001(\005\022\034"
128  "\n\024diffn_use_cumulative\030n \001(\010\022\027\n\017use_elem"
129  "ent_rmq\030o \001(\010\022\"\n\032skip_locally_optimal_pa"
130  "ths\030q \001(\010\022\035\n\025check_solution_period\030r \001(\005"
131  "\">\n\020TrailCompression\022\022\n\016NO_COMPRESSION\020\000"
132  "\022\026\n\022COMPRESS_WITH_ZLIB\020\001J\004\010d\020eJ\004\010f\020gJ\004\010g"
133  "\020hJ\004\010h\020iBI\n#com.google.ortools.constrain"
134  "tsolverP\001\252\002\037Google.OrTools.ConstraintSol"
135  "verb\006proto3"
136  ;
138 const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ortools_2fconstraint_5fsolver_2fsolver_5fparameters_2eproto = {
139  false, false, 1131, descriptor_table_protodef_ortools_2fconstraint_5fsolver_2fsolver_5fparameters_2eproto, "ortools/constraint_solver/solver_parameters.proto",
143 };
144 PROTOBUF_ATTRIBUTE_WEAK const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable* descriptor_table_ortools_2fconstraint_5fsolver_2fsolver_5fparameters_2eproto_getter() {
146 }
147 
148 // Force running AddDescriptors() at dynamic initialization time.
149 PROTOBUF_ATTRIBUTE_INIT_PRIORITY static ::PROTOBUF_NAMESPACE_ID::internal::AddDescriptorsRunner dynamic_init_dummy_ortools_2fconstraint_5fsolver_2fsolver_5fparameters_2eproto(&descriptor_table_ortools_2fconstraint_5fsolver_2fsolver_5fparameters_2eproto);
150 namespace operations_research {
151 const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ConstraintSolverParameters_TrailCompression_descriptor() {
152  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_ortools_2fconstraint_5fsolver_2fsolver_5fparameters_2eproto);
154 }
156  switch (value) {
157  case 0:
158  case 1:
159  return true;
160  default:
161  return false;
162  }
163 }
164 
165 #if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
171 #endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
172 
173 // ===================================================================
174 
176  public:
177 };
178 
179 ConstraintSolverParameters::ConstraintSolverParameters(::PROTOBUF_NAMESPACE_ID::Arena* arena,
180  bool is_message_owned)
181  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
182  SharedCtor();
183  if (!is_message_owned) {
184  RegisterArenaDtor(arena);
185  }
186  // @@protoc_insertion_point(arena_constructor:operations_research.ConstraintSolverParameters)
187 }
189  : ::PROTOBUF_NAMESPACE_ID::Message() {
190  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
191  profile_file_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
192  if (!from._internal_profile_file().empty()) {
193  profile_file_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_profile_file(),
194  GetArenaForAllocation());
195  }
196  ::memcpy(&compress_trail_, &from.compress_trail_,
197  static_cast<size_t>(reinterpret_cast<char*>(&skip_locally_optimal_paths_) -
198  reinterpret_cast<char*>(&compress_trail_)) + sizeof(skip_locally_optimal_paths_));
199  // @@protoc_insertion_point(copy_constructor:operations_research.ConstraintSolverParameters)
200 }
201 
202 inline void ConstraintSolverParameters::SharedCtor() {
203 profile_file_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
204 ::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
205  reinterpret_cast<char*>(&compress_trail_) - reinterpret_cast<char*>(this)),
206  0, static_cast<size_t>(reinterpret_cast<char*>(&skip_locally_optimal_paths_) -
207  reinterpret_cast<char*>(&compress_trail_)) + sizeof(skip_locally_optimal_paths_));
208 }
209 
211  // @@protoc_insertion_point(destructor:operations_research.ConstraintSolverParameters)
212  if (GetArenaForAllocation() != nullptr) return;
213  SharedDtor();
214  _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
215 }
216 
217 inline void ConstraintSolverParameters::SharedDtor() {
218  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
219  profile_file_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
220 }
221 
222 void ConstraintSolverParameters::ArenaDtor(void* object) {
223  ConstraintSolverParameters* _this = reinterpret_cast< ConstraintSolverParameters* >(object);
224  (void)_this;
225 }
226 void ConstraintSolverParameters::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
227 }
228 void ConstraintSolverParameters::SetCachedSize(int size) const {
229  _cached_size_.Set(size);
230 }
231 
233 // @@protoc_insertion_point(message_clear_start:operations_research.ConstraintSolverParameters)
234  ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
235  // Prevent compiler warnings about cached_has_bits being unused
236  (void) cached_has_bits;
237 
238  profile_file_.ClearToEmpty();
239  ::memset(&compress_trail_, 0, static_cast<size_t>(
240  reinterpret_cast<char*>(&skip_locally_optimal_paths_) -
241  reinterpret_cast<char*>(&compress_trail_)) + sizeof(skip_locally_optimal_paths_));
242  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
243 }
244 
245 const char* ConstraintSolverParameters::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
246 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
247  while (!ctx->Done(&ptr)) {
248  ::PROTOBUF_NAMESPACE_ID::uint32 tag;
249  ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
250  switch (tag >> 3) {
251  // .operations_research.ConstraintSolverParameters.TrailCompression compress_trail = 1;
252  case 1:
253  if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) {
254  ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
255  CHK_(ptr);
256  _internal_set_compress_trail(static_cast<::operations_research::ConstraintSolverParameters_TrailCompression>(val));
257  } else goto handle_unusual;
258  continue;
259  // int32 trail_block_size = 2;
260  case 2:
261  if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) {
262  trail_block_size_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
263  CHK_(ptr);
264  } else goto handle_unusual;
265  continue;
266  // int32 array_split_size = 3;
267  case 3:
268  if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) {
269  array_split_size_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
270  CHK_(ptr);
271  } else goto handle_unusual;
272  continue;
273  // bool store_names = 4;
274  case 4:
275  if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) {
276  store_names_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
277  CHK_(ptr);
278  } else goto handle_unusual;
279  continue;
280  // bool name_cast_variables = 5;
281  case 5:
282  if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) {
283  name_cast_variables_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
284  CHK_(ptr);
285  } else goto handle_unusual;
286  continue;
287  // bool name_all_variables = 6;
288  case 6:
289  if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) {
290  name_all_variables_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
291  CHK_(ptr);
292  } else goto handle_unusual;
293  continue;
294  // bool profile_propagation = 7;
295  case 7:
296  if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 56)) {
297  profile_propagation_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
298  CHK_(ptr);
299  } else goto handle_unusual;
300  continue;
301  // string profile_file = 8;
302  case 8:
303  if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 66)) {
304  auto str = _internal_mutable_profile_file();
305  ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
306  CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "operations_research.ConstraintSolverParameters.profile_file"));
307  CHK_(ptr);
308  } else goto handle_unusual;
309  continue;
310  // bool trace_propagation = 9;
311  case 9:
312  if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 72)) {
313  trace_propagation_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
314  CHK_(ptr);
315  } else goto handle_unusual;
316  continue;
317  // bool trace_search = 10;
318  case 10:
319  if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 80)) {
320  trace_search_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
321  CHK_(ptr);
322  } else goto handle_unusual;
323  continue;
324  // bool print_model = 11;
325  case 11:
326  if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 88)) {
327  print_model_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
328  CHK_(ptr);
329  } else goto handle_unusual;
330  continue;
331  // bool print_model_stats = 12;
332  case 12:
333  if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 96)) {
334  print_model_stats_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
335  CHK_(ptr);
336  } else goto handle_unusual;
337  continue;
338  // bool print_added_constraints = 13;
339  case 13:
340  if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 104)) {
341  print_added_constraints_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
342  CHK_(ptr);
343  } else goto handle_unusual;
344  continue;
345  // bool disable_solve = 15;
346  case 15:
347  if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 120)) {
348  disable_solve_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
349  CHK_(ptr);
350  } else goto handle_unusual;
351  continue;
352  // bool profile_local_search = 16;
353  case 16:
354  if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 128)) {
355  profile_local_search_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
356  CHK_(ptr);
357  } else goto handle_unusual;
358  continue;
359  // bool print_local_search_profile = 17;
360  case 17:
361  if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 136)) {
362  print_local_search_profile_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
363  CHK_(ptr);
364  } else goto handle_unusual;
365  continue;
366  // bool use_small_table = 101;
367  case 101:
368  if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) {
369  use_small_table_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
370  CHK_(ptr);
371  } else goto handle_unusual;
372  continue;
373  // bool use_cumulative_edge_finder = 105;
374  case 105:
375  if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 72)) {
376  use_cumulative_edge_finder_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
377  CHK_(ptr);
378  } else goto handle_unusual;
379  continue;
380  // bool use_cumulative_time_table = 106;
381  case 106:
382  if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 80)) {
383  use_cumulative_time_table_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
384  CHK_(ptr);
385  } else goto handle_unusual;
386  continue;
387  // bool use_sequence_high_demand_tasks = 107;
388  case 107:
389  if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 88)) {
390  use_sequence_high_demand_tasks_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
391  CHK_(ptr);
392  } else goto handle_unusual;
393  continue;
394  // bool use_all_possible_disjunctions = 108;
395  case 108:
396  if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 96)) {
397  use_all_possible_disjunctions_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
398  CHK_(ptr);
399  } else goto handle_unusual;
400  continue;
401  // int32 max_edge_finder_size = 109;
402  case 109:
403  if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 104)) {
404  max_edge_finder_size_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
405  CHK_(ptr);
406  } else goto handle_unusual;
407  continue;
408  // bool diffn_use_cumulative = 110;
409  case 110:
410  if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 112)) {
411  diffn_use_cumulative_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
412  CHK_(ptr);
413  } else goto handle_unusual;
414  continue;
415  // bool use_element_rmq = 111;
416  case 111:
417  if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 120)) {
418  use_element_rmq_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
419  CHK_(ptr);
420  } else goto handle_unusual;
421  continue;
422  // bool use_cumulative_time_table_sync = 112;
423  case 112:
424  if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 128)) {
425  use_cumulative_time_table_sync_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
426  CHK_(ptr);
427  } else goto handle_unusual;
428  continue;
429  // bool skip_locally_optimal_paths = 113;
430  case 113:
431  if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 136)) {
432  skip_locally_optimal_paths_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
433  CHK_(ptr);
434  } else goto handle_unusual;
435  continue;
436  // int32 check_solution_period = 114;
437  case 114:
438  if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 144)) {
439  check_solution_period_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
440  CHK_(ptr);
441  } else goto handle_unusual;
442  continue;
443  default: {
444  handle_unusual:
445  if ((tag == 0) || ((tag & 7) == 4)) {
446  CHK_(ptr);
447  ctx->SetLastTag(tag);
448  goto success;
449  }
450  ptr = UnknownFieldParse(tag,
451  _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
452  ptr, ctx);
453  CHK_(ptr != nullptr);
454  continue;
455  }
456  } // switch
457  } // while
458 success:
459  return ptr;
460 failure:
461  ptr = nullptr;
462  goto success;
463 #undef CHK_
464 }
465 
466 ::PROTOBUF_NAMESPACE_ID::uint8* ConstraintSolverParameters::_InternalSerialize(
467  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
468  // @@protoc_insertion_point(serialize_to_array_start:operations_research.ConstraintSolverParameters)
469  ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
470  (void) cached_has_bits;
471 
472  // .operations_research.ConstraintSolverParameters.TrailCompression compress_trail = 1;
473  if (this->_internal_compress_trail() != 0) {
474  target = stream->EnsureSpace(target);
475  target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
476  1, this->_internal_compress_trail(), target);
477  }
478 
479  // int32 trail_block_size = 2;
480  if (this->_internal_trail_block_size() != 0) {
481  target = stream->EnsureSpace(target);
482  target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(2, this->_internal_trail_block_size(), target);
483  }
484 
485  // int32 array_split_size = 3;
486  if (this->_internal_array_split_size() != 0) {
487  target = stream->EnsureSpace(target);
488  target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(3, this->_internal_array_split_size(), target);
489  }
490 
491  // bool store_names = 4;
492  if (this->_internal_store_names() != 0) {
493  target = stream->EnsureSpace(target);
494  target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(4, this->_internal_store_names(), target);
495  }
496 
497  // bool name_cast_variables = 5;
498  if (this->_internal_name_cast_variables() != 0) {
499  target = stream->EnsureSpace(target);
500  target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(5, this->_internal_name_cast_variables(), target);
501  }
502 
503  // bool name_all_variables = 6;
504  if (this->_internal_name_all_variables() != 0) {
505  target = stream->EnsureSpace(target);
506  target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(6, this->_internal_name_all_variables(), target);
507  }
508 
509  // bool profile_propagation = 7;
510  if (this->_internal_profile_propagation() != 0) {
511  target = stream->EnsureSpace(target);
512  target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(7, this->_internal_profile_propagation(), target);
513  }
514 
515  // string profile_file = 8;
516  if (!this->_internal_profile_file().empty()) {
517  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
518  this->_internal_profile_file().data(), static_cast<int>(this->_internal_profile_file().length()),
519  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
520  "operations_research.ConstraintSolverParameters.profile_file");
521  target = stream->WriteStringMaybeAliased(
522  8, this->_internal_profile_file(), target);
523  }
524 
525  // bool trace_propagation = 9;
526  if (this->_internal_trace_propagation() != 0) {
527  target = stream->EnsureSpace(target);
528  target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(9, this->_internal_trace_propagation(), target);
529  }
530 
531  // bool trace_search = 10;
532  if (this->_internal_trace_search() != 0) {
533  target = stream->EnsureSpace(target);
534  target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(10, this->_internal_trace_search(), target);
535  }
536 
537  // bool print_model = 11;
538  if (this->_internal_print_model() != 0) {
539  target = stream->EnsureSpace(target);
540  target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(11, this->_internal_print_model(), target);
541  }
542 
543  // bool print_model_stats = 12;
544  if (this->_internal_print_model_stats() != 0) {
545  target = stream->EnsureSpace(target);
546  target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(12, this->_internal_print_model_stats(), target);
547  }
548 
549  // bool print_added_constraints = 13;
550  if (this->_internal_print_added_constraints() != 0) {
551  target = stream->EnsureSpace(target);
552  target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(13, this->_internal_print_added_constraints(), target);
553  }
554 
555  // bool disable_solve = 15;
556  if (this->_internal_disable_solve() != 0) {
557  target = stream->EnsureSpace(target);
558  target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(15, this->_internal_disable_solve(), target);
559  }
560 
561  // bool profile_local_search = 16;
562  if (this->_internal_profile_local_search() != 0) {
563  target = stream->EnsureSpace(target);
564  target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(16, this->_internal_profile_local_search(), target);
565  }
566 
567  // bool print_local_search_profile = 17;
568  if (this->_internal_print_local_search_profile() != 0) {
569  target = stream->EnsureSpace(target);
570  target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(17, this->_internal_print_local_search_profile(), target);
571  }
572 
573  // bool use_small_table = 101;
574  if (this->_internal_use_small_table() != 0) {
575  target = stream->EnsureSpace(target);
576  target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(101, this->_internal_use_small_table(), target);
577  }
578 
579  // bool use_cumulative_edge_finder = 105;
580  if (this->_internal_use_cumulative_edge_finder() != 0) {
581  target = stream->EnsureSpace(target);
582  target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(105, this->_internal_use_cumulative_edge_finder(), target);
583  }
584 
585  // bool use_cumulative_time_table = 106;
586  if (this->_internal_use_cumulative_time_table() != 0) {
587  target = stream->EnsureSpace(target);
588  target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(106, this->_internal_use_cumulative_time_table(), target);
589  }
590 
591  // bool use_sequence_high_demand_tasks = 107;
592  if (this->_internal_use_sequence_high_demand_tasks() != 0) {
593  target = stream->EnsureSpace(target);
594  target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(107, this->_internal_use_sequence_high_demand_tasks(), target);
595  }
596 
597  // bool use_all_possible_disjunctions = 108;
598  if (this->_internal_use_all_possible_disjunctions() != 0) {
599  target = stream->EnsureSpace(target);
600  target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(108, this->_internal_use_all_possible_disjunctions(), target);
601  }
602 
603  // int32 max_edge_finder_size = 109;
604  if (this->_internal_max_edge_finder_size() != 0) {
605  target = stream->EnsureSpace(target);
606  target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(109, this->_internal_max_edge_finder_size(), target);
607  }
608 
609  // bool diffn_use_cumulative = 110;
610  if (this->_internal_diffn_use_cumulative() != 0) {
611  target = stream->EnsureSpace(target);
612  target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(110, this->_internal_diffn_use_cumulative(), target);
613  }
614 
615  // bool use_element_rmq = 111;
616  if (this->_internal_use_element_rmq() != 0) {
617  target = stream->EnsureSpace(target);
618  target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(111, this->_internal_use_element_rmq(), target);
619  }
620 
621  // bool use_cumulative_time_table_sync = 112;
622  if (this->_internal_use_cumulative_time_table_sync() != 0) {
623  target = stream->EnsureSpace(target);
624  target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(112, this->_internal_use_cumulative_time_table_sync(), target);
625  }
626 
627  // bool skip_locally_optimal_paths = 113;
628  if (this->_internal_skip_locally_optimal_paths() != 0) {
629  target = stream->EnsureSpace(target);
630  target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(113, this->_internal_skip_locally_optimal_paths(), target);
631  }
632 
633  // int32 check_solution_period = 114;
634  if (this->_internal_check_solution_period() != 0) {
635  target = stream->EnsureSpace(target);
636  target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(114, this->_internal_check_solution_period(), target);
637  }
638 
639  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
640  target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
641  _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
642  }
643  // @@protoc_insertion_point(serialize_to_array_end:operations_research.ConstraintSolverParameters)
644  return target;
645 }
646 
648 // @@protoc_insertion_point(message_byte_size_start:operations_research.ConstraintSolverParameters)
649  size_t total_size = 0;
650 
651  ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
652  // Prevent compiler warnings about cached_has_bits being unused
653  (void) cached_has_bits;
654 
655  // string profile_file = 8;
656  if (!this->_internal_profile_file().empty()) {
657  total_size += 1 +
658  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
659  this->_internal_profile_file());
660  }
661 
662  // .operations_research.ConstraintSolverParameters.TrailCompression compress_trail = 1;
663  if (this->_internal_compress_trail() != 0) {
664  total_size += 1 +
665  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_compress_trail());
666  }
667 
668  // int32 trail_block_size = 2;
669  if (this->_internal_trail_block_size() != 0) {
670  total_size += 1 +
671  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size(
672  this->_internal_trail_block_size());
673  }
674 
675  // int32 array_split_size = 3;
676  if (this->_internal_array_split_size() != 0) {
677  total_size += 1 +
678  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size(
679  this->_internal_array_split_size());
680  }
681 
682  // bool store_names = 4;
683  if (this->_internal_store_names() != 0) {
684  total_size += 1 + 1;
685  }
686 
687  // bool name_cast_variables = 5;
688  if (this->_internal_name_cast_variables() != 0) {
689  total_size += 1 + 1;
690  }
691 
692  // bool name_all_variables = 6;
693  if (this->_internal_name_all_variables() != 0) {
694  total_size += 1 + 1;
695  }
696 
697  // bool profile_propagation = 7;
698  if (this->_internal_profile_propagation() != 0) {
699  total_size += 1 + 1;
700  }
701 
702  // bool print_model = 11;
703  if (this->_internal_print_model() != 0) {
704  total_size += 1 + 1;
705  }
706 
707  // bool print_model_stats = 12;
708  if (this->_internal_print_model_stats() != 0) {
709  total_size += 1 + 1;
710  }
711 
712  // bool print_added_constraints = 13;
713  if (this->_internal_print_added_constraints() != 0) {
714  total_size += 1 + 1;
715  }
716 
717  // bool disable_solve = 15;
718  if (this->_internal_disable_solve() != 0) {
719  total_size += 1 + 1;
720  }
721 
722  // bool profile_local_search = 16;
723  if (this->_internal_profile_local_search() != 0) {
724  total_size += 2 + 1;
725  }
726 
727  // bool print_local_search_profile = 17;
728  if (this->_internal_print_local_search_profile() != 0) {
729  total_size += 2 + 1;
730  }
731 
732  // bool trace_propagation = 9;
733  if (this->_internal_trace_propagation() != 0) {
734  total_size += 1 + 1;
735  }
736 
737  // bool trace_search = 10;
738  if (this->_internal_trace_search() != 0) {
739  total_size += 1 + 1;
740  }
741 
742  // int32 check_solution_period = 114;
743  if (this->_internal_check_solution_period() != 0) {
744  total_size += 2 +
745  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size(
746  this->_internal_check_solution_period());
747  }
748 
749  // bool use_small_table = 101;
750  if (this->_internal_use_small_table() != 0) {
751  total_size += 2 + 1;
752  }
753 
754  // bool use_cumulative_edge_finder = 105;
755  if (this->_internal_use_cumulative_edge_finder() != 0) {
756  total_size += 2 + 1;
757  }
758 
759  // bool use_cumulative_time_table = 106;
760  if (this->_internal_use_cumulative_time_table() != 0) {
761  total_size += 2 + 1;
762  }
763 
764  // bool use_cumulative_time_table_sync = 112;
765  if (this->_internal_use_cumulative_time_table_sync() != 0) {
766  total_size += 2 + 1;
767  }
768 
769  // int32 max_edge_finder_size = 109;
770  if (this->_internal_max_edge_finder_size() != 0) {
771  total_size += 2 +
772  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size(
773  this->_internal_max_edge_finder_size());
774  }
775 
776  // bool use_sequence_high_demand_tasks = 107;
777  if (this->_internal_use_sequence_high_demand_tasks() != 0) {
778  total_size += 2 + 1;
779  }
780 
781  // bool use_all_possible_disjunctions = 108;
782  if (this->_internal_use_all_possible_disjunctions() != 0) {
783  total_size += 2 + 1;
784  }
785 
786  // bool diffn_use_cumulative = 110;
787  if (this->_internal_diffn_use_cumulative() != 0) {
788  total_size += 2 + 1;
789  }
790 
791  // bool use_element_rmq = 111;
792  if (this->_internal_use_element_rmq() != 0) {
793  total_size += 2 + 1;
794  }
795 
796  // bool skip_locally_optimal_paths = 113;
797  if (this->_internal_skip_locally_optimal_paths() != 0) {
798  total_size += 2 + 1;
799  }
800 
801  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
802  return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
803  _internal_metadata_, total_size, &_cached_size_);
804  }
805  int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
806  SetCachedSize(cached_size);
807  return total_size;
808 }
809 
810 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ConstraintSolverParameters::_class_data_ = {
811  ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
812  ConstraintSolverParameters::MergeImpl
813 };
814 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ConstraintSolverParameters::GetClassData() const { return &_class_data_; }
815 
816 void ConstraintSolverParameters::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to,
817  const ::PROTOBUF_NAMESPACE_ID::Message&from) {
818  static_cast<ConstraintSolverParameters *>(to)->MergeFrom(
819  static_cast<const ConstraintSolverParameters &>(from));
820 }
821 
822 
824 // @@protoc_insertion_point(class_specific_merge_from_start:operations_research.ConstraintSolverParameters)
825  GOOGLE_DCHECK_NE(&from, this);
826  ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
827  (void) cached_has_bits;
828 
829  if (!from._internal_profile_file().empty()) {
830  _internal_set_profile_file(from._internal_profile_file());
831  }
832  if (from._internal_compress_trail() != 0) {
833  _internal_set_compress_trail(from._internal_compress_trail());
834  }
835  if (from._internal_trail_block_size() != 0) {
836  _internal_set_trail_block_size(from._internal_trail_block_size());
837  }
838  if (from._internal_array_split_size() != 0) {
839  _internal_set_array_split_size(from._internal_array_split_size());
840  }
841  if (from._internal_store_names() != 0) {
842  _internal_set_store_names(from._internal_store_names());
843  }
844  if (from._internal_name_cast_variables() != 0) {
845  _internal_set_name_cast_variables(from._internal_name_cast_variables());
846  }
847  if (from._internal_name_all_variables() != 0) {
848  _internal_set_name_all_variables(from._internal_name_all_variables());
849  }
850  if (from._internal_profile_propagation() != 0) {
851  _internal_set_profile_propagation(from._internal_profile_propagation());
852  }
853  if (from._internal_print_model() != 0) {
854  _internal_set_print_model(from._internal_print_model());
855  }
856  if (from._internal_print_model_stats() != 0) {
857  _internal_set_print_model_stats(from._internal_print_model_stats());
858  }
859  if (from._internal_print_added_constraints() != 0) {
860  _internal_set_print_added_constraints(from._internal_print_added_constraints());
861  }
862  if (from._internal_disable_solve() != 0) {
863  _internal_set_disable_solve(from._internal_disable_solve());
864  }
865  if (from._internal_profile_local_search() != 0) {
866  _internal_set_profile_local_search(from._internal_profile_local_search());
867  }
868  if (from._internal_print_local_search_profile() != 0) {
869  _internal_set_print_local_search_profile(from._internal_print_local_search_profile());
870  }
871  if (from._internal_trace_propagation() != 0) {
872  _internal_set_trace_propagation(from._internal_trace_propagation());
873  }
874  if (from._internal_trace_search() != 0) {
875  _internal_set_trace_search(from._internal_trace_search());
876  }
877  if (from._internal_check_solution_period() != 0) {
878  _internal_set_check_solution_period(from._internal_check_solution_period());
879  }
880  if (from._internal_use_small_table() != 0) {
881  _internal_set_use_small_table(from._internal_use_small_table());
882  }
883  if (from._internal_use_cumulative_edge_finder() != 0) {
884  _internal_set_use_cumulative_edge_finder(from._internal_use_cumulative_edge_finder());
885  }
886  if (from._internal_use_cumulative_time_table() != 0) {
887  _internal_set_use_cumulative_time_table(from._internal_use_cumulative_time_table());
888  }
889  if (from._internal_use_cumulative_time_table_sync() != 0) {
890  _internal_set_use_cumulative_time_table_sync(from._internal_use_cumulative_time_table_sync());
891  }
892  if (from._internal_max_edge_finder_size() != 0) {
893  _internal_set_max_edge_finder_size(from._internal_max_edge_finder_size());
894  }
895  if (from._internal_use_sequence_high_demand_tasks() != 0) {
896  _internal_set_use_sequence_high_demand_tasks(from._internal_use_sequence_high_demand_tasks());
897  }
898  if (from._internal_use_all_possible_disjunctions() != 0) {
899  _internal_set_use_all_possible_disjunctions(from._internal_use_all_possible_disjunctions());
900  }
901  if (from._internal_diffn_use_cumulative() != 0) {
902  _internal_set_diffn_use_cumulative(from._internal_diffn_use_cumulative());
903  }
904  if (from._internal_use_element_rmq() != 0) {
905  _internal_set_use_element_rmq(from._internal_use_element_rmq());
906  }
907  if (from._internal_skip_locally_optimal_paths() != 0) {
908  _internal_set_skip_locally_optimal_paths(from._internal_skip_locally_optimal_paths());
909  }
910  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
911 }
912 
914 // @@protoc_insertion_point(class_specific_copy_from_start:operations_research.ConstraintSolverParameters)
915  if (&from == this) return;
916  Clear();
917  MergeFrom(from);
918 }
919 
921  return true;
922 }
923 
924 void ConstraintSolverParameters::InternalSwap(ConstraintSolverParameters* other) {
925  using std::swap;
926  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
927  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
928  &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
929  &profile_file_, GetArenaForAllocation(),
930  &other->profile_file_, other->GetArenaForAllocation()
931  );
932  ::PROTOBUF_NAMESPACE_ID::internal::memswap<
933  PROTOBUF_FIELD_OFFSET(ConstraintSolverParameters, skip_locally_optimal_paths_)
934  + sizeof(ConstraintSolverParameters::skip_locally_optimal_paths_)
935  - PROTOBUF_FIELD_OFFSET(ConstraintSolverParameters, compress_trail_)>(
936  reinterpret_cast<char*>(&compress_trail_),
937  reinterpret_cast<char*>(&other->compress_trail_));
938 }
939 
940 ::PROTOBUF_NAMESPACE_ID::Metadata ConstraintSolverParameters::GetMetadata() const {
941  return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
944 }
945 
946 // @@protoc_insertion_point(namespace_scope)
947 } // namespace operations_research
948 PROTOBUF_NAMESPACE_OPEN
949 template<> PROTOBUF_NOINLINE ::operations_research::ConstraintSolverParameters* Arena::CreateMaybeMessage< ::operations_research::ConstraintSolverParameters >(Arena* arena) {
950  return Arena::CreateMessageInternal< ::operations_research::ConstraintSolverParameters >(arena);
951 }
952 PROTOBUF_NAMESPACE_CLOSE
953 
954 // @@protoc_insertion_point(global_scope)
955 #include <google/protobuf/port_undef.inc>
void CopyFrom(const ConstraintSolverParameters &from)
const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_ortools_2fconstraint_5fsolver_2fsolver_5fparameters_2eproto::offsets [] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void swap(IdMap< K, V > &a, IdMap< K, V > &b)
Definition: id_map.h:263
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ortools_2fconstraint_5fsolver_2fsolver_5fparameters_2eproto
::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_ortools_2fconstraint_5fsolver_2fsolver_5fparameters_2eproto_once
PROTOBUF_ATTRIBUTE_WEAKconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable * descriptor_table_ortools_2fconstraint_5fsolver_2fsolver_5fparameters_2eproto_getter()
::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_ortools_2fconstraint_5fsolver_2fsolver_5fparameters_2eproto[1]
static constexpr TrailCompression NO_COMPRESSION
::PROTOBUF_NAMESPACE_ID::uint8 * _InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const ** file_level_service_descriptors_ortools_2fconstraint_5fsolver_2fsolver_5fparameters_2eproto
static constexpr TrailCompression TrailCompression_MAX
bool ConstraintSolverParameters_TrailCompression_IsValid(int value)
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ConstraintSolverParametersDefaultTypeInternal _ConstraintSolverParameters_default_instance_
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * ConstraintSolverParameters_TrailCompression_descriptor()
void MergeFrom(const ConstraintSolverParameters &from)
Collection of objects used to extend the Constraint Solver library.
#define CHK_(x)
PROTOBUF_NAMESPACE_OPEN PROTOBUF_NOINLINE ::operations_research::ConstraintSolverParameters * Arena::CreateMaybeMessage< ::operations_research::ConstraintSolverParameters >(Arena *arena)
static constexpr ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema * schemas
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
int64_t value
::PROTOBUF_NAMESPACE_ID::Message const *const file_default_instances[]
static constexpr TrailCompression COMPRESS_WITH_ZLIB
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * file_level_enum_descriptors_ortools_2fconstraint_5fsolver_2fsolver_5fparameters_2eproto[1]
static constexpr TrailCompression TrailCompression_MIN