4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ortools_2fgraph_2fflow_5fproblem_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ortools_2fgraph_2fflow_5fproblem_2eproto
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3014000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
16 #if 3014000 < 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.
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>
32 #include <google/protobuf/extension_set.h>
33 #include <google/protobuf/generated_enum_reflection.h>
34 #include <google/protobuf/unknown_field_set.h>
36 #include <google/protobuf/port_def.inc>
37 #define PROTOBUF_INTERNAL_EXPORT_ortools_2fgraph_2fflow_5fproblem_2eproto
38 PROTOBUF_NAMESPACE_OPEN
42 PROTOBUF_NAMESPACE_CLOSE
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[3]
52 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata
field_metadata[];
59 class ArcDefaultTypeInternal;
68 PROTOBUF_NAMESPACE_OPEN
70 template<> ::operations_research::FlowModel* Arena::CreateMaybeMessage<::operations_research::FlowModel>(Arena*);
71 template<> ::operations_research::Node* Arena::CreateMaybeMessage<::operations_research::Node>(Arena*);
72 PROTOBUF_NAMESPACE_CLOSE
90 "Incorrect type passed to function FlowModel_ProblemType_Name.");
91 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
96 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<FlowModel_ProblemType>(
101 class Arc PROTOBUF_FINAL :
102 public ::PROTOBUF_NAMESPACE_ID::Message {
110 *
this = ::std::move(from);
118 if (GetArena() == from.GetArena()) {
119 if (
this != &from) InternalSwap(&from);
127 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
130 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
133 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
134 return GetDescriptor();
137 return GetMetadataStatic().descriptor;
140 return GetMetadataStatic().reflection;
145 return reinterpret_cast<const Arc*
>(
148 static constexpr
int kIndexInFileMessages =
155 if (other ==
this)
return;
156 if (GetArena() == other->GetArena()) {
159 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
163 if (other ==
this)
return;
164 GOOGLE_DCHECK(GetArena() == other->GetArena());
171 return CreateMaybeMessage<Arc>(
nullptr);
174 Arc*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
175 return CreateMaybeMessage<Arc>(arena);
177 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
178 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
181 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
182 bool IsInitialized() const final;
184 size_t ByteSizeLong() const final;
185 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
186 ::PROTOBUF_NAMESPACE_ID::
uint8* _InternalSerialize(
187 ::PROTOBUF_NAMESPACE_ID::
uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
188 int GetCachedSize() const final {
return _cached_size_.Get(); }
191 inline void SharedCtor();
192 inline void SharedDtor();
193 void SetCachedSize(
int size)
const final;
194 void InternalSwap(
Arc* other);
195 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
196 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
197 return "operations_research.Arc";
200 explicit Arc(::PROTOBUF_NAMESPACE_ID::Arena* arena);
202 static void ArenaDtor(
void*
object);
203 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
208 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
220 kTailNodeIdFieldNumber = 1,
221 kHeadNodeIdFieldNumber = 2,
222 kUnitCostFieldNumber = 4,
223 kCapacityFieldNumber = 3,
228 bool _internal_has_tail_node_id()
const;
241 bool _internal_has_head_node_id()
const;
254 bool _internal_has_unit_cost()
const;
267 bool _internal_has_capacity()
const;
281 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
282 typedef void InternalArenaConstructable_;
283 typedef void DestructorSkippable_;
284 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
285 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
290 friend struct ::TableStruct_ortools_2fgraph_2fflow_5fproblem_2eproto;
295 public ::PROTOBUF_NAMESPACE_ID::Message {
297 inline Node() : Node(nullptr) {}
303 *
this = ::std::move(from);
311 if (GetArena() == from.GetArena()) {
312 if (
this != &from) InternalSwap(&from);
320 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
323 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
326 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
327 return GetDescriptor();
330 return GetMetadataStatic().descriptor;
333 return GetMetadataStatic().reflection;
338 return reinterpret_cast<const Node*
>(
341 static constexpr
int kIndexInFileMessages =
347 inline void Swap(Node* other) {
348 if (other ==
this)
return;
349 if (GetArena() == other->GetArena()) {
352 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
356 if (other ==
this)
return;
357 GOOGLE_DCHECK(GetArena() == other->GetArena());
363 inline Node*
New() const final {
364 return CreateMaybeMessage<Node>(
nullptr);
367 Node*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
368 return CreateMaybeMessage<Node>(arena);
370 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
371 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
374 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
375 bool IsInitialized() const final;
377 size_t ByteSizeLong() const final;
378 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
379 ::PROTOBUF_NAMESPACE_ID::
uint8* _InternalSerialize(
380 ::PROTOBUF_NAMESPACE_ID::
uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
381 int GetCachedSize() const final {
return _cached_size_.Get(); }
384 inline void SharedCtor();
385 inline void SharedDtor();
386 void SetCachedSize(
int size)
const final;
387 void InternalSwap(Node* other);
388 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
389 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
390 return "operations_research.Node";
393 explicit Node(::PROTOBUF_NAMESPACE_ID::Arena* arena);
395 static void ArenaDtor(
void*
object);
396 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
401 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
414 kSupplyFieldNumber = 2,
419 bool _internal_has_id()
const;
432 bool _internal_has_supply()
const;
446 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
447 typedef void InternalArenaConstructable_;
448 typedef void DestructorSkippable_;
449 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
450 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
453 friend struct ::TableStruct_ortools_2fgraph_2fflow_5fproblem_2eproto;
458 public ::PROTOBUF_NAMESPACE_ID::Message {
466 *
this = ::std::move(from);
473 inline FlowModel&
operator=(FlowModel&& from) noexcept {
474 if (GetArena() == from.GetArena()) {
475 if (
this != &from) InternalSwap(&from);
483 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
486 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
489 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
490 return GetDescriptor();
493 return GetMetadataStatic().descriptor;
496 return GetMetadataStatic().reflection;
501 return reinterpret_cast<const FlowModel*
>(
504 static constexpr
int kIndexInFileMessages =
507 friend void swap(FlowModel&
a, FlowModel&
b) {
510 inline void Swap(FlowModel* other) {
511 if (other ==
this)
return;
512 if (GetArena() == other->GetArena()) {
515 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
519 if (other ==
this)
return;
520 GOOGLE_DCHECK(GetArena() == other->GetArena());
526 inline FlowModel*
New() const final {
527 return CreateMaybeMessage<FlowModel>(
nullptr);
530 FlowModel*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
531 return CreateMaybeMessage<FlowModel>(arena);
533 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
534 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
537 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
538 bool IsInitialized() const final;
540 size_t ByteSizeLong() const final;
541 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
542 ::PROTOBUF_NAMESPACE_ID::
uint8* _InternalSerialize(
543 ::PROTOBUF_NAMESPACE_ID::
uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
544 int GetCachedSize() const final {
return _cached_size_.Get(); }
547 inline void SharedCtor();
548 inline void SharedDtor();
549 void SetCachedSize(
int size)
const final;
550 void InternalSwap(FlowModel* other);
551 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
552 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
553 return "operations_research.FlowModel";
556 explicit FlowModel(::PROTOBUF_NAMESPACE_ID::Arena* arena);
558 static void ArenaDtor(
void*
object);
559 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
564 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
587 static constexpr
int ProblemType_ARRAYSIZE =
589 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
597 "Incorrect type passed to function ProblemType_Name.");
608 kNodeFieldNumber = 1,
610 kProblemTypeFieldNumber = 3,
615 int _internal_node_size()
const;
619 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::Node >*
622 const ::operations_research::Node& _internal_node(
int index)
const;
623 ::operations_research::Node* _internal_add_node();
625 const ::operations_research::Node&
node(
int index)
const;
627 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::Node >&
633 int _internal_arc_size()
const;
637 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::Arc >*
645 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::Arc >&
651 bool _internal_has_problem_type()
const;
665 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
666 typedef void InternalArenaConstructable_;
667 typedef void DestructorSkippable_;
668 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
669 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
670 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::Node > node_;
671 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::Arc > arc_;
673 friend struct ::TableStruct_ortools_2fgraph_2fflow_5fproblem_2eproto;
681 #pragma GCC diagnostic push
682 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
687 inline bool Arc::_internal_has_tail_node_id()
const {
688 bool value = (_has_bits_[0] & 0x00000001u) != 0;
691 inline bool Arc::has_tail_node_id()
const {
692 return _internal_has_tail_node_id();
694 inline void Arc::clear_tail_node_id() {
695 tail_node_id_ = PROTOBUF_LONGLONG(0);
696 _has_bits_[0] &= ~0x00000001u;
699 return tail_node_id_;
703 return _internal_tail_node_id();
706 _has_bits_[0] |= 0x00000001u;
707 tail_node_id_ =
value;
710 _internal_set_tail_node_id(
value);
715 inline bool Arc::_internal_has_head_node_id()
const {
716 bool value = (_has_bits_[0] & 0x00000002u) != 0;
719 inline bool Arc::has_head_node_id()
const {
720 return _internal_has_head_node_id();
722 inline void Arc::clear_head_node_id() {
723 head_node_id_ = PROTOBUF_LONGLONG(0);
724 _has_bits_[0] &= ~0x00000002u;
727 return head_node_id_;
731 return _internal_head_node_id();
734 _has_bits_[0] |= 0x00000002u;
735 head_node_id_ =
value;
738 _internal_set_head_node_id(
value);
743 inline bool Arc::_internal_has_capacity()
const {
744 bool value = (_has_bits_[0] & 0x00000008u) != 0;
747 inline bool Arc::has_capacity()
const {
748 return _internal_has_capacity();
750 inline void Arc::clear_capacity() {
751 capacity_ = PROTOBUF_LONGLONG(1);
752 _has_bits_[0] &= ~0x00000008u;
759 return _internal_capacity();
762 _has_bits_[0] |= 0x00000008u;
766 _internal_set_capacity(
value);
771 inline bool Arc::_internal_has_unit_cost()
const {
772 bool value = (_has_bits_[0] & 0x00000004u) != 0;
775 inline bool Arc::has_unit_cost()
const {
776 return _internal_has_unit_cost();
778 inline void Arc::clear_unit_cost() {
779 unit_cost_ = PROTOBUF_LONGLONG(0);
780 _has_bits_[0] &= ~0x00000004u;
787 return _internal_unit_cost();
790 _has_bits_[0] |= 0x00000004u;
794 _internal_set_unit_cost(
value);
803 inline bool Node::_internal_has_id()
const {
804 bool value = (_has_bits_[0] & 0x00000001u) != 0;
807 inline bool Node::has_id()
const {
808 return _internal_has_id();
810 inline void Node::clear_id() {
811 id_ = PROTOBUF_LONGLONG(0);
812 _has_bits_[0] &= ~0x00000001u;
819 return _internal_id();
822 _has_bits_[0] |= 0x00000001u;
826 _internal_set_id(
value);
831 inline bool Node::_internal_has_supply()
const {
832 bool value = (_has_bits_[0] & 0x00000002u) != 0;
835 inline bool Node::has_supply()
const {
836 return _internal_has_supply();
838 inline void Node::clear_supply() {
839 supply_ = PROTOBUF_LONGLONG(0);
840 _has_bits_[0] &= ~0x00000002u;
847 return _internal_supply();
850 _has_bits_[0] |= 0x00000002u;
854 _internal_set_supply(
value);
863 inline int FlowModel::_internal_node_size()
const {
866 inline int FlowModel::node_size()
const {
867 return _internal_node_size();
869 inline void FlowModel::clear_node() {
872 inline ::operations_research::Node* FlowModel::mutable_node(
int index) {
874 return node_.Mutable(
index);
876 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::Node >*
877 FlowModel::mutable_node() {
881 inline const ::operations_research::Node& FlowModel::_internal_node(
int index)
const {
882 return node_.Get(
index);
884 inline const ::operations_research::Node& FlowModel::node(
int index)
const {
886 return _internal_node(
index);
888 inline ::operations_research::Node* FlowModel::_internal_add_node() {
891 inline ::operations_research::Node* FlowModel::add_node() {
893 return _internal_add_node();
895 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::Node >&
896 FlowModel::node()
const {
902 inline int FlowModel::_internal_arc_size()
const {
905 inline int FlowModel::arc_size()
const {
906 return _internal_arc_size();
908 inline void FlowModel::clear_arc() {
913 return arc_.Mutable(
index);
915 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::Arc >*
916 FlowModel::mutable_arc() {
921 return arc_.Get(
index);
925 return _internal_arc(
index);
932 return _internal_add_arc();
934 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::Arc >&
935 FlowModel::arc()
const {
941 inline bool FlowModel::_internal_has_problem_type()
const {
942 bool value = (_has_bits_[0] & 0x00000001u) != 0;
945 inline bool FlowModel::has_problem_type()
const {
946 return _internal_has_problem_type();
948 inline void FlowModel::clear_problem_type() {
950 _has_bits_[0] &= ~0x00000001u;
957 return _internal_problem_type();
961 _has_bits_[0] |= 0x00000001u;
962 problem_type_ =
value;
965 _internal_set_problem_type(
value);
970 #pragma GCC diagnostic pop
981 PROTOBUF_NAMESPACE_OPEN
985 inline const EnumDescriptor* GetEnumDescriptor< ::operations_research::FlowModel_ProblemType>() {
989 PROTOBUF_NAMESPACE_CLOSE
993 #include <google/protobuf/port_undef.inc>
bool has_tail_node_id() const
Arc & operator=(Arc &&from) noexcept
Node(Node &&from) noexcept
friend void swap(Arc &a, Arc &b)
void set_head_node_id(::PROTOBUF_NAMESPACE_ID::int64 value)
void set_capacity(::PROTOBUF_NAMESPACE_ID::int64 value)
Arc(::PROTOBUF_NAMESPACE_ID::Arena *arena)
Node & operator=(Node &&from) noexcept
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
::PROTOBUF_NAMESPACE_ID::int64 id() const
friend void swap(FlowModel &a, FlowModel &b)
static const Arc & default_instance()
static const Arc * internal_default_instance()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
friend void swap(Node &a, Node &b)
void set_supply(::PROTOBUF_NAMESPACE_ID::int64 value)
void MergeFrom(const Arc &from)
::operations_research::Arc * mutable_arc(int index)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
static const FlowModel & default_instance()
Node & operator=(const Node &from)
static const FlowModel * internal_default_instance()
void Swap(FlowModel *other)
void set_id(::PROTOBUF_NAMESPACE_ID::int64 value)
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
static const Node & default_instance()
FlowModel * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
void CopyFrom(const Arc &from)
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::Node > & node() const
const ::operations_research::Node & node(int index) const
::PROTOBUF_NAMESPACE_ID::int64 supply() const
::PROTOBUF_NAMESPACE_ID::int64 head_node_id() const
Node(::PROTOBUF_NAMESPACE_ID::Arena *arena)
bool has_problem_type() const
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::Node > * mutable_node()
const ::operations_research::Arc & arc(int index) const
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * ProblemType_descriptor()
Node * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
FlowModel * New() const final
FlowModel(FlowModel &&from) noexcept
void clear_head_node_id()
void UnsafeArenaSwap(Arc *other)
::PROTOBUF_NAMESPACE_ID::int64 capacity() const
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void clear_problem_type()
static bool ProblemType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ProblemType *value)
::operations_research::FlowModel_ProblemType problem_type() const
::operations_research::Arc * add_arc()
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::Arc > & arc() const
void set_problem_type(::operations_research::FlowModel_ProblemType value)
FlowModel_ProblemType ProblemType
void CopyFrom(const FlowModel &from)
static const Node * internal_default_instance()
Arc & operator=(const Arc &from)
FlowModel(::PROTOBUF_NAMESPACE_ID::Arena *arena)
void UnsafeArenaSwap(Node *other)
Arc * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
bool has_capacity() const
void CopyFrom(const Node &from)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
::operations_research::Node * add_node()
bool has_head_node_id() const
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const std::string & ProblemType_Name(T enum_t_value)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void set_unit_cost(::PROTOBUF_NAMESPACE_ID::int64 value)
void clear_tail_node_id()
::PROTOBUF_NAMESPACE_ID::int64 unit_cost() const
void set_tail_node_id(::PROTOBUF_NAMESPACE_ID::int64 value)
void MergeFrom(const Node &from)
bool has_unit_cost() const
::PROTOBUF_NAMESPACE_ID::int64 tail_node_id() const
::operations_research::Node * mutable_node(int index)
void MergeFrom(const FlowModel &from)
FlowModel & operator=(const FlowModel &from)
static bool ProblemType_IsValid(int value)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
FlowModel(const FlowModel &from)
void UnsafeArenaSwap(FlowModel *other)
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::Arc > * mutable_arc()
FlowModel & operator=(FlowModel &&from) noexcept
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ortools_2fgraph_2fflow_5fproblem_2eproto
MPSolver::OptimizationProblemType problem_type
The vehicle routing library lets one model and solve generic vehicle routing problems ranging from th...
const std::string & FlowModel_ProblemType_Name(T enum_t_value)
class operations_research::NodeDefaultTypeInternal _Node_default_instance_
@ FlowModel_ProblemType_MAX_FLOW
@ FlowModel_ProblemType_MIN_COST_FLOW
@ FlowModel_ProblemType_LINEAR_SUM_ASSIGNMENT
class operations_research::FlowModelDefaultTypeInternal _FlowModel_default_instance_
std::pair< int64, int64 > Arc
bool FlowModel_ProblemType_IsValid(int value)
constexpr FlowModel_ProblemType FlowModel_ProblemType_ProblemType_MIN
constexpr int FlowModel_ProblemType_ProblemType_ARRAYSIZE
class operations_research::ArcDefaultTypeInternal _Arc_default_instance_
bool FlowModel_ProblemType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, FlowModel_ProblemType *value)
constexpr FlowModel_ProblemType FlowModel_ProblemType_ProblemType_MAX
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * FlowModel_ProblemType_descriptor()