C++ Reference
C++ Reference: Graph
Detailed Description
Definition at line 102 of file flow_problem.pb.h.
Public Types | |
enum | : int { kTailNodeIdFieldNumber = 1, kHeadNodeIdFieldNumber = 2, kUnitCostFieldNumber = 4, kCapacityFieldNumber = 3 } |
enum | : int { kIdFieldNumber = 1, kSupplyFieldNumber = 2 } |
enum | : int { kNodeFieldNumber = 1, kArcFieldNumber = 2, kProblemTypeFieldNumber = 3 } |
typedef FlowModel_ProblemType | ProblemType |
Public Member Functions | |
Arc () | |
virtual | ~Arc () |
Arc (const Arc &from) | |
Arc (Arc &&from) noexcept | |
Arc & | operator= (const Arc &from) |
Arc & | operator= (Arc &&from) noexcept |
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & | unknown_fields () const |
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * | mutable_unknown_fields () |
void | Swap (Arc *other) |
void | UnsafeArenaSwap (Arc *other) |
Arc * | New () const final |
Arc * | New (::PROTOBUF_NAMESPACE_ID::Arena *arena) const final |
void | CopyFrom (const ::PROTOBUF_NAMESPACE_ID::Message &from) final |
void | MergeFrom (const ::PROTOBUF_NAMESPACE_ID::Message &from) final |
void | CopyFrom (const Arc &from) |
void | MergeFrom (const Arc &from) |
PROTOBUF_ATTRIBUTE_REINITIALIZES void | Clear () final |
bool | IsInitialized () const final |
size_t | ByteSizeLong () const final |
const char * | _InternalParse (const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final |
::PROTOBUF_NAMESPACE_ID::uint8 * | _InternalSerialize (::PROTOBUF_NAMESPACE_ID::uint8 *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final |
int | GetCachedSize () const final |
::PROTOBUF_NAMESPACE_ID::Metadata | GetMetadata () const final |
bool | has_tail_node_id () const |
void | clear_tail_node_id () |
::PROTOBUF_NAMESPACE_ID::int64 | tail_node_id () const |
void | set_tail_node_id (::PROTOBUF_NAMESPACE_ID::int64 value) |
bool | has_head_node_id () const |
void | clear_head_node_id () |
::PROTOBUF_NAMESPACE_ID::int64 | head_node_id () const |
void | set_head_node_id (::PROTOBUF_NAMESPACE_ID::int64 value) |
bool | has_unit_cost () const |
void | clear_unit_cost () |
::PROTOBUF_NAMESPACE_ID::int64 | unit_cost () const |
void | set_unit_cost (::PROTOBUF_NAMESPACE_ID::int64 value) |
bool | has_capacity () const |
void | clear_capacity () |
::PROTOBUF_NAMESPACE_ID::int64 | capacity () const |
void | set_capacity (::PROTOBUF_NAMESPACE_ID::int64 value) |
Node () | |
virtual | ~Node () |
Node (const Node &from) | |
Node (Node &&from) noexcept | |
Node & | operator= (const Node &from) |
Node & | operator= (Node &&from) noexcept |
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & | unknown_fields () const |
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * | mutable_unknown_fields () |
void | Swap (Node *other) |
void | UnsafeArenaSwap (Node *other) |
Node * | New () const final |
Node * | New (::PROTOBUF_NAMESPACE_ID::Arena *arena) const final |
void | CopyFrom (const ::PROTOBUF_NAMESPACE_ID::Message &from) final |
void | MergeFrom (const ::PROTOBUF_NAMESPACE_ID::Message &from) final |
void | CopyFrom (const Node &from) |
void | MergeFrom (const Node &from) |
PROTOBUF_ATTRIBUTE_REINITIALIZES void | Clear () final |
bool | IsInitialized () const final |
size_t | ByteSizeLong () const final |
const char * | _InternalParse (const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final |
::PROTOBUF_NAMESPACE_ID::uint8 * | _InternalSerialize (::PROTOBUF_NAMESPACE_ID::uint8 *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final |
int | GetCachedSize () const final |
::PROTOBUF_NAMESPACE_ID::Metadata | GetMetadata () const final |
bool | has_id () const |
void | clear_id () |
::PROTOBUF_NAMESPACE_ID::int64 | id () const |
void | set_id (::PROTOBUF_NAMESPACE_ID::int64 value) |
bool | has_supply () const |
void | clear_supply () |
::PROTOBUF_NAMESPACE_ID::int64 | supply () const |
void | set_supply (::PROTOBUF_NAMESPACE_ID::int64 value) |
FlowModel () | |
virtual | ~FlowModel () |
FlowModel (const FlowModel &from) | |
FlowModel (FlowModel &&from) noexcept | |
FlowModel & | operator= (const FlowModel &from) |
FlowModel & | operator= (FlowModel &&from) noexcept |
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & | unknown_fields () const |
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * | mutable_unknown_fields () |
void | Swap (FlowModel *other) |
void | UnsafeArenaSwap (FlowModel *other) |
FlowModel * | New () const final |
FlowModel * | New (::PROTOBUF_NAMESPACE_ID::Arena *arena) const final |
void | CopyFrom (const ::PROTOBUF_NAMESPACE_ID::Message &from) final |
void | MergeFrom (const ::PROTOBUF_NAMESPACE_ID::Message &from) final |
void | CopyFrom (const FlowModel &from) |
void | MergeFrom (const FlowModel &from) |
PROTOBUF_ATTRIBUTE_REINITIALIZES void | Clear () final |
bool | IsInitialized () const final |
size_t | ByteSizeLong () const final |
const char * | _InternalParse (const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final |
::PROTOBUF_NAMESPACE_ID::uint8 * | _InternalSerialize (::PROTOBUF_NAMESPACE_ID::uint8 *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final |
int | GetCachedSize () const final |
::PROTOBUF_NAMESPACE_ID::Metadata | GetMetadata () const final |
int | node_size () const |
void | clear_node () |
::operations_research::Node * | mutable_node (int index) |
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::Node > * | mutable_node () |
const ::operations_research::Node & | node (int index) const |
::operations_research::Node * | add_node () |
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::Node > & | node () const |
int | arc_size () const |
void | clear_arc () |
::operations_research::Arc * | mutable_arc (int index) |
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::Arc > * | mutable_arc () |
const ::operations_research::Arc & | arc (int index) const |
::operations_research::Arc * | add_arc () |
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::Arc > & | arc () const |
bool | has_problem_type () const |
void | clear_problem_type () |
::operations_research::FlowModel_ProblemType | problem_type () const |
void | set_problem_type (::operations_research::FlowModel_ProblemType value) |
Static Public Member Functions | |
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * | descriptor () |
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * | GetDescriptor () |
static const ::PROTOBUF_NAMESPACE_ID::Reflection * | GetReflection () |
static const Arc & | default_instance () |
static void | InitAsDefaultInstance () |
static const Arc * | internal_default_instance () |
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * | descriptor () |
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * | GetDescriptor () |
static const ::PROTOBUF_NAMESPACE_ID::Reflection * | GetReflection () |
static const Node & | default_instance () |
static void | InitAsDefaultInstance () |
static const Node * | internal_default_instance () |
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * | descriptor () |
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * | GetDescriptor () |
static const ::PROTOBUF_NAMESPACE_ID::Reflection * | GetReflection () |
static const FlowModel & | default_instance () |
static void | InitAsDefaultInstance () |
static const FlowModel * | internal_default_instance () |
static bool | ProblemType_IsValid (int value) |
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * | ProblemType_descriptor () |
template<typename T > | |
static const std::string & | ProblemType_Name (T enum_t_value) |
static bool | ProblemType_Parse (const std::string &name, ProblemType *value) |
Static Public Attributes | |
static constexpr int | kIndexInFileMessages |
static constexpr ProblemType | LINEAR_SUM_ASSIGNMENT |
static constexpr ProblemType | MAX_FLOW |
static constexpr ProblemType | MIN_COST_FLOW |
static constexpr ProblemType | ProblemType_MIN |
static constexpr ProblemType | ProblemType_MAX |
static constexpr int | ProblemType_ARRAYSIZE |
Protected Member Functions | |
Arc (::PROTOBUF_NAMESPACE_ID::Arena *arena) | |
Node (::PROTOBUF_NAMESPACE_ID::Arena *arena) | |
FlowModel (::PROTOBUF_NAMESPACE_ID::Arena *arena) | |
Member Typedef Documentation
◆ ProblemType
typedef FlowModel_ProblemType ProblemType |
Definition at line 577 of file flow_problem.pb.h.
Member Enumeration Documentation
◆ anonymous enum
anonymous enum : int |
Enumerator | |
---|---|
kTailNodeIdFieldNumber | |
kHeadNodeIdFieldNumber | |
kUnitCostFieldNumber | |
kCapacityFieldNumber |
Definition at line 221 of file flow_problem.pb.h.
◆ anonymous enum
anonymous enum : int |
Enumerator | |
---|---|
kIdFieldNumber | |
kSupplyFieldNumber |
Definition at line 415 of file flow_problem.pb.h.
◆ anonymous enum
anonymous enum : int |
Enumerator | |
---|---|
kNodeFieldNumber | |
kArcFieldNumber | |
kProblemTypeFieldNumber |
Definition at line 611 of file flow_problem.pb.h.
Constructor & Destructor Documentation
◆ ~Arc()
|
virtual |
◆ ~Node()
|
virtual |
◆ ~FlowModel()
|
virtual |
Member Function Documentation
◆ _InternalParse() [1/3]
|
final |
◆ _InternalParse() [2/3]
|
final |
◆ _InternalParse() [3/3]
|
final |
◆ _InternalSerialize() [1/3]
|
final |
◆ _InternalSerialize() [2/3]
|
final |
◆ _InternalSerialize() [3/3]
|
final |
◆ add_arc()
::operations_research::Arc* add_arc | ( | ) |
◆ add_node()
::operations_research::Node* add_node | ( | ) |
◆ Arc() [1/4]
|
inline |
Definition at line 105 of file flow_problem.pb.h.
◆ arc() [1/2]
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::Arc >& arc | ( | ) | const |
◆ Arc() [2/4]
|
explicitprotected |
◆ Arc() [3/4]
|
inlinenoexcept |
Definition at line 109 of file flow_problem.pb.h.
◆ Arc() [4/4]
Arc | ( | const Arc & | from | ) |
◆ arc() [2/2]
const ::operations_research::Arc& arc | ( | int | index | ) | const |
◆ arc_size()
int arc_size | ( | ) | const |
◆ ByteSizeLong() [1/3]
|
final |
◆ ByteSizeLong() [2/3]
|
final |
◆ ByteSizeLong() [3/3]
|
final |
◆ capacity()
::PROTOBUF_NAMESPACE_ID::int64 capacity | ( | ) | const |
◆ Clear() [1/3]
|
final |
◆ Clear() [2/3]
|
final |
◆ Clear() [3/3]
|
final |
◆ clear_arc()
void clear_arc | ( | ) |
◆ clear_capacity()
void clear_capacity | ( | ) |
◆ clear_head_node_id()
void clear_head_node_id | ( | ) |
◆ clear_id()
void clear_id | ( | ) |
◆ clear_node()
void clear_node | ( | ) |
◆ clear_problem_type()
void clear_problem_type | ( | ) |
◆ clear_supply()
void clear_supply | ( | ) |
◆ clear_tail_node_id()
void clear_tail_node_id | ( | ) |
◆ clear_unit_cost()
void clear_unit_cost | ( | ) |
◆ CopyFrom() [1/6]
|
final |
◆ CopyFrom() [2/6]
|
final |
◆ CopyFrom() [3/6]
|
final |
◆ CopyFrom() [4/6]
void CopyFrom | ( | const Arc & | from | ) |
◆ CopyFrom() [5/6]
void CopyFrom | ( | const FlowModel & | from | ) |
◆ CopyFrom() [6/6]
void CopyFrom | ( | const Node & | from | ) |
◆ default_instance() [1/3]
|
static |
◆ default_instance() [2/3]
|
static |
◆ default_instance() [3/3]
|
static |
◆ descriptor() [1/3]
|
inlinestatic |
Definition at line 134 of file flow_problem.pb.h.
◆ descriptor() [2/3]
|
inlinestatic |
Definition at line 328 of file flow_problem.pb.h.
◆ descriptor() [3/3]
|
inlinestatic |
Definition at line 492 of file flow_problem.pb.h.
◆ FlowModel() [1/4]
|
inline |
Definition at line 463 of file flow_problem.pb.h.
◆ FlowModel() [2/4]
|
explicitprotected |
◆ FlowModel() [3/4]
FlowModel | ( | const FlowModel & | from | ) |
◆ FlowModel() [4/4]
|
inlinenoexcept |
Definition at line 467 of file flow_problem.pb.h.
◆ GetCachedSize() [1/3]
|
inlinefinal |
Definition at line 190 of file flow_problem.pb.h.
◆ GetCachedSize() [2/3]
|
inlinefinal |
Definition at line 384 of file flow_problem.pb.h.
◆ GetCachedSize() [3/3]
|
inlinefinal |
Definition at line 548 of file flow_problem.pb.h.
◆ GetDescriptor() [1/3]
|
inlinestatic |
Definition at line 137 of file flow_problem.pb.h.
◆ GetDescriptor() [2/3]
|
inlinestatic |
Definition at line 331 of file flow_problem.pb.h.
◆ GetDescriptor() [3/3]
|
inlinestatic |
Definition at line 495 of file flow_problem.pb.h.
◆ GetMetadata() [1/3]
|
final |
◆ GetMetadata() [2/3]
|
final |
◆ GetMetadata() [3/3]
|
final |
◆ GetReflection() [1/3]
|
inlinestatic |
Definition at line 140 of file flow_problem.pb.h.
◆ GetReflection() [2/3]
|
inlinestatic |
Definition at line 334 of file flow_problem.pb.h.
◆ GetReflection() [3/3]
|
inlinestatic |
Definition at line 498 of file flow_problem.pb.h.
◆ has_capacity()
bool has_capacity | ( | ) | const |
◆ has_head_node_id()
bool has_head_node_id | ( | ) | const |
◆ has_id()
bool has_id | ( | ) | const |
◆ has_problem_type()
bool has_problem_type | ( | ) | const |
◆ has_supply()
bool has_supply | ( | ) | const |
◆ has_tail_node_id()
bool has_tail_node_id | ( | ) | const |
◆ has_unit_cost()
bool has_unit_cost | ( | ) | const |
◆ head_node_id()
::PROTOBUF_NAMESPACE_ID::int64 head_node_id | ( | ) | const |
◆ id()
::PROTOBUF_NAMESPACE_ID::int64 id | ( | ) | const |
◆ InitAsDefaultInstance() [1/3]
|
static |
◆ InitAsDefaultInstance() [2/3]
|
static |
◆ InitAsDefaultInstance() [3/3]
|
static |
◆ internal_default_instance() [1/3]
|
inlinestatic |
Definition at line 146 of file flow_problem.pb.h.
◆ internal_default_instance() [2/3]
|
inlinestatic |
Definition at line 340 of file flow_problem.pb.h.
◆ internal_default_instance() [3/3]
|
inlinestatic |
Definition at line 504 of file flow_problem.pb.h.
◆ IsInitialized() [1/3]
|
final |
◆ IsInitialized() [2/3]
|
final |
◆ IsInitialized() [3/3]
|
final |
◆ MergeFrom() [1/6]
|
final |
◆ MergeFrom() [2/6]
|
final |
◆ MergeFrom() [3/6]
|
final |
◆ MergeFrom() [4/6]
void MergeFrom | ( | const Arc & | from | ) |
◆ MergeFrom() [5/6]
void MergeFrom | ( | const FlowModel & | from | ) |
◆ MergeFrom() [6/6]
void MergeFrom | ( | const Node & | from | ) |
◆ mutable_arc() [1/2]
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::Arc >* mutable_arc | ( | ) |
◆ mutable_arc() [2/2]
::operations_research::Arc* mutable_arc | ( | int | index | ) |
◆ mutable_node() [1/2]
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::Node >* mutable_node | ( | ) |
◆ mutable_node() [2/2]
::operations_research::Node* mutable_node | ( | int | index | ) |
◆ mutable_unknown_fields() [1/3]
|
inline |
Definition at line 130 of file flow_problem.pb.h.
◆ mutable_unknown_fields() [2/3]
|
inline |
Definition at line 324 of file flow_problem.pb.h.
◆ mutable_unknown_fields() [3/3]
|
inline |
Definition at line 488 of file flow_problem.pb.h.
◆ New() [1/6]
|
inlinefinal |
Definition at line 172 of file flow_problem.pb.h.
◆ New() [2/6]
|
inlinefinal |
Definition at line 366 of file flow_problem.pb.h.
◆ New() [3/6]
|
inlinefinal |
Definition at line 530 of file flow_problem.pb.h.
◆ New() [4/6]
|
inlinefinal |
Definition at line 176 of file flow_problem.pb.h.
◆ New() [5/6]
|
inlinefinal |
Definition at line 370 of file flow_problem.pb.h.
◆ New() [6/6]
|
inlinefinal |
Definition at line 534 of file flow_problem.pb.h.
◆ Node() [1/4]
|
inline |
Definition at line 299 of file flow_problem.pb.h.
◆ node() [1/2]
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::Node >& node | ( | ) | const |
◆ Node() [2/4]
|
explicitprotected |
◆ Node() [3/4]
Node | ( | const Node & | from | ) |
◆ node() [2/2]
const ::operations_research::Node& node | ( | int | index | ) | const |
◆ Node() [4/4]
|
inlinenoexcept |
Definition at line 303 of file flow_problem.pb.h.
◆ node_size()
int node_size | ( | ) | const |
◆ operator=() [1/6]
Definition at line 118 of file flow_problem.pb.h.
◆ operator=() [2/6]
Definition at line 114 of file flow_problem.pb.h.
◆ operator=() [3/6]
Definition at line 472 of file flow_problem.pb.h.
◆ operator=() [4/6]
Definition at line 308 of file flow_problem.pb.h.
◆ operator=() [5/6]
Definition at line 476 of file flow_problem.pb.h.
◆ operator=() [6/6]
Definition at line 312 of file flow_problem.pb.h.
◆ problem_type()
::operations_research::FlowModel_ProblemType problem_type | ( | ) | const |
◆ ProblemType_descriptor()
|
inlinestatic |
Definition at line 594 of file flow_problem.pb.h.
◆ ProblemType_IsValid()
|
inlinestatic |
Definition at line 584 of file flow_problem.pb.h.
◆ ProblemType_Name()
|
inlinestatic |
Definition at line 598 of file flow_problem.pb.h.
◆ ProblemType_Parse()
|
inlinestatic |
Definition at line 604 of file flow_problem.pb.h.
◆ set_capacity()
void set_capacity | ( | ::PROTOBUF_NAMESPACE_ID::int64 | value | ) |
◆ set_head_node_id()
void set_head_node_id | ( | ::PROTOBUF_NAMESPACE_ID::int64 | value | ) |
◆ set_id()
void set_id | ( | ::PROTOBUF_NAMESPACE_ID::int64 | value | ) |
◆ set_problem_type()
void set_problem_type | ( | ::operations_research::FlowModel_ProblemType | value | ) |
◆ set_supply()
void set_supply | ( | ::PROTOBUF_NAMESPACE_ID::int64 | value | ) |
◆ set_tail_node_id()
void set_tail_node_id | ( | ::PROTOBUF_NAMESPACE_ID::int64 | value | ) |
◆ set_unit_cost()
void set_unit_cost | ( | ::PROTOBUF_NAMESPACE_ID::int64 | value | ) |
◆ supply()
::PROTOBUF_NAMESPACE_ID::int64 supply | ( | ) | const |
◆ Swap() [1/3]
|
inline |
Definition at line 156 of file flow_problem.pb.h.
◆ Swap() [2/3]
|
inline |
Definition at line 514 of file flow_problem.pb.h.
◆ Swap() [3/3]
|
inline |
Definition at line 350 of file flow_problem.pb.h.
◆ tail_node_id()
::PROTOBUF_NAMESPACE_ID::int64 tail_node_id | ( | ) | const |
◆ unit_cost()
::PROTOBUF_NAMESPACE_ID::int64 unit_cost | ( | ) | const |
◆ unknown_fields() [1/3]
|
inline |
Definition at line 127 of file flow_problem.pb.h.
◆ unknown_fields() [2/3]
|
inline |
Definition at line 321 of file flow_problem.pb.h.
◆ unknown_fields() [3/3]
|
inline |
Definition at line 485 of file flow_problem.pb.h.
◆ UnsafeArenaSwap() [1/3]
|
inline |
Definition at line 164 of file flow_problem.pb.h.
◆ UnsafeArenaSwap() [2/3]
|
inline |
Definition at line 522 of file flow_problem.pb.h.
◆ UnsafeArenaSwap() [3/3]
|
inline |
Definition at line 358 of file flow_problem.pb.h.
Member Data Documentation
◆ kIndexInFileMessages
|
staticconstexpr |
Definition at line 150 of file flow_problem.pb.h.
◆ LINEAR_SUM_ASSIGNMENT
|
staticconstexpr |
Definition at line 578 of file flow_problem.pb.h.
◆ MAX_FLOW
|
staticconstexpr |
Definition at line 580 of file flow_problem.pb.h.
◆ MIN_COST_FLOW
|
staticconstexpr |
Definition at line 582 of file flow_problem.pb.h.
◆ ProblemType_ARRAYSIZE
|
staticconstexpr |
Definition at line 591 of file flow_problem.pb.h.
◆ ProblemType_MAX
|
staticconstexpr |
Definition at line 589 of file flow_problem.pb.h.
◆ ProblemType_MIN
|
staticconstexpr |
Definition at line 587 of file flow_problem.pb.h.
The documentation for this class was generated from the following file: