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 < 3018000
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 3018000 < 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
38PROTOBUF_NAMESPACE_OPEN
39namespace internal {
40class AnyMetadata;
41} // namespace internal
42PROTOBUF_NAMESPACE_CLOSE
43
44// Internal implementation detail -- do not use these members.
46 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
48 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
50 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
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};
56extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ortools_2fconstraint_5fsolver_2fsolver_5fparameters_2eproto;
57namespace operations_research {
58class ConstraintSolverParameters;
59struct ConstraintSolverParametersDefaultTypeInternal;
60extern ConstraintSolverParametersDefaultTypeInternal _ConstraintSolverParameters_default_instance_;
61} // namespace operations_research
62PROTOBUF_NAMESPACE_OPEN
63template<> ::operations_research::ConstraintSolverParameters* Arena::CreateMaybeMessage<::operations_research::ConstraintSolverParameters>(Arena*);
64PROTOBUF_NAMESPACE_CLOSE
65namespace operations_research {
66
72};
77
78const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ConstraintSolverParameters_TrailCompression_descriptor();
79template<typename T>
80inline 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:
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 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
115 && GetOwningArena() != nullptr
116 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
117 ) {
118 InternalSwap(&from);
119 } else {
120 CopyFrom(from);
121 }
122 return *this;
123 }
124
125 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
126 return GetDescriptor();
127 }
128 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
129 return default_instance().GetMetadata().descriptor;
130 }
131 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
132 return default_instance().GetMetadata().reflection;
133 }
136 }
138 return reinterpret_cast<const ConstraintSolverParameters*>(
140 }
141 static constexpr int kIndexInFileMessages =
142 0;
143
145 a.Swap(&b);
146 }
147 inline void Swap(ConstraintSolverParameters* other) {
148 if (other == this) return;
149 if (GetOwningArena() == other->GetOwningArena()) {
150 InternalSwap(other);
151 } else {
152 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
153 }
154 }
156 if (other == this) return;
157 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
158 InternalSwap(other);
159 }
160
161 // implements Message ----------------------------------------------
162
163 inline ConstraintSolverParameters* New() const final {
164 return new ConstraintSolverParameters();
165 }
166
167 ConstraintSolverParameters* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
168 return CreateMaybeMessage<ConstraintSolverParameters>(arena);
169 }
170 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
171 void CopyFrom(const ConstraintSolverParameters& from);
172 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
173 void MergeFrom(const ConstraintSolverParameters& from);
174 private:
175 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
176 public:
177 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
178 bool IsInitialized() const final;
179
180 size_t ByteSizeLong() const final;
181 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
182 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
183 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
184 int GetCachedSize() const final { return _cached_size_.Get(); }
185
186 private:
187 void SharedCtor();
188 void SharedDtor();
189 void SetCachedSize(int size) const final;
190 void InternalSwap(ConstraintSolverParameters* other);
191 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
192 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
193 return "operations_research.ConstraintSolverParameters";
194 }
195 protected:
196 explicit ConstraintSolverParameters(::PROTOBUF_NAMESPACE_ID::Arena* arena,
197 bool is_message_owned = false);
198 private:
199 static void ArenaDtor(void* object);
200 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
201 public:
202
203 static const ClassData _class_data_;
204 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
205
206 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
207
208 // nested types ----------------------------------------------------
209
215 static inline bool TrailCompression_IsValid(int value) {
217 }
222 static constexpr int TrailCompression_ARRAYSIZE =
224 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
227 }
228 template<typename T>
229 static inline const std::string& TrailCompression_Name(T enum_t_value) {
232 "Incorrect type passed to function TrailCompression_Name.");
234 }
235 static inline bool TrailCompression_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
238 }
239
240 // accessors -------------------------------------------------------
241
242 enum : int {
270 };
271 // string profile_file = 8;
272 void clear_profile_file();
273 const std::string& profile_file() const;
274 template <typename ArgT0 = const std::string&, typename... ArgT>
275 void set_profile_file(ArgT0&& arg0, ArgT... args);
276 std::string* mutable_profile_file();
277 PROTOBUF_MUST_USE_RESULT std::string* release_profile_file();
278 void set_allocated_profile_file(std::string* profile_file);
279 private:
280 const std::string& _internal_profile_file() const;
281 inline PROTOBUF_ALWAYS_INLINE void _internal_set_profile_file(const std::string& value);
282 std::string* _internal_mutable_profile_file();
283 public:
284
285 // .operations_research.ConstraintSolverParameters.TrailCompression compress_trail = 1;
289 private:
292 public:
293
294 // int32 trail_block_size = 2;
296 ::PROTOBUF_NAMESPACE_ID::int32 trail_block_size() const;
297 void set_trail_block_size(::PROTOBUF_NAMESPACE_ID::int32 value);
298 private:
299 ::PROTOBUF_NAMESPACE_ID::int32 _internal_trail_block_size() const;
300 void _internal_set_trail_block_size(::PROTOBUF_NAMESPACE_ID::int32 value);
301 public:
302
303 // int32 array_split_size = 3;
305 ::PROTOBUF_NAMESPACE_ID::int32 array_split_size() const;
306 void set_array_split_size(::PROTOBUF_NAMESPACE_ID::int32 value);
307 private:
308 ::PROTOBUF_NAMESPACE_ID::int32 _internal_array_split_size() const;
309 void _internal_set_array_split_size(::PROTOBUF_NAMESPACE_ID::int32 value);
310 public:
311
312 // bool store_names = 4;
313 void clear_store_names();
314 bool store_names() const;
315 void set_store_names(bool value);
316 private:
317 bool _internal_store_names() const;
318 void _internal_set_store_names(bool value);
319 public:
320
321 // bool name_cast_variables = 5;
323 bool name_cast_variables() const;
325 private:
326 bool _internal_name_cast_variables() const;
327 void _internal_set_name_cast_variables(bool value);
328 public:
329
330 // bool name_all_variables = 6;
332 bool name_all_variables() const;
333 void set_name_all_variables(bool value);
334 private:
335 bool _internal_name_all_variables() const;
336 void _internal_set_name_all_variables(bool value);
337 public:
338
339 // bool profile_propagation = 7;
341 bool profile_propagation() const;
343 private:
344 bool _internal_profile_propagation() const;
345 void _internal_set_profile_propagation(bool value);
346 public:
347
348 // bool print_model = 11;
349 void clear_print_model();
350 bool print_model() const;
351 void set_print_model(bool value);
352 private:
353 bool _internal_print_model() const;
354 void _internal_set_print_model(bool value);
355 public:
356
357 // bool print_model_stats = 12;
359 bool print_model_stats() const;
360 void set_print_model_stats(bool value);
361 private:
362 bool _internal_print_model_stats() const;
363 void _internal_set_print_model_stats(bool value);
364 public:
365
366 // bool print_added_constraints = 13;
368 bool print_added_constraints() const;
370 private:
371 bool _internal_print_added_constraints() const;
372 void _internal_set_print_added_constraints(bool value);
373 public:
374
375 // bool disable_solve = 15;
376 void clear_disable_solve();
377 bool disable_solve() const;
378 void set_disable_solve(bool value);
379 private:
380 bool _internal_disable_solve() const;
381 void _internal_set_disable_solve(bool value);
382 public:
383
384 // bool profile_local_search = 16;
386 bool profile_local_search() const;
388 private:
389 bool _internal_profile_local_search() const;
390 void _internal_set_profile_local_search(bool value);
391 public:
392
393 // bool print_local_search_profile = 17;
395 bool print_local_search_profile() const;
397 private:
398 bool _internal_print_local_search_profile() const;
399 void _internal_set_print_local_search_profile(bool value);
400 public:
401
402 // bool trace_propagation = 9;
404 bool trace_propagation() const;
405 void set_trace_propagation(bool value);
406 private:
407 bool _internal_trace_propagation() const;
408 void _internal_set_trace_propagation(bool value);
409 public:
410
411 // bool trace_search = 10;
412 void clear_trace_search();
413 bool trace_search() const;
414 void set_trace_search(bool value);
415 private:
416 bool _internal_trace_search() const;
417 void _internal_set_trace_search(bool value);
418 public:
419
420 // int32 check_solution_period = 114;
422 ::PROTOBUF_NAMESPACE_ID::int32 check_solution_period() const;
423 void set_check_solution_period(::PROTOBUF_NAMESPACE_ID::int32 value);
424 private:
425 ::PROTOBUF_NAMESPACE_ID::int32 _internal_check_solution_period() const;
426 void _internal_set_check_solution_period(::PROTOBUF_NAMESPACE_ID::int32 value);
427 public:
428
429 // bool use_small_table = 101;
431 bool use_small_table() const;
432 void set_use_small_table(bool value);
433 private:
434 bool _internal_use_small_table() const;
435 void _internal_set_use_small_table(bool value);
436 public:
437
438 // bool use_cumulative_edge_finder = 105;
440 bool use_cumulative_edge_finder() const;
442 private:
443 bool _internal_use_cumulative_edge_finder() const;
444 void _internal_set_use_cumulative_edge_finder(bool value);
445 public:
446
447 // bool use_cumulative_time_table = 106;
449 bool use_cumulative_time_table() const;
451 private:
452 bool _internal_use_cumulative_time_table() const;
453 void _internal_set_use_cumulative_time_table(bool value);
454 public:
455
456 // bool use_cumulative_time_table_sync = 112;
460 private:
461 bool _internal_use_cumulative_time_table_sync() const;
462 void _internal_set_use_cumulative_time_table_sync(bool value);
463 public:
464
465 // int32 max_edge_finder_size = 109;
467 ::PROTOBUF_NAMESPACE_ID::int32 max_edge_finder_size() const;
468 void set_max_edge_finder_size(::PROTOBUF_NAMESPACE_ID::int32 value);
469 private:
470 ::PROTOBUF_NAMESPACE_ID::int32 _internal_max_edge_finder_size() const;
471 void _internal_set_max_edge_finder_size(::PROTOBUF_NAMESPACE_ID::int32 value);
472 public:
473
474 // bool use_sequence_high_demand_tasks = 107;
478 private:
479 bool _internal_use_sequence_high_demand_tasks() const;
480 void _internal_set_use_sequence_high_demand_tasks(bool value);
481 public:
482
483 // bool use_all_possible_disjunctions = 108;
487 private:
488 bool _internal_use_all_possible_disjunctions() const;
489 void _internal_set_use_all_possible_disjunctions(bool value);
490 public:
491
492 // bool diffn_use_cumulative = 110;
494 bool diffn_use_cumulative() const;
496 private:
497 bool _internal_diffn_use_cumulative() const;
498 void _internal_set_diffn_use_cumulative(bool value);
499 public:
500
501 // bool use_element_rmq = 111;
503 bool use_element_rmq() const;
504 void set_use_element_rmq(bool value);
505 private:
506 bool _internal_use_element_rmq() const;
507 void _internal_set_use_element_rmq(bool value);
508 public:
509
510 // bool skip_locally_optimal_paths = 113;
512 bool skip_locally_optimal_paths() const;
514 private:
515 bool _internal_skip_locally_optimal_paths() const;
516 void _internal_set_skip_locally_optimal_paths(bool value);
517 public:
518
519 // @@protoc_insertion_point(class_scope:operations_research.ConstraintSolverParameters)
520 private:
521 class _Internal;
522
523 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
524 typedef void InternalArenaConstructable_;
525 typedef void DestructorSkippable_;
526 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr profile_file_;
527 int compress_trail_;
528 ::PROTOBUF_NAMESPACE_ID::int32 trail_block_size_;
529 ::PROTOBUF_NAMESPACE_ID::int32 array_split_size_;
530 bool store_names_;
531 bool name_cast_variables_;
532 bool name_all_variables_;
533 bool profile_propagation_;
534 bool print_model_;
535 bool print_model_stats_;
536 bool print_added_constraints_;
537 bool disable_solve_;
538 bool profile_local_search_;
539 bool print_local_search_profile_;
540 bool trace_propagation_;
541 bool trace_search_;
542 ::PROTOBUF_NAMESPACE_ID::int32 check_solution_period_;
543 bool use_small_table_;
544 bool use_cumulative_edge_finder_;
545 bool use_cumulative_time_table_;
546 bool use_cumulative_time_table_sync_;
547 ::PROTOBUF_NAMESPACE_ID::int32 max_edge_finder_size_;
548 bool use_sequence_high_demand_tasks_;
549 bool use_all_possible_disjunctions_;
550 bool diffn_use_cumulative_;
551 bool use_element_rmq_;
552 bool skip_locally_optimal_paths_;
553 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
554 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2fsolver_5fparameters_2eproto;
555};
556// ===================================================================
557
558
559// ===================================================================
560
561#ifdef __GNUC__
562 #pragma GCC diagnostic push
563 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
564#endif // __GNUC__
565// ConstraintSolverParameters
566
567// .operations_research.ConstraintSolverParameters.TrailCompression compress_trail = 1;
569 compress_trail_ = 0;
570}
571inline ::operations_research::ConstraintSolverParameters_TrailCompression ConstraintSolverParameters::_internal_compress_trail() const {
572 return static_cast< ::operations_research::ConstraintSolverParameters_TrailCompression >(compress_trail_);
573}
575 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.compress_trail)
576 return _internal_compress_trail();
577}
578inline void ConstraintSolverParameters::_internal_set_compress_trail(::operations_research::ConstraintSolverParameters_TrailCompression value) {
579
580 compress_trail_ = value;
581}
583 _internal_set_compress_trail(value);
584 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.compress_trail)
585}
586
587// int32 trail_block_size = 2;
589 trail_block_size_ = 0;
590}
591inline ::PROTOBUF_NAMESPACE_ID::int32 ConstraintSolverParameters::_internal_trail_block_size() const {
592 return trail_block_size_;
593}
594inline ::PROTOBUF_NAMESPACE_ID::int32 ConstraintSolverParameters::trail_block_size() const {
595 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.trail_block_size)
596 return _internal_trail_block_size();
597}
598inline void ConstraintSolverParameters::_internal_set_trail_block_size(::PROTOBUF_NAMESPACE_ID::int32 value) {
599
600 trail_block_size_ = value;
601}
602inline void ConstraintSolverParameters::set_trail_block_size(::PROTOBUF_NAMESPACE_ID::int32 value) {
603 _internal_set_trail_block_size(value);
604 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.trail_block_size)
605}
606
607// int32 array_split_size = 3;
609 array_split_size_ = 0;
610}
611inline ::PROTOBUF_NAMESPACE_ID::int32 ConstraintSolverParameters::_internal_array_split_size() const {
612 return array_split_size_;
613}
614inline ::PROTOBUF_NAMESPACE_ID::int32 ConstraintSolverParameters::array_split_size() const {
615 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.array_split_size)
616 return _internal_array_split_size();
617}
618inline void ConstraintSolverParameters::_internal_set_array_split_size(::PROTOBUF_NAMESPACE_ID::int32 value) {
619
620 array_split_size_ = value;
621}
622inline void ConstraintSolverParameters::set_array_split_size(::PROTOBUF_NAMESPACE_ID::int32 value) {
623 _internal_set_array_split_size(value);
624 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.array_split_size)
625}
626
627// bool store_names = 4;
629 store_names_ = false;
630}
631inline bool ConstraintSolverParameters::_internal_store_names() const {
632 return store_names_;
633}
635 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.store_names)
636 return _internal_store_names();
637}
638inline void ConstraintSolverParameters::_internal_set_store_names(bool value) {
639
640 store_names_ = value;
641}
643 _internal_set_store_names(value);
644 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.store_names)
645}
646
647// bool name_cast_variables = 5;
649 name_cast_variables_ = false;
650}
651inline bool ConstraintSolverParameters::_internal_name_cast_variables() const {
652 return name_cast_variables_;
653}
655 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.name_cast_variables)
656 return _internal_name_cast_variables();
657}
658inline void ConstraintSolverParameters::_internal_set_name_cast_variables(bool value) {
659
660 name_cast_variables_ = value;
661}
663 _internal_set_name_cast_variables(value);
664 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.name_cast_variables)
665}
666
667// bool name_all_variables = 6;
669 name_all_variables_ = false;
670}
671inline bool ConstraintSolverParameters::_internal_name_all_variables() const {
672 return name_all_variables_;
673}
675 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.name_all_variables)
676 return _internal_name_all_variables();
677}
678inline void ConstraintSolverParameters::_internal_set_name_all_variables(bool value) {
679
680 name_all_variables_ = value;
681}
683 _internal_set_name_all_variables(value);
684 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.name_all_variables)
685}
686
687// bool profile_propagation = 7;
689 profile_propagation_ = false;
690}
691inline bool ConstraintSolverParameters::_internal_profile_propagation() const {
692 return profile_propagation_;
693}
695 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.profile_propagation)
696 return _internal_profile_propagation();
697}
698inline void ConstraintSolverParameters::_internal_set_profile_propagation(bool value) {
699
700 profile_propagation_ = value;
701}
703 _internal_set_profile_propagation(value);
704 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.profile_propagation)
705}
706
707// string profile_file = 8;
709 profile_file_.ClearToEmpty();
710}
711inline const std::string& ConstraintSolverParameters::profile_file() const {
712 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.profile_file)
713 return _internal_profile_file();
714}
715template <typename ArgT0, typename... ArgT>
716inline PROTOBUF_ALWAYS_INLINE
717void ConstraintSolverParameters::set_profile_file(ArgT0&& arg0, ArgT... args) {
718
719 profile_file_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
720 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.profile_file)
721}
723 std::string* _s = _internal_mutable_profile_file();
724 // @@protoc_insertion_point(field_mutable:operations_research.ConstraintSolverParameters.profile_file)
725 return _s;
726}
727inline const std::string& ConstraintSolverParameters::_internal_profile_file() const {
728 return profile_file_.Get();
729}
730inline void ConstraintSolverParameters::_internal_set_profile_file(const std::string& value) {
731
732 profile_file_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
733}
734inline std::string* ConstraintSolverParameters::_internal_mutable_profile_file() {
735
736 return profile_file_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
737}
739 // @@protoc_insertion_point(field_release:operations_research.ConstraintSolverParameters.profile_file)
740 return profile_file_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
741}
742inline void ConstraintSolverParameters::set_allocated_profile_file(std::string* profile_file) {
743 if (profile_file != nullptr) {
744
745 } else {
746
747 }
748 profile_file_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), profile_file,
749 GetArenaForAllocation());
750 // @@protoc_insertion_point(field_set_allocated:operations_research.ConstraintSolverParameters.profile_file)
751}
752
753// bool profile_local_search = 16;
755 profile_local_search_ = false;
756}
757inline bool ConstraintSolverParameters::_internal_profile_local_search() const {
758 return profile_local_search_;
759}
761 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.profile_local_search)
762 return _internal_profile_local_search();
763}
764inline void ConstraintSolverParameters::_internal_set_profile_local_search(bool value) {
765
766 profile_local_search_ = value;
767}
769 _internal_set_profile_local_search(value);
770 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.profile_local_search)
771}
772
773// bool print_local_search_profile = 17;
775 print_local_search_profile_ = false;
776}
777inline bool ConstraintSolverParameters::_internal_print_local_search_profile() const {
778 return print_local_search_profile_;
779}
781 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.print_local_search_profile)
782 return _internal_print_local_search_profile();
783}
784inline void ConstraintSolverParameters::_internal_set_print_local_search_profile(bool value) {
785
786 print_local_search_profile_ = value;
787}
789 _internal_set_print_local_search_profile(value);
790 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.print_local_search_profile)
791}
792
793// bool trace_propagation = 9;
795 trace_propagation_ = false;
796}
797inline bool ConstraintSolverParameters::_internal_trace_propagation() const {
798 return trace_propagation_;
799}
801 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.trace_propagation)
802 return _internal_trace_propagation();
803}
804inline void ConstraintSolverParameters::_internal_set_trace_propagation(bool value) {
805
806 trace_propagation_ = value;
807}
809 _internal_set_trace_propagation(value);
810 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.trace_propagation)
811}
812
813// bool trace_search = 10;
815 trace_search_ = false;
816}
817inline bool ConstraintSolverParameters::_internal_trace_search() const {
818 return trace_search_;
819}
821 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.trace_search)
822 return _internal_trace_search();
823}
824inline void ConstraintSolverParameters::_internal_set_trace_search(bool value) {
825
826 trace_search_ = value;
827}
829 _internal_set_trace_search(value);
830 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.trace_search)
831}
832
833// bool print_model = 11;
835 print_model_ = false;
836}
837inline bool ConstraintSolverParameters::_internal_print_model() const {
838 return print_model_;
839}
841 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.print_model)
842 return _internal_print_model();
843}
844inline void ConstraintSolverParameters::_internal_set_print_model(bool value) {
845
846 print_model_ = value;
847}
849 _internal_set_print_model(value);
850 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.print_model)
851}
852
853// bool print_model_stats = 12;
855 print_model_stats_ = false;
856}
857inline bool ConstraintSolverParameters::_internal_print_model_stats() const {
858 return print_model_stats_;
859}
861 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.print_model_stats)
862 return _internal_print_model_stats();
863}
864inline void ConstraintSolverParameters::_internal_set_print_model_stats(bool value) {
865
866 print_model_stats_ = value;
867}
869 _internal_set_print_model_stats(value);
870 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.print_model_stats)
871}
872
873// bool print_added_constraints = 13;
875 print_added_constraints_ = false;
876}
877inline bool ConstraintSolverParameters::_internal_print_added_constraints() const {
878 return print_added_constraints_;
879}
881 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.print_added_constraints)
882 return _internal_print_added_constraints();
883}
884inline void ConstraintSolverParameters::_internal_set_print_added_constraints(bool value) {
885
886 print_added_constraints_ = value;
887}
889 _internal_set_print_added_constraints(value);
890 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.print_added_constraints)
891}
892
893// bool disable_solve = 15;
895 disable_solve_ = false;
896}
897inline bool ConstraintSolverParameters::_internal_disable_solve() const {
898 return disable_solve_;
899}
901 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.disable_solve)
902 return _internal_disable_solve();
903}
904inline void ConstraintSolverParameters::_internal_set_disable_solve(bool value) {
905
906 disable_solve_ = value;
907}
909 _internal_set_disable_solve(value);
910 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.disable_solve)
911}
912
913// bool use_small_table = 101;
915 use_small_table_ = false;
916}
917inline bool ConstraintSolverParameters::_internal_use_small_table() const {
918 return use_small_table_;
919}
921 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.use_small_table)
922 return _internal_use_small_table();
923}
924inline void ConstraintSolverParameters::_internal_set_use_small_table(bool value) {
925
926 use_small_table_ = value;
927}
929 _internal_set_use_small_table(value);
930 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.use_small_table)
931}
932
933// bool use_cumulative_edge_finder = 105;
935 use_cumulative_edge_finder_ = false;
936}
937inline bool ConstraintSolverParameters::_internal_use_cumulative_edge_finder() const {
938 return use_cumulative_edge_finder_;
939}
941 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.use_cumulative_edge_finder)
942 return _internal_use_cumulative_edge_finder();
943}
944inline void ConstraintSolverParameters::_internal_set_use_cumulative_edge_finder(bool value) {
945
946 use_cumulative_edge_finder_ = value;
947}
949 _internal_set_use_cumulative_edge_finder(value);
950 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.use_cumulative_edge_finder)
951}
952
953// bool use_cumulative_time_table = 106;
955 use_cumulative_time_table_ = false;
956}
957inline bool ConstraintSolverParameters::_internal_use_cumulative_time_table() const {
958 return use_cumulative_time_table_;
959}
961 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.use_cumulative_time_table)
962 return _internal_use_cumulative_time_table();
963}
964inline void ConstraintSolverParameters::_internal_set_use_cumulative_time_table(bool value) {
965
966 use_cumulative_time_table_ = value;
967}
969 _internal_set_use_cumulative_time_table(value);
970 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.use_cumulative_time_table)
971}
972
973// bool use_cumulative_time_table_sync = 112;
975 use_cumulative_time_table_sync_ = false;
976}
977inline bool ConstraintSolverParameters::_internal_use_cumulative_time_table_sync() const {
978 return use_cumulative_time_table_sync_;
979}
981 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.use_cumulative_time_table_sync)
982 return _internal_use_cumulative_time_table_sync();
983}
984inline void ConstraintSolverParameters::_internal_set_use_cumulative_time_table_sync(bool value) {
985
986 use_cumulative_time_table_sync_ = value;
987}
989 _internal_set_use_cumulative_time_table_sync(value);
990 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.use_cumulative_time_table_sync)
991}
992
993// bool use_sequence_high_demand_tasks = 107;
995 use_sequence_high_demand_tasks_ = false;
996}
997inline bool ConstraintSolverParameters::_internal_use_sequence_high_demand_tasks() const {
998 return use_sequence_high_demand_tasks_;
999}
1001 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.use_sequence_high_demand_tasks)
1002 return _internal_use_sequence_high_demand_tasks();
1003}
1004inline void ConstraintSolverParameters::_internal_set_use_sequence_high_demand_tasks(bool value) {
1005
1006 use_sequence_high_demand_tasks_ = value;
1007}
1009 _internal_set_use_sequence_high_demand_tasks(value);
1010 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.use_sequence_high_demand_tasks)
1011}
1012
1013// bool use_all_possible_disjunctions = 108;
1015 use_all_possible_disjunctions_ = false;
1016}
1017inline bool ConstraintSolverParameters::_internal_use_all_possible_disjunctions() const {
1018 return use_all_possible_disjunctions_;
1019}
1021 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.use_all_possible_disjunctions)
1022 return _internal_use_all_possible_disjunctions();
1023}
1024inline void ConstraintSolverParameters::_internal_set_use_all_possible_disjunctions(bool value) {
1025
1026 use_all_possible_disjunctions_ = value;
1027}
1029 _internal_set_use_all_possible_disjunctions(value);
1030 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.use_all_possible_disjunctions)
1031}
1032
1033// int32 max_edge_finder_size = 109;
1035 max_edge_finder_size_ = 0;
1036}
1037inline ::PROTOBUF_NAMESPACE_ID::int32 ConstraintSolverParameters::_internal_max_edge_finder_size() const {
1038 return max_edge_finder_size_;
1039}
1040inline ::PROTOBUF_NAMESPACE_ID::int32 ConstraintSolverParameters::max_edge_finder_size() const {
1041 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.max_edge_finder_size)
1042 return _internal_max_edge_finder_size();
1043}
1044inline void ConstraintSolverParameters::_internal_set_max_edge_finder_size(::PROTOBUF_NAMESPACE_ID::int32 value) {
1045
1046 max_edge_finder_size_ = value;
1047}
1048inline void ConstraintSolverParameters::set_max_edge_finder_size(::PROTOBUF_NAMESPACE_ID::int32 value) {
1049 _internal_set_max_edge_finder_size(value);
1050 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.max_edge_finder_size)
1051}
1052
1053// bool diffn_use_cumulative = 110;
1055 diffn_use_cumulative_ = false;
1056}
1057inline bool ConstraintSolverParameters::_internal_diffn_use_cumulative() const {
1058 return diffn_use_cumulative_;
1059}
1061 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.diffn_use_cumulative)
1062 return _internal_diffn_use_cumulative();
1063}
1064inline void ConstraintSolverParameters::_internal_set_diffn_use_cumulative(bool value) {
1065
1066 diffn_use_cumulative_ = value;
1067}
1069 _internal_set_diffn_use_cumulative(value);
1070 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.diffn_use_cumulative)
1071}
1072
1073// bool use_element_rmq = 111;
1075 use_element_rmq_ = false;
1076}
1077inline bool ConstraintSolverParameters::_internal_use_element_rmq() const {
1078 return use_element_rmq_;
1079}
1081 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.use_element_rmq)
1082 return _internal_use_element_rmq();
1083}
1084inline void ConstraintSolverParameters::_internal_set_use_element_rmq(bool value) {
1085
1086 use_element_rmq_ = value;
1087}
1089 _internal_set_use_element_rmq(value);
1090 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.use_element_rmq)
1091}
1092
1093// bool skip_locally_optimal_paths = 113;
1095 skip_locally_optimal_paths_ = false;
1096}
1097inline bool ConstraintSolverParameters::_internal_skip_locally_optimal_paths() const {
1098 return skip_locally_optimal_paths_;
1099}
1101 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.skip_locally_optimal_paths)
1102 return _internal_skip_locally_optimal_paths();
1103}
1104inline void ConstraintSolverParameters::_internal_set_skip_locally_optimal_paths(bool value) {
1105
1106 skip_locally_optimal_paths_ = value;
1107}
1109 _internal_set_skip_locally_optimal_paths(value);
1110 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.skip_locally_optimal_paths)
1111}
1112
1113// int32 check_solution_period = 114;
1115 check_solution_period_ = 0;
1116}
1117inline ::PROTOBUF_NAMESPACE_ID::int32 ConstraintSolverParameters::_internal_check_solution_period() const {
1118 return check_solution_period_;
1119}
1120inline ::PROTOBUF_NAMESPACE_ID::int32 ConstraintSolverParameters::check_solution_period() const {
1121 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.check_solution_period)
1122 return _internal_check_solution_period();
1123}
1124inline void ConstraintSolverParameters::_internal_set_check_solution_period(::PROTOBUF_NAMESPACE_ID::int32 value) {
1125
1126 check_solution_period_ = value;
1127}
1128inline void ConstraintSolverParameters::set_check_solution_period(::PROTOBUF_NAMESPACE_ID::int32 value) {
1129 _internal_set_check_solution_period(value);
1130 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.check_solution_period)
1131}
1132
1133#ifdef __GNUC__
1134 #pragma GCC diagnostic pop
1135#endif // __GNUC__
1136
1137// @@protoc_insertion_point(namespace_scope)
1138
1139} // namespace operations_research
1140
1141PROTOBUF_NAMESPACE_OPEN
1142
1143template <> struct is_proto_enum< ::operations_research::ConstraintSolverParameters_TrailCompression> : ::std::true_type {};
1144template <>
1145inline const EnumDescriptor* GetEnumDescriptor< ::operations_research::ConstraintSolverParameters_TrailCompression>() {
1147}
1148
1149PROTOBUF_NAMESPACE_CLOSE
1150
1151// @@protoc_insertion_point(global_scope)
1152
1153#include <google/protobuf/port_undef.inc>
1154#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ortools_2fconstraint_5fsolver_2fsolver_5fparameters_2eproto
int64_t max
Definition: alldiff_cst.cc:140
int64_t min
Definition: alldiff_cst.cc:139
void Swap(ConstraintSolverParameters *other)
static bool TrailCompression_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, TrailCompression *value)
ConstraintSolverParameters & operator=(const ConstraintSolverParameters &from)
void CopyFrom(const ConstraintSolverParameters &from)
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
void set_compress_trail(::operations_research::ConstraintSolverParameters_TrailCompression value)
void set_profile_file(ArgT0 &&arg0, ArgT... args)
void set_trail_block_size(::PROTOBUF_NAMESPACE_ID::int32 value)
void set_array_split_size(::PROTOBUF_NAMESPACE_ID::int32 value)
PROTOBUF_MUST_USE_RESULT std::string * release_profile_file()
void set_check_solution_period(::PROTOBUF_NAMESPACE_ID::int32 value)
::PROTOBUF_NAMESPACE_ID::int32 array_split_size() const
::PROTOBUF_NAMESPACE_ID::int32 max_edge_finder_size() const
ConstraintSolverParameters & operator=(ConstraintSolverParameters &&from) noexcept
::PROTOBUF_NAMESPACE_ID::int32 trail_block_size() const
friend void swap(ConstraintSolverParameters &a, ConstraintSolverParameters &b)
void UnsafeArenaSwap(ConstraintSolverParameters *other)
static constexpr TrailCompression COMPRESS_WITH_ZLIB
ConstraintSolverParameters * New() const final
static const ConstraintSolverParameters & default_instance()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
static constexpr TrailCompression TrailCompression_MAX
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void MergeFrom(const ConstraintSolverParameters &from)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
void set_allocated_profile_file(std::string *profile_file)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static constexpr TrailCompression TrailCompression_MIN
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * TrailCompression_descriptor()
static constexpr TrailCompression NO_COMPRESSION
static const ConstraintSolverParameters * internal_default_instance()
::operations_research::ConstraintSolverParameters_TrailCompression compress_trail() const
ConstraintSolverParameters(ConstraintSolverParameters &&from) noexcept
static const std::string & TrailCompression_Name(T enum_t_value)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
ConstraintSolverParameters * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
::PROTOBUF_NAMESPACE_ID::int32 check_solution_period() const
void set_max_edge_finder_size(::PROTOBUF_NAMESPACE_ID::int32 value)
::PROTOBUF_NAMESPACE_ID::uint8 * _InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
int64_t b
int64_t a
const std::string name
int64_t value
Collection of objects used to extend the Constraint Solver library.
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ConstraintSolverParametersDefaultTypeInternal _ConstraintSolverParameters_default_instance_
bool ConstraintSolverParameters_TrailCompression_IsValid(int value)
bool ConstraintSolverParameters_TrailCompression_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ConstraintSolverParameters_TrailCompression *value)
constexpr int ConstraintSolverParameters_TrailCompression_TrailCompression_ARRAYSIZE
constexpr ConstraintSolverParameters_TrailCompression ConstraintSolverParameters_TrailCompression_TrailCompression_MIN
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * ConstraintSolverParameters_TrailCompression_descriptor()
const std::string & ConstraintSolverParameters_TrailCompression_Name(T enum_t_value)
@ ConstraintSolverParameters_TrailCompression_COMPRESS_WITH_ZLIB
@ ConstraintSolverParameters_TrailCompression_ConstraintSolverParameters_TrailCompression_INT_MAX_SENTINEL_DO_NOT_USE_
@ ConstraintSolverParameters_TrailCompression_ConstraintSolverParameters_TrailCompression_INT_MIN_SENTINEL_DO_NOT_USE_
@ ConstraintSolverParameters_TrailCompression_NO_COMPRESSION
constexpr ConstraintSolverParameters_TrailCompression ConstraintSolverParameters_TrailCompression_TrailCompression_MAX
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ortools_2fconstraint_5fsolver_2fsolver_5fparameters_2eproto
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1] PROTOBUF_SECTION_VARIABLE(protodesc_cold)