C++ Reference

C++ Reference: Graph

FlowModel

Detailed Description

Definition at line 442 of file flow_problem.pb.h.

Public Types

enum  : int { kNodeFieldNumber = 1, kArcFieldNumber = 2, kProblemTypeFieldNumber = 3 }
 
typedef FlowModel_ProblemType ProblemType
 

Public Member Functions

 FlowModel ()
 
virtual ~FlowModel ()
 
 FlowModel (const FlowModel &from)
 
 FlowModel (FlowModel &&from) noexcept
 
FlowModeloperator= (const FlowModel &from)
 
FlowModeloperator= (FlowModel &&from) noexcept
 
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields () const
 
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (FlowModel *other)
 
FlowModelNew () const final
 
FlowModelNew (::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::Nodemutable_node (int index)
 
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::Node > * mutable_node ()
 
const ::operations_research::Nodenode (int index) const
 
::operations_research::Nodeadd_node ()
 
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::Node > & node () const
 
int arc_size () const
 
void clear_arc ()
 
::operations_research::Arcmutable_arc (int index)
 
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::Arc > * mutable_arc ()
 
const ::operations_research::Arcarc (int index) const
 
::operations_research::Arcadd_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 FlowModeldefault_instance ()
 
static void InitAsDefaultInstance ()
 
static const FlowModelinternal_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
 

Member Typedef Documentation

◆ ProblemType

Definition at line 552 of file flow_problem.pb.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int
Enumerator
kNodeFieldNumber 
kArcFieldNumber 
kProblemTypeFieldNumber 

Definition at line 586 of file flow_problem.pb.h.

Constructor & Destructor Documentation

◆ FlowModel() [1/3]

FlowModel ( )

◆ ~FlowModel()

virtual ~FlowModel ( )
virtual

◆ FlowModel() [2/3]

FlowModel ( const FlowModel from)

◆ FlowModel() [3/3]

FlowModel ( FlowModel &&  from)
inlinenoexcept

Definition at line 449 of file flow_problem.pb.h.

Member Function Documentation

◆ _InternalParse()

const char* _InternalParse ( const char *  ptr,
::PROTOBUF_NAMESPACE_ID::internal::ParseContext *  ctx 
)
final

◆ _InternalSerialize()

::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize ( ::PROTOBUF_NAMESPACE_ID::uint8 *  target,
::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *  stream 
) const
final

◆ add_arc()

operations_research::Arc * add_arc ( )
inline

Definition at line 907 of file flow_problem.pb.h.

◆ add_node()

operations_research::Node * add_node ( )
inline

Definition at line 868 of file flow_problem.pb.h.

◆ arc() [1/2]

const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::operations_research::Arc > & arc ( ) const
inline

Definition at line 912 of file flow_problem.pb.h.

◆ arc() [2/2]

const ::operations_research::Arc & arc ( int  index) const
inline

Definition at line 900 of file flow_problem.pb.h.

◆ arc_size()

int arc_size ( ) const
inline

Definition at line 882 of file flow_problem.pb.h.

◆ ByteSizeLong()

size_t ByteSizeLong ( ) const
final

◆ Clear()

PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear ( )
final

◆ clear_arc()

void clear_arc ( )
inline

Definition at line 885 of file flow_problem.pb.h.

◆ clear_node()

void clear_node ( )
inline

Definition at line 846 of file flow_problem.pb.h.

◆ clear_problem_type()

void clear_problem_type ( )
inline

Definition at line 925 of file flow_problem.pb.h.

◆ CopyFrom() [1/2]

void CopyFrom ( const ::PROTOBUF_NAMESPACE_ID::Message &  from)
final

◆ CopyFrom() [2/2]

void CopyFrom ( const FlowModel from)

◆ default_instance()

static const FlowModel& default_instance ( )
static

◆ descriptor()

static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor ( )
inlinestatic

Definition at line 474 of file flow_problem.pb.h.

◆ GetCachedSize()

int GetCachedSize ( ) const
inlinefinal

Definition at line 521 of file flow_problem.pb.h.

◆ GetDescriptor()

static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor ( )
inlinestatic

Definition at line 477 of file flow_problem.pb.h.

◆ GetMetadata()

::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata ( ) const
final

◆ GetReflection()

static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection ( )
inlinestatic

Definition at line 480 of file flow_problem.pb.h.

◆ has_problem_type()

bool has_problem_type ( ) const
inline

Definition at line 922 of file flow_problem.pb.h.

◆ InitAsDefaultInstance()

static void InitAsDefaultInstance ( )
static

◆ internal_default_instance()

static const FlowModel* internal_default_instance ( )
inlinestatic

Definition at line 486 of file flow_problem.pb.h.

◆ IsInitialized()

bool IsInitialized ( ) const
final

◆ MergeFrom() [1/2]

void MergeFrom ( const ::PROTOBUF_NAMESPACE_ID::Message &  from)
final

◆ MergeFrom() [2/2]

void MergeFrom ( const FlowModel from)

◆ mutable_arc() [1/2]

PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::operations_research::Arc > * mutable_arc ( )
inline

Definition at line 893 of file flow_problem.pb.h.

◆ mutable_arc() [2/2]

operations_research::Arc * mutable_arc ( int  index)
inline

Definition at line 888 of file flow_problem.pb.h.

◆ mutable_node() [1/2]

PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::operations_research::Node > * mutable_node ( )
inline

Definition at line 854 of file flow_problem.pb.h.

◆ mutable_node() [2/2]

operations_research::Node * mutable_node ( int  index)
inline

Definition at line 849 of file flow_problem.pb.h.

◆ mutable_unknown_fields()

inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields ( )
inline

Definition at line 470 of file flow_problem.pb.h.

◆ New() [1/2]

FlowModel* New ( ) const
inlinefinal

Definition at line 503 of file flow_problem.pb.h.

◆ New() [2/2]

FlowModel* New ( ::PROTOBUF_NAMESPACE_ID::Arena *  arena) const
inlinefinal

Definition at line 507 of file flow_problem.pb.h.

◆ node() [1/2]

const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::operations_research::Node > & node ( ) const
inline

Definition at line 873 of file flow_problem.pb.h.

◆ node() [2/2]

const ::operations_research::Node & node ( int  index) const
inline

Definition at line 861 of file flow_problem.pb.h.

◆ node_size()

int node_size ( ) const
inline

Definition at line 843 of file flow_problem.pb.h.

◆ operator=() [1/2]

FlowModel& operator= ( const FlowModel from)
inline

Definition at line 454 of file flow_problem.pb.h.

◆ operator=() [2/2]

FlowModel& operator= ( FlowModel &&  from)
inlinenoexcept

Definition at line 458 of file flow_problem.pb.h.

◆ problem_type()

operations_research::FlowModel_ProblemType problem_type ( ) const
inline

Definition at line 932 of file flow_problem.pb.h.

◆ ProblemType_descriptor()

static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ProblemType_descriptor ( )
inlinestatic

Definition at line 569 of file flow_problem.pb.h.

◆ ProblemType_IsValid()

static bool ProblemType_IsValid ( int  value)
inlinestatic

Definition at line 559 of file flow_problem.pb.h.

◆ ProblemType_Name()

static const std::string& ProblemType_Name ( enum_t_value)
inlinestatic

Definition at line 573 of file flow_problem.pb.h.

◆ ProblemType_Parse()

static bool ProblemType_Parse ( const std::string &  name,
ProblemType value 
)
inlinestatic

Definition at line 579 of file flow_problem.pb.h.

◆ set_problem_type()

void set_problem_type ( ::operations_research::FlowModel_ProblemType  value)
inline

Definition at line 941 of file flow_problem.pb.h.

◆ Swap()

void Swap ( FlowModel other)
inline

Definition at line 496 of file flow_problem.pb.h.

◆ unknown_fields()

const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields ( ) const
inline

Definition at line 467 of file flow_problem.pb.h.

Member Data Documentation

◆ kIndexInFileMessages

constexpr int kIndexInFileMessages
staticconstexpr
Initial value:
=
2

Definition at line 490 of file flow_problem.pb.h.

◆ LINEAR_SUM_ASSIGNMENT

constexpr ProblemType LINEAR_SUM_ASSIGNMENT
staticconstexpr
Initial value:

Definition at line 553 of file flow_problem.pb.h.

◆ MAX_FLOW

constexpr ProblemType MAX_FLOW
staticconstexpr
Initial value:

Definition at line 555 of file flow_problem.pb.h.

◆ MIN_COST_FLOW

constexpr ProblemType MIN_COST_FLOW
staticconstexpr
Initial value:

Definition at line 557 of file flow_problem.pb.h.

◆ ProblemType_ARRAYSIZE

constexpr int ProblemType_ARRAYSIZE
staticconstexpr
Initial value:

Definition at line 566 of file flow_problem.pb.h.

◆ ProblemType_MAX

constexpr ProblemType ProblemType_MAX
staticconstexpr
Initial value:

Definition at line 564 of file flow_problem.pb.h.

◆ ProblemType_MIN

constexpr ProblemType ProblemType_MIN
staticconstexpr
Initial value:

Definition at line 562 of file flow_problem.pb.h.


The documentation for this class was generated from the following file:
constexpr int FlowModel_ProblemType_ProblemType_ARRAYSIZE
constexpr FlowModel_ProblemType FlowModel_ProblemType_ProblemType_MAX
constexpr FlowModel_ProblemType FlowModel_ProblemType_ProblemType_MIN