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