OR-Tools  9.1
solver_parameters.pb.h
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 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ortools_2fconstraint_5fsolver_2fsolver_5fparameters_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ortools_2fconstraint_5fsolver_2fsolver_5fparameters_2eproto
6 
7 #include <limits>
8 #include <string>
9 
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3017000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
14 #error your headers.
15 #endif
16 #if 3017003 < PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
20 #endif
21 
22 #include <google/protobuf/port_undef.inc>
23 #include <google/protobuf/io/coded_stream.h>
24 #include <google/protobuf/arena.h>
25 #include <google/protobuf/arenastring.h>
26 #include <google/protobuf/generated_message_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/metadata_lite.h>
29 #include <google/protobuf/generated_message_reflection.h>
30 #include <google/protobuf/message.h>
31 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
32 #include <google/protobuf/extension_set.h> // IWYU pragma: export
33 #include <google/protobuf/generated_enum_reflection.h>
34 #include <google/protobuf/unknown_field_set.h>
35 // @@protoc_insertion_point(includes)
36 #include <google/protobuf/port_def.inc>
37 #define PROTOBUF_INTERNAL_EXPORT_ortools_2fconstraint_5fsolver_2fsolver_5fparameters_2eproto
38 PROTOBUF_NAMESPACE_OPEN
39 namespace internal {
40 class AnyMetadata;
41 } // namespace internal
42 PROTOBUF_NAMESPACE_CLOSE
43 
44 // Internal implementation detail -- do not use these members.
46  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
47  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
48  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
49  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
50  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
51  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
52  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
53  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
54  static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
55 };
56 extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ortools_2fconstraint_5fsolver_2fsolver_5fparameters_2eproto;
57 namespace operations_research {
58 class ConstraintSolverParameters;
59 struct ConstraintSolverParametersDefaultTypeInternal;
60 extern ConstraintSolverParametersDefaultTypeInternal _ConstraintSolverParameters_default_instance_;
61 } // namespace operations_research
62 PROTOBUF_NAMESPACE_OPEN
63 template<> ::operations_research::ConstraintSolverParameters* Arena::CreateMaybeMessage<::operations_research::ConstraintSolverParameters>(Arena*);
64 PROTOBUF_NAMESPACE_CLOSE
65 namespace operations_research {
66 
72 };
77 
78 const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ConstraintSolverParameters_TrailCompression_descriptor();
79 template<typename T>
80 inline const std::string& ConstraintSolverParameters_TrailCompression_Name(T enum_t_value) {
83  "Incorrect type passed to function ConstraintSolverParameters_TrailCompression_Name.");
84  return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
86 }
88  ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ConstraintSolverParameters_TrailCompression* value) {
89  return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<ConstraintSolverParameters_TrailCompression>(
91 }
92 // ===================================================================
93 
95  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:operations_research.ConstraintSolverParameters) */ {
96  public:
98  ~ConstraintSolverParameters() override;
99  explicit constexpr ConstraintSolverParameters(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
100 
104  *this = ::std::move(from);
105  }
106 
108  CopyFrom(from);
109  return *this;
110  }
112  if (this == &from) return *this;
113  if (GetOwningArena() == from.GetOwningArena()) {
114  InternalSwap(&from);
115  } else {
116  CopyFrom(from);
117  }
118  return *this;
119  }
120 
121  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
122  return GetDescriptor();
123  }
124  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
125  return default_instance().GetMetadata().descriptor;
126  }
127  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
128  return default_instance().GetMetadata().reflection;
129  }
131  return *internal_default_instance();
132  }
134  return reinterpret_cast<const ConstraintSolverParameters*>(
136  }
137  static constexpr int kIndexInFileMessages =
138  0;
139 
141  a.Swap(&b);
142  }
143  inline void Swap(ConstraintSolverParameters* other) {
144  if (other == this) return;
145  if (GetOwningArena() == other->GetOwningArena()) {
146  InternalSwap(other);
147  } else {
148  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
149  }
150  }
152  if (other == this) return;
153  GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
154  InternalSwap(other);
155  }
156 
157  // implements Message ----------------------------------------------
158 
159  inline ConstraintSolverParameters* New() const final {
160  return new ConstraintSolverParameters();
161  }
162 
163  ConstraintSolverParameters* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
164  return CreateMaybeMessage<ConstraintSolverParameters>(arena);
165  }
166  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
167  void CopyFrom(const ConstraintSolverParameters& from);
168  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
169  void MergeFrom(const ConstraintSolverParameters& from);
170  private:
171  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to, const ::PROTOBUF_NAMESPACE_ID::Message&from);
172  public:
173  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
174  bool IsInitialized() const final;
175 
176  size_t ByteSizeLong() const final;
177  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
178  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
179  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
180  int GetCachedSize() const final { return _cached_size_.Get(); }
181 
182  private:
183  void SharedCtor();
184  void SharedDtor();
185  void SetCachedSize(int size) const final;
186  void InternalSwap(ConstraintSolverParameters* other);
187  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
188  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
189  return "operations_research.ConstraintSolverParameters";
190  }
191  protected:
192  explicit ConstraintSolverParameters(::PROTOBUF_NAMESPACE_ID::Arena* arena,
193  bool is_message_owned = false);
194  private:
195  static void ArenaDtor(void* object);
196  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
197  public:
198 
199  static const ClassData _class_data_;
200  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
201 
202  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
203 
204  // nested types ----------------------------------------------------
205 
207  static constexpr TrailCompression NO_COMPRESSION =
211  static inline bool TrailCompression_IsValid(int value) {
213  }
218  static constexpr int TrailCompression_ARRAYSIZE =
220  static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
223  }
224  template<typename T>
225  static inline const std::string& TrailCompression_Name(T enum_t_value) {
228  "Incorrect type passed to function TrailCompression_Name.");
230  }
231  static inline bool TrailCompression_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
234  }
235 
236  // accessors -------------------------------------------------------
237 
238  enum : int {
266  };
267  // string profile_file = 8;
268  void clear_profile_file();
269  const std::string& profile_file() const;
270  template <typename ArgT0 = const std::string&, typename... ArgT>
271  void set_profile_file(ArgT0&& arg0, ArgT... args);
272  std::string* mutable_profile_file();
273  PROTOBUF_MUST_USE_RESULT std::string* release_profile_file();
274  void set_allocated_profile_file(std::string* profile_file);
275  private:
276  const std::string& _internal_profile_file() const;
277  inline PROTOBUF_ALWAYS_INLINE void _internal_set_profile_file(const std::string& value);
278  std::string* _internal_mutable_profile_file();
279  public:
280 
281  // .operations_research.ConstraintSolverParameters.TrailCompression compress_trail = 1;
282  void clear_compress_trail();
285  private:
287  void _internal_set_compress_trail(::operations_research::ConstraintSolverParameters_TrailCompression value);
288  public:
289 
290  // int32 trail_block_size = 2;
291  void clear_trail_block_size();
292  ::PROTOBUF_NAMESPACE_ID::int32 trail_block_size() const;
293  void set_trail_block_size(::PROTOBUF_NAMESPACE_ID::int32 value);
294  private:
295  ::PROTOBUF_NAMESPACE_ID::int32 _internal_trail_block_size() const;
296  void _internal_set_trail_block_size(::PROTOBUF_NAMESPACE_ID::int32 value);
297  public:
298 
299  // int32 array_split_size = 3;
300  void clear_array_split_size();
301  ::PROTOBUF_NAMESPACE_ID::int32 array_split_size() const;
302  void set_array_split_size(::PROTOBUF_NAMESPACE_ID::int32 value);
303  private:
304  ::PROTOBUF_NAMESPACE_ID::int32 _internal_array_split_size() const;
305  void _internal_set_array_split_size(::PROTOBUF_NAMESPACE_ID::int32 value);
306  public:
307 
308  // bool store_names = 4;
309  void clear_store_names();
310  bool store_names() const;
311  void set_store_names(bool value);
312  private:
313  bool _internal_store_names() const;
314  void _internal_set_store_names(bool value);
315  public:
316 
317  // bool name_cast_variables = 5;
319  bool name_cast_variables() const;
320  void set_name_cast_variables(bool value);
321  private:
322  bool _internal_name_cast_variables() const;
323  void _internal_set_name_cast_variables(bool value);
324  public:
325 
326  // bool name_all_variables = 6;
328  bool name_all_variables() const;
329  void set_name_all_variables(bool value);
330  private:
331  bool _internal_name_all_variables() const;
332  void _internal_set_name_all_variables(bool value);
333  public:
334 
335  // bool profile_propagation = 7;
337  bool profile_propagation() const;
338  void set_profile_propagation(bool value);
339  private:
340  bool _internal_profile_propagation() const;
341  void _internal_set_profile_propagation(bool value);
342  public:
343 
344  // bool print_model = 11;
345  void clear_print_model();
346  bool print_model() const;
347  void set_print_model(bool value);
348  private:
349  bool _internal_print_model() const;
350  void _internal_set_print_model(bool value);
351  public:
352 
353  // bool print_model_stats = 12;
355  bool print_model_stats() const;
356  void set_print_model_stats(bool value);
357  private:
358  bool _internal_print_model_stats() const;
359  void _internal_set_print_model_stats(bool value);
360  public:
361 
362  // bool print_added_constraints = 13;
364  bool print_added_constraints() const;
366  private:
367  bool _internal_print_added_constraints() const;
368  void _internal_set_print_added_constraints(bool value);
369  public:
370 
371  // bool disable_solve = 15;
372  void clear_disable_solve();
373  bool disable_solve() const;
374  void set_disable_solve(bool value);
375  private:
376  bool _internal_disable_solve() const;
377  void _internal_set_disable_solve(bool value);
378  public:
379 
380  // bool profile_local_search = 16;
382  bool profile_local_search() const;
383  void set_profile_local_search(bool value);
384  private:
385  bool _internal_profile_local_search() const;
386  void _internal_set_profile_local_search(bool value);
387  public:
388 
389  // bool print_local_search_profile = 17;
391  bool print_local_search_profile() const;
393  private:
394  bool _internal_print_local_search_profile() const;
395  void _internal_set_print_local_search_profile(bool value);
396  public:
397 
398  // bool trace_propagation = 9;
400  bool trace_propagation() const;
401  void set_trace_propagation(bool value);
402  private:
403  bool _internal_trace_propagation() const;
404  void _internal_set_trace_propagation(bool value);
405  public:
406 
407  // bool trace_search = 10;
408  void clear_trace_search();
409  bool trace_search() const;
410  void set_trace_search(bool value);
411  private:
412  bool _internal_trace_search() const;
413  void _internal_set_trace_search(bool value);
414  public:
415 
416  // int32 check_solution_period = 114;
418  ::PROTOBUF_NAMESPACE_ID::int32 check_solution_period() const;
419  void set_check_solution_period(::PROTOBUF_NAMESPACE_ID::int32 value);
420  private:
421  ::PROTOBUF_NAMESPACE_ID::int32 _internal_check_solution_period() const;
422  void _internal_set_check_solution_period(::PROTOBUF_NAMESPACE_ID::int32 value);
423  public:
424 
425  // bool use_small_table = 101;
426  void clear_use_small_table();
427  bool use_small_table() const;
428  void set_use_small_table(bool value);
429  private:
430  bool _internal_use_small_table() const;
431  void _internal_set_use_small_table(bool value);
432  public:
433 
434  // bool use_cumulative_edge_finder = 105;
436  bool use_cumulative_edge_finder() const;
438  private:
439  bool _internal_use_cumulative_edge_finder() const;
440  void _internal_set_use_cumulative_edge_finder(bool value);
441  public:
442 
443  // bool use_cumulative_time_table = 106;
445  bool use_cumulative_time_table() const;
447  private:
448  bool _internal_use_cumulative_time_table() const;
449  void _internal_set_use_cumulative_time_table(bool value);
450  public:
451 
452  // bool use_cumulative_time_table_sync = 112;
454  bool use_cumulative_time_table_sync() const;
456  private:
457  bool _internal_use_cumulative_time_table_sync() const;
458  void _internal_set_use_cumulative_time_table_sync(bool value);
459  public:
460 
461  // int32 max_edge_finder_size = 109;
463  ::PROTOBUF_NAMESPACE_ID::int32 max_edge_finder_size() const;
464  void set_max_edge_finder_size(::PROTOBUF_NAMESPACE_ID::int32 value);
465  private:
466  ::PROTOBUF_NAMESPACE_ID::int32 _internal_max_edge_finder_size() const;
467  void _internal_set_max_edge_finder_size(::PROTOBUF_NAMESPACE_ID::int32 value);
468  public:
469 
470  // bool use_sequence_high_demand_tasks = 107;
472  bool use_sequence_high_demand_tasks() const;
474  private:
475  bool _internal_use_sequence_high_demand_tasks() const;
476  void _internal_set_use_sequence_high_demand_tasks(bool value);
477  public:
478 
479  // bool use_all_possible_disjunctions = 108;
481  bool use_all_possible_disjunctions() const;
483  private:
484  bool _internal_use_all_possible_disjunctions() const;
485  void _internal_set_use_all_possible_disjunctions(bool value);
486  public:
487 
488  // bool diffn_use_cumulative = 110;
490  bool diffn_use_cumulative() const;
491  void set_diffn_use_cumulative(bool value);
492  private:
493  bool _internal_diffn_use_cumulative() const;
494  void _internal_set_diffn_use_cumulative(bool value);
495  public:
496 
497  // bool use_element_rmq = 111;
498  void clear_use_element_rmq();
499  bool use_element_rmq() const;
500  void set_use_element_rmq(bool value);
501  private:
502  bool _internal_use_element_rmq() const;
503  void _internal_set_use_element_rmq(bool value);
504  public:
505 
506  // bool skip_locally_optimal_paths = 113;
508  bool skip_locally_optimal_paths() const;
510  private:
511  bool _internal_skip_locally_optimal_paths() const;
512  void _internal_set_skip_locally_optimal_paths(bool value);
513  public:
514 
515  // @@protoc_insertion_point(class_scope:operations_research.ConstraintSolverParameters)
516  private:
517  class _Internal;
518 
519  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
520  typedef void InternalArenaConstructable_;
521  typedef void DestructorSkippable_;
522  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr profile_file_;
523  int compress_trail_;
524  ::PROTOBUF_NAMESPACE_ID::int32 trail_block_size_;
525  ::PROTOBUF_NAMESPACE_ID::int32 array_split_size_;
526  bool store_names_;
527  bool name_cast_variables_;
528  bool name_all_variables_;
529  bool profile_propagation_;
530  bool print_model_;
531  bool print_model_stats_;
532  bool print_added_constraints_;
533  bool disable_solve_;
534  bool profile_local_search_;
535  bool print_local_search_profile_;
536  bool trace_propagation_;
537  bool trace_search_;
538  ::PROTOBUF_NAMESPACE_ID::int32 check_solution_period_;
539  bool use_small_table_;
540  bool use_cumulative_edge_finder_;
541  bool use_cumulative_time_table_;
542  bool use_cumulative_time_table_sync_;
543  ::PROTOBUF_NAMESPACE_ID::int32 max_edge_finder_size_;
544  bool use_sequence_high_demand_tasks_;
545  bool use_all_possible_disjunctions_;
546  bool diffn_use_cumulative_;
547  bool use_element_rmq_;
548  bool skip_locally_optimal_paths_;
549  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
550  friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2fsolver_5fparameters_2eproto;
551 };
552 // ===================================================================
553 
554 
555 // ===================================================================
556 
557 #ifdef __GNUC__
558  #pragma GCC diagnostic push
559  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
560 #endif // __GNUC__
561 // ConstraintSolverParameters
562 
563 // .operations_research.ConstraintSolverParameters.TrailCompression compress_trail = 1;
565  compress_trail_ = 0;
566 }
567 inline ::operations_research::ConstraintSolverParameters_TrailCompression ConstraintSolverParameters::_internal_compress_trail() const {
568  return static_cast< ::operations_research::ConstraintSolverParameters_TrailCompression >(compress_trail_);
569 }
571  // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.compress_trail)
572  return _internal_compress_trail();
573 }
574 inline void ConstraintSolverParameters::_internal_set_compress_trail(::operations_research::ConstraintSolverParameters_TrailCompression value) {
575 
576  compress_trail_ = value;
577 }
579  _internal_set_compress_trail(value);
580  // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.compress_trail)
581 }
582 
583 // int32 trail_block_size = 2;
585  trail_block_size_ = 0;
586 }
587 inline ::PROTOBUF_NAMESPACE_ID::int32 ConstraintSolverParameters::_internal_trail_block_size() const {
588  return trail_block_size_;
589 }
590 inline ::PROTOBUF_NAMESPACE_ID::int32 ConstraintSolverParameters::trail_block_size() const {
591  // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.trail_block_size)
592  return _internal_trail_block_size();
593 }
594 inline void ConstraintSolverParameters::_internal_set_trail_block_size(::PROTOBUF_NAMESPACE_ID::int32 value) {
595 
596  trail_block_size_ = value;
597 }
598 inline void ConstraintSolverParameters::set_trail_block_size(::PROTOBUF_NAMESPACE_ID::int32 value) {
599  _internal_set_trail_block_size(value);
600  // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.trail_block_size)
601 }
602 
603 // int32 array_split_size = 3;
605  array_split_size_ = 0;
606 }
607 inline ::PROTOBUF_NAMESPACE_ID::int32 ConstraintSolverParameters::_internal_array_split_size() const {
608  return array_split_size_;
609 }
610 inline ::PROTOBUF_NAMESPACE_ID::int32 ConstraintSolverParameters::array_split_size() const {
611  // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.array_split_size)
612  return _internal_array_split_size();
613 }
614 inline void ConstraintSolverParameters::_internal_set_array_split_size(::PROTOBUF_NAMESPACE_ID::int32 value) {
615 
616  array_split_size_ = value;
617 }
618 inline void ConstraintSolverParameters::set_array_split_size(::PROTOBUF_NAMESPACE_ID::int32 value) {
619  _internal_set_array_split_size(value);
620  // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.array_split_size)
621 }
622 
623 // bool store_names = 4;
625  store_names_ = false;
626 }
627 inline bool ConstraintSolverParameters::_internal_store_names() const {
628  return store_names_;
629 }
631  // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.store_names)
632  return _internal_store_names();
633 }
634 inline void ConstraintSolverParameters::_internal_set_store_names(bool value) {
635 
636  store_names_ = value;
637 }
639  _internal_set_store_names(value);
640  // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.store_names)
641 }
642 
643 // bool name_cast_variables = 5;
645  name_cast_variables_ = false;
646 }
647 inline bool ConstraintSolverParameters::_internal_name_cast_variables() const {
648  return name_cast_variables_;
649 }
651  // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.name_cast_variables)
652  return _internal_name_cast_variables();
653 }
654 inline void ConstraintSolverParameters::_internal_set_name_cast_variables(bool value) {
655 
656  name_cast_variables_ = value;
657 }
659  _internal_set_name_cast_variables(value);
660  // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.name_cast_variables)
661 }
662 
663 // bool name_all_variables = 6;
665  name_all_variables_ = false;
666 }
667 inline bool ConstraintSolverParameters::_internal_name_all_variables() const {
668  return name_all_variables_;
669 }
671  // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.name_all_variables)
672  return _internal_name_all_variables();
673 }
674 inline void ConstraintSolverParameters::_internal_set_name_all_variables(bool value) {
675 
676  name_all_variables_ = value;
677 }
679  _internal_set_name_all_variables(value);
680  // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.name_all_variables)
681 }
682 
683 // bool profile_propagation = 7;
685  profile_propagation_ = false;
686 }
687 inline bool ConstraintSolverParameters::_internal_profile_propagation() const {
688  return profile_propagation_;
689 }
691  // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.profile_propagation)
692  return _internal_profile_propagation();
693 }
694 inline void ConstraintSolverParameters::_internal_set_profile_propagation(bool value) {
695 
696  profile_propagation_ = value;
697 }
699  _internal_set_profile_propagation(value);
700  // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.profile_propagation)
701 }
702 
703 // string profile_file = 8;
705  profile_file_.ClearToEmpty();
706 }
707 inline const std::string& ConstraintSolverParameters::profile_file() const {
708  // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.profile_file)
709  return _internal_profile_file();
710 }
711 template <typename ArgT0, typename... ArgT>
712 inline PROTOBUF_ALWAYS_INLINE
713 void ConstraintSolverParameters::set_profile_file(ArgT0&& arg0, ArgT... args) {
714 
715  profile_file_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
716  // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.profile_file)
717 }
719  std::string* _s = _internal_mutable_profile_file();
720  // @@protoc_insertion_point(field_mutable:operations_research.ConstraintSolverParameters.profile_file)
721  return _s;
722 }
723 inline const std::string& ConstraintSolverParameters::_internal_profile_file() const {
724  return profile_file_.Get();
725 }
726 inline void ConstraintSolverParameters::_internal_set_profile_file(const std::string& value) {
727 
728  profile_file_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
729 }
730 inline std::string* ConstraintSolverParameters::_internal_mutable_profile_file() {
731 
732  return profile_file_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
733 }
735  // @@protoc_insertion_point(field_release:operations_research.ConstraintSolverParameters.profile_file)
736  return profile_file_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
737 }
738 inline void ConstraintSolverParameters::set_allocated_profile_file(std::string* profile_file) {
739  if (profile_file != nullptr) {
740 
741  } else {
742 
743  }
744  profile_file_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), profile_file,
745  GetArenaForAllocation());
746  // @@protoc_insertion_point(field_set_allocated:operations_research.ConstraintSolverParameters.profile_file)
747 }
748 
749 // bool profile_local_search = 16;
751  profile_local_search_ = false;
752 }
753 inline bool ConstraintSolverParameters::_internal_profile_local_search() const {
754  return profile_local_search_;
755 }
757  // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.profile_local_search)
758  return _internal_profile_local_search();
759 }
760 inline void ConstraintSolverParameters::_internal_set_profile_local_search(bool value) {
761 
762  profile_local_search_ = value;
763 }
765  _internal_set_profile_local_search(value);
766  // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.profile_local_search)
767 }
768 
769 // bool print_local_search_profile = 17;
771  print_local_search_profile_ = false;
772 }
773 inline bool ConstraintSolverParameters::_internal_print_local_search_profile() const {
774  return print_local_search_profile_;
775 }
777  // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.print_local_search_profile)
778  return _internal_print_local_search_profile();
779 }
780 inline void ConstraintSolverParameters::_internal_set_print_local_search_profile(bool value) {
781 
782  print_local_search_profile_ = value;
783 }
785  _internal_set_print_local_search_profile(value);
786  // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.print_local_search_profile)
787 }
788 
789 // bool trace_propagation = 9;
791  trace_propagation_ = false;
792 }
793 inline bool ConstraintSolverParameters::_internal_trace_propagation() const {
794  return trace_propagation_;
795 }
797  // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.trace_propagation)
798  return _internal_trace_propagation();
799 }
800 inline void ConstraintSolverParameters::_internal_set_trace_propagation(bool value) {
801 
802  trace_propagation_ = value;
803 }
805  _internal_set_trace_propagation(value);
806  // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.trace_propagation)
807 }
808 
809 // bool trace_search = 10;
811  trace_search_ = false;
812 }
813 inline bool ConstraintSolverParameters::_internal_trace_search() const {
814  return trace_search_;
815 }
817  // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.trace_search)
818  return _internal_trace_search();
819 }
820 inline void ConstraintSolverParameters::_internal_set_trace_search(bool value) {
821 
822  trace_search_ = value;
823 }
825  _internal_set_trace_search(value);
826  // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.trace_search)
827 }
828 
829 // bool print_model = 11;
831  print_model_ = false;
832 }
833 inline bool ConstraintSolverParameters::_internal_print_model() const {
834  return print_model_;
835 }
837  // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.print_model)
838  return _internal_print_model();
839 }
840 inline void ConstraintSolverParameters::_internal_set_print_model(bool value) {
841 
842  print_model_ = value;
843 }
845  _internal_set_print_model(value);
846  // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.print_model)
847 }
848 
849 // bool print_model_stats = 12;
851  print_model_stats_ = false;
852 }
853 inline bool ConstraintSolverParameters::_internal_print_model_stats() const {
854  return print_model_stats_;
855 }
857  // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.print_model_stats)
858  return _internal_print_model_stats();
859 }
860 inline void ConstraintSolverParameters::_internal_set_print_model_stats(bool value) {
861 
862  print_model_stats_ = value;
863 }
865  _internal_set_print_model_stats(value);
866  // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.print_model_stats)
867 }
868 
869 // bool print_added_constraints = 13;
871  print_added_constraints_ = false;
872 }
873 inline bool ConstraintSolverParameters::_internal_print_added_constraints() const {
874  return print_added_constraints_;
875 }
877  // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.print_added_constraints)
878  return _internal_print_added_constraints();
879 }
880 inline void ConstraintSolverParameters::_internal_set_print_added_constraints(bool value) {
881 
882  print_added_constraints_ = value;
883 }
885  _internal_set_print_added_constraints(value);
886  // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.print_added_constraints)
887 }
888 
889 // bool disable_solve = 15;
891  disable_solve_ = false;
892 }
893 inline bool ConstraintSolverParameters::_internal_disable_solve() const {
894  return disable_solve_;
895 }
897  // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.disable_solve)
898  return _internal_disable_solve();
899 }
900 inline void ConstraintSolverParameters::_internal_set_disable_solve(bool value) {
901 
902  disable_solve_ = value;
903 }
905  _internal_set_disable_solve(value);
906  // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.disable_solve)
907 }
908 
909 // bool use_small_table = 101;
911  use_small_table_ = false;
912 }
913 inline bool ConstraintSolverParameters::_internal_use_small_table() const {
914  return use_small_table_;
915 }
917  // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.use_small_table)
918  return _internal_use_small_table();
919 }
920 inline void ConstraintSolverParameters::_internal_set_use_small_table(bool value) {
921 
922  use_small_table_ = value;
923 }
925  _internal_set_use_small_table(value);
926  // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.use_small_table)
927 }
928 
929 // bool use_cumulative_edge_finder = 105;
931  use_cumulative_edge_finder_ = false;
932 }
933 inline bool ConstraintSolverParameters::_internal_use_cumulative_edge_finder() const {
934  return use_cumulative_edge_finder_;
935 }
937  // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.use_cumulative_edge_finder)
938  return _internal_use_cumulative_edge_finder();
939 }
940 inline void ConstraintSolverParameters::_internal_set_use_cumulative_edge_finder(bool value) {
941 
942  use_cumulative_edge_finder_ = value;
943 }
945  _internal_set_use_cumulative_edge_finder(value);
946  // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.use_cumulative_edge_finder)
947 }
948 
949 // bool use_cumulative_time_table = 106;
951  use_cumulative_time_table_ = false;
952 }
953 inline bool ConstraintSolverParameters::_internal_use_cumulative_time_table() const {
954  return use_cumulative_time_table_;
955 }
957  // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.use_cumulative_time_table)
958  return _internal_use_cumulative_time_table();
959 }
960 inline void ConstraintSolverParameters::_internal_set_use_cumulative_time_table(bool value) {
961 
962  use_cumulative_time_table_ = value;
963 }
965  _internal_set_use_cumulative_time_table(value);
966  // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.use_cumulative_time_table)
967 }
968 
969 // bool use_cumulative_time_table_sync = 112;
971  use_cumulative_time_table_sync_ = false;
972 }
973 inline bool ConstraintSolverParameters::_internal_use_cumulative_time_table_sync() const {
974  return use_cumulative_time_table_sync_;
975 }
977  // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.use_cumulative_time_table_sync)
978  return _internal_use_cumulative_time_table_sync();
979 }
980 inline void ConstraintSolverParameters::_internal_set_use_cumulative_time_table_sync(bool value) {
981 
982  use_cumulative_time_table_sync_ = value;
983 }
985  _internal_set_use_cumulative_time_table_sync(value);
986  // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.use_cumulative_time_table_sync)
987 }
988 
989 // bool use_sequence_high_demand_tasks = 107;
991  use_sequence_high_demand_tasks_ = false;
992 }
993 inline bool ConstraintSolverParameters::_internal_use_sequence_high_demand_tasks() const {
994  return use_sequence_high_demand_tasks_;
995 }
997  // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.use_sequence_high_demand_tasks)
998  return _internal_use_sequence_high_demand_tasks();
999 }
1000 inline void ConstraintSolverParameters::_internal_set_use_sequence_high_demand_tasks(bool value) {
1001 
1002  use_sequence_high_demand_tasks_ = value;
1003 }
1005  _internal_set_use_sequence_high_demand_tasks(value);
1006  // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.use_sequence_high_demand_tasks)
1007 }
1008 
1009 // bool use_all_possible_disjunctions = 108;
1011  use_all_possible_disjunctions_ = false;
1012 }
1013 inline bool ConstraintSolverParameters::_internal_use_all_possible_disjunctions() const {
1014  return use_all_possible_disjunctions_;
1015 }
1017  // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.use_all_possible_disjunctions)
1018  return _internal_use_all_possible_disjunctions();
1019 }
1020 inline void ConstraintSolverParameters::_internal_set_use_all_possible_disjunctions(bool value) {
1021 
1022  use_all_possible_disjunctions_ = value;
1023 }
1025  _internal_set_use_all_possible_disjunctions(value);
1026  // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.use_all_possible_disjunctions)
1027 }
1028 
1029 // int32 max_edge_finder_size = 109;
1031  max_edge_finder_size_ = 0;
1032 }
1033 inline ::PROTOBUF_NAMESPACE_ID::int32 ConstraintSolverParameters::_internal_max_edge_finder_size() const {
1034  return max_edge_finder_size_;
1035 }
1036 inline ::PROTOBUF_NAMESPACE_ID::int32 ConstraintSolverParameters::max_edge_finder_size() const {
1037  // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.max_edge_finder_size)
1038  return _internal_max_edge_finder_size();
1039 }
1040 inline void ConstraintSolverParameters::_internal_set_max_edge_finder_size(::PROTOBUF_NAMESPACE_ID::int32 value) {
1041 
1042  max_edge_finder_size_ = value;
1043 }
1044 inline void ConstraintSolverParameters::set_max_edge_finder_size(::PROTOBUF_NAMESPACE_ID::int32 value) {
1045  _internal_set_max_edge_finder_size(value);
1046  // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.max_edge_finder_size)
1047 }
1048 
1049 // bool diffn_use_cumulative = 110;
1051  diffn_use_cumulative_ = false;
1052 }
1053 inline bool ConstraintSolverParameters::_internal_diffn_use_cumulative() const {
1054  return diffn_use_cumulative_;
1055 }
1057  // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.diffn_use_cumulative)
1058  return _internal_diffn_use_cumulative();
1059 }
1060 inline void ConstraintSolverParameters::_internal_set_diffn_use_cumulative(bool value) {
1061 
1062  diffn_use_cumulative_ = value;
1063 }
1065  _internal_set_diffn_use_cumulative(value);
1066  // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.diffn_use_cumulative)
1067 }
1068 
1069 // bool use_element_rmq = 111;
1071  use_element_rmq_ = false;
1072 }
1073 inline bool ConstraintSolverParameters::_internal_use_element_rmq() const {
1074  return use_element_rmq_;
1075 }
1077  // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.use_element_rmq)
1078  return _internal_use_element_rmq();
1079 }
1080 inline void ConstraintSolverParameters::_internal_set_use_element_rmq(bool value) {
1081 
1082  use_element_rmq_ = value;
1083 }
1085  _internal_set_use_element_rmq(value);
1086  // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.use_element_rmq)
1087 }
1088 
1089 // bool skip_locally_optimal_paths = 113;
1091  skip_locally_optimal_paths_ = false;
1092 }
1093 inline bool ConstraintSolverParameters::_internal_skip_locally_optimal_paths() const {
1094  return skip_locally_optimal_paths_;
1095 }
1097  // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.skip_locally_optimal_paths)
1098  return _internal_skip_locally_optimal_paths();
1099 }
1100 inline void ConstraintSolverParameters::_internal_set_skip_locally_optimal_paths(bool value) {
1101 
1102  skip_locally_optimal_paths_ = value;
1103 }
1105  _internal_set_skip_locally_optimal_paths(value);
1106  // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.skip_locally_optimal_paths)
1107 }
1108 
1109 // int32 check_solution_period = 114;
1111  check_solution_period_ = 0;
1112 }
1113 inline ::PROTOBUF_NAMESPACE_ID::int32 ConstraintSolverParameters::_internal_check_solution_period() const {
1114  return check_solution_period_;
1115 }
1116 inline ::PROTOBUF_NAMESPACE_ID::int32 ConstraintSolverParameters::check_solution_period() const {
1117  // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.check_solution_period)
1118  return _internal_check_solution_period();
1119 }
1120 inline void ConstraintSolverParameters::_internal_set_check_solution_period(::PROTOBUF_NAMESPACE_ID::int32 value) {
1121 
1122  check_solution_period_ = value;
1123 }
1124 inline void ConstraintSolverParameters::set_check_solution_period(::PROTOBUF_NAMESPACE_ID::int32 value) {
1125  _internal_set_check_solution_period(value);
1126  // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.check_solution_period)
1127 }
1128 
1129 #ifdef __GNUC__
1130  #pragma GCC diagnostic pop
1131 #endif // __GNUC__
1132 
1133 // @@protoc_insertion_point(namespace_scope)
1134 
1135 } // namespace operations_research
1136 
1137 PROTOBUF_NAMESPACE_OPEN
1138 
1139 template <> struct is_proto_enum< ::operations_research::ConstraintSolverParameters_TrailCompression> : ::std::true_type {};
1140 template <>
1141 inline const EnumDescriptor* GetEnumDescriptor< ::operations_research::ConstraintSolverParameters_TrailCompression>() {
1143 }
1144 
1145 PROTOBUF_NAMESPACE_CLOSE
1146 
1147 // @@protoc_insertion_point(global_scope)
1148 
1149 #include <google/protobuf/port_undef.inc>
1150 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ortools_2fconstraint_5fsolver_2fsolver_5fparameters_2eproto
void CopyFrom(const ConstraintSolverParameters &from)
::operations_research::ConstraintSolverParameters_TrailCompression compress_trail() const
static const ConstraintSolverParameters & default_instance()
int64_t min
Definition: alldiff_cst.cc:139
::PROTOBUF_NAMESPACE_ID::int32 max_edge_finder_size() const
void set_profile_file(ArgT0 &&arg0, ArgT... args)
static const std::string & TrailCompression_Name(T enum_t_value)
static bool TrailCompression_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, TrailCompression *value)
constexpr int ConstraintSolverParameters_TrailCompression_TrailCompression_ARRAYSIZE
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
const std::string name
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void set_max_edge_finder_size(::PROTOBUF_NAMESPACE_ID::int32 value)
int64_t b
static const ConstraintSolverParameters * internal_default_instance()
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * TrailCompression_descriptor()
int64_t max
Definition: alldiff_cst.cc:140
constexpr ConstraintSolverParameters_TrailCompression ConstraintSolverParameters_TrailCompression_TrailCompression_MIN
static constexpr TrailCompression NO_COMPRESSION
::PROTOBUF_NAMESPACE_ID::uint8 * _InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
void set_compress_trail(::operations_research::ConstraintSolverParameters_TrailCompression value)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
ConstraintSolverParameters(ConstraintSolverParameters &&from) noexcept
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ortools_2fconstraint_5fsolver_2fsolver_5fparameters_2eproto
void set_allocated_profile_file(std::string *profile_file)
::PROTOBUF_NAMESPACE_ID::int32 trail_block_size() const
static constexpr TrailCompression TrailCompression_MAX
bool ConstraintSolverParameters_TrailCompression_IsValid(int value)
const std::string & ConstraintSolverParameters_TrailCompression_Name(T enum_t_value)
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ConstraintSolverParametersDefaultTypeInternal _ConstraintSolverParameters_default_instance_
void set_trail_block_size(::PROTOBUF_NAMESPACE_ID::int32 value)
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]
void Swap(ConstraintSolverParameters *other)
bool ConstraintSolverParameters_TrailCompression_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ConstraintSolverParameters_TrailCompression *value)
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * ConstraintSolverParameters_TrailCompression_descriptor()
void MergeFrom(const ConstraintSolverParameters &from)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries [] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
ConstraintSolverParameters & operator=(ConstraintSolverParameters &&from) noexcept
PROTOBUF_MUST_USE_RESULT std::string * release_profile_file()
constexpr ConstraintSolverParameters_TrailCompression ConstraintSolverParameters_TrailCompression_TrailCompression_MAX
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
ConstraintSolverParameters & operator=(const ConstraintSolverParameters &from)
ConstraintSolverParameters * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
void UnsafeArenaSwap(ConstraintSolverParameters *other)
Collection of objects used to extend the Constraint Solver library.
void set_array_split_size(::PROTOBUF_NAMESPACE_ID::int32 value)
ConstraintSolverParameters * New() const final
void set_check_solution_period(::PROTOBUF_NAMESPACE_ID::int32 value)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
::PROTOBUF_NAMESPACE_ID::int32 array_split_size() const
friend void swap(ConstraintSolverParameters &a, ConstraintSolverParameters &b)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
::PROTOBUF_NAMESPACE_ID::int32 check_solution_period() const
int64_t value
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]
static constexpr TrailCompression COMPRESS_WITH_ZLIB
static constexpr TrailCompression TrailCompression_MIN
int64_t a