Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
FlowModelProto Class Referencefinal

Detailed Description

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

#include <flow_problem.pb.h>

Inheritance diagram for FlowModelProto:

Classes

class  _Internal

Public Types

enum  : int { kNodesFieldNumber = 1 , kArcsFieldNumber = 2 , kProblemTypeFieldNumber = 3 }
using ProblemType = FlowModelProto_ProblemType

Public Member Functions

 FlowModelProto ()
template<typename = void>
PROTOBUF_CONSTEXPR FlowModelProto (::google::protobuf::internal::ConstantInitialized)
 FlowModelProto (const FlowModelProto &from)
 FlowModelProto (FlowModelProto &&from) noexcept
template<typename>
PROTOBUF_CONSTEXPR FlowModelProto (::_pbi::ConstantInitialized)
 ~FlowModelProto () PROTOBUF_FINAL
FlowModelProtooperator= (const FlowModelProto &from)
FlowModelProtooperator= (FlowModelProto &&from) noexcept
const ::google::protobuf::UnknownFieldSet & unknown_fields () const ABSL_ATTRIBUTE_LIFETIME_BOUND
inline ::google::protobuf::UnknownFieldSet *PROTOBUF_NONNULL mutable_unknown_fields () ABSL_ATTRIBUTE_LIFETIME_BOUND
void Swap (FlowModelProto *PROTOBUF_NONNULL other)
void UnsafeArenaSwap (FlowModelProto *PROTOBUF_NONNULL other)
FlowModelProto *PROTOBUF_NONNULL New (::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
void CopyFrom (const FlowModelProto &from)
void MergeFrom (const FlowModelProto &from)
bool IsInitialized () const
ABSL_ATTRIBUTE_REINITIALIZES void Clear () PROTOBUF_FINAL
::size_t ByteSizeLong () const final
::uint8_t *PROTOBUF_NONNULL _InternalSerialize (::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
int GetCachedSize () const
::google::protobuf::Metadata GetMetadata () const
int nodes_size () const
void clear_nodes ()
::operations_research::FlowNodeProto *PROTOBUF_NONNULL mutable_nodes (int index)
::google::protobuf::RepeatedPtrField<::operations_research::FlowNodeProto > *PROTOBUF_NONNULL mutable_nodes ()
const ::operations_research::FlowNodeProtonodes (int index) const
const ::google::protobuf::RepeatedPtrField<::operations_research::FlowNodeProto > & nodes () const
::operations_research::FlowNodeProto *PROTOBUF_NONNULL add_nodes ()
int arcs_size () const
void clear_arcs ()
::operations_research::FlowArcProto *PROTOBUF_NONNULL mutable_arcs (int index)
::google::protobuf::RepeatedPtrField<::operations_research::FlowArcProto > *PROTOBUF_NONNULL mutable_arcs ()
const ::operations_research::FlowArcProtoarcs (int index) const
const ::google::protobuf::RepeatedPtrField<::operations_research::FlowArcProto > & arcs () const
::operations_research::FlowArcProto *PROTOBUF_NONNULL add_arcs ()
bool has_problem_type () const
void clear_problem_type ()
::operations_research::FlowModelProto_ProblemType problem_type () const
void set_problem_type (::operations_research::FlowModelProto_ProblemType value)

Static Public Member Functions

static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor ()
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor ()
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection ()
static const FlowModelProtodefault_instance ()
static constexpr auto InternalGenerateClassData_ ()
static bool ProblemType_IsValid (int value)
static const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL ProblemType_descriptor ()
template<typename T>
static const ::std::string & ProblemType_Name (T value)
static bool ProblemType_Parse (::absl::string_view name, ProblemType *PROTOBUF_NONNULL value)

Static Public Attributes

static constexpr int kIndexInFileMessages = 2
static constexpr ProblemType LINEAR_SUM_ASSIGNMENT = FlowModelProto_ProblemType_LINEAR_SUM_ASSIGNMENT
static constexpr ProblemType MAX_FLOW = FlowModelProto_ProblemType_MAX_FLOW
static constexpr ProblemType MIN_COST_FLOW = FlowModelProto_ProblemType_MIN_COST_FLOW
static constexpr ProblemType ProblemType_MIN = FlowModelProto_ProblemType_ProblemType_MIN
static constexpr ProblemType ProblemType_MAX = FlowModelProto_ProblemType_ProblemType_MAX
static constexpr int ProblemType_ARRAYSIZE = FlowModelProto_ProblemType_ProblemType_ARRAYSIZE

Friends

class ::google::protobuf::internal::TcParser
class ::google::protobuf::MessageLite
class ::google::protobuf::Arena
template<typename T>
class ::google::protobuf::Arena::InternalHelper
struct ::TableStruct_ortools_2fgraph_2fflow_5fproblem_2eproto
void swap (FlowModelProto &a, FlowModelProto &b)

Member Typedef Documentation

◆ ProblemType

using operations_research::FlowModelProto::ProblemType = FlowModelProto_ProblemType

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

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int
Enumerator
kNodesFieldNumber 
kArcsFieldNumber 
kProblemTypeFieldNumber 

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

Constructor & Destructor Documentation

◆ FlowModelProto() [1/5]

◆ FlowModelProto() [2/5]

template<typename = void>
PROTOBUF_CONSTEXPR operations_research::FlowModelProto::FlowModelProto ( ::google::protobuf::internal::ConstantInitialized )
explicit

◆ FlowModelProto() [3/5]

◆ FlowModelProto() [4/5]

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

◆ FlowModelProto() [5/5]

template<typename>
PROTOBUF_CONSTEXPR operations_research::FlowModelProto::FlowModelProto ( ::_pbi::ConstantInitialized )

Definition at line 91 of file flow_problem.pb.cc.

◆ ~FlowModelProto()

Member Function Documentation

◆ _InternalSerialize()

uint8_t *PROTOBUF_NONNULL operations_research::FlowModelProto::_InternalSerialize ( ::uint8_t *PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream ) const
final

Definition at line 1012 of file flow_problem.pb.cc.

◆ add_arcs()

◆ add_nodes()

◆ arcs() [1/2]

const::google::protobuf::RepeatedPtrField<::operations_research::FlowArcProto > & operations_research::FlowModelProto::arcs ( ) const
inline

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

◆ arcs() [2/2]

const::operations_research::FlowArcProto & operations_research::FlowModelProto::arcs ( int index) const
inline

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

◆ arcs_size()

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

◆ ByteSizeLong()

Definition at line 1071 of file flow_problem.pb.cc.

◆ Clear()

PROTOBUF_NOINLINE void operations_research::FlowModelProto::Clear ( )

Definition at line 985 of file flow_problem.pb.cc.

◆ clear_arcs()

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

◆ clear_nodes()

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

◆ clear_problem_type()

◆ CopyFrom()

Definition at line 1143 of file flow_problem.pb.cc.

◆ default_instance()

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

◆ descriptor()

const ::google::protobuf::Descriptor *PROTOBUF_NONNULL operations_research::FlowModelProto::descriptor ( )
inlinestatic

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

◆ GetCachedSize()

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

◆ GetDescriptor()

const ::google::protobuf::Descriptor *PROTOBUF_NONNULL operations_research::FlowModelProto::GetDescriptor ( )
inlinestatic

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

◆ GetMetadata()

google::protobuf::Metadata operations_research::FlowModelProto::GetMetadata ( ) const

Definition at line 1160 of file flow_problem.pb.cc.

◆ GetReflection()

const ::google::protobuf::Reflection *PROTOBUF_NONNULL operations_research::FlowModelProto::GetReflection ( )
inlinestatic

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

◆ has_problem_type()

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

◆ InternalGenerateClassData_()

Definition at line 901 of file flow_problem.pb.cc.

◆ IsInitialized()

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

◆ MergeFrom()

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

◆ mutable_arcs() [1/2]

google::protobuf::RepeatedPtrField<::operations_research::FlowArcProto > *PROTOBUF_NONNULL operations_research::FlowModelProto::mutable_arcs ( )
inline

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

◆ mutable_arcs() [2/2]

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

◆ mutable_nodes() [1/2]

google::protobuf::RepeatedPtrField<::operations_research::FlowNodeProto > *PROTOBUF_NONNULL operations_research::FlowModelProto::mutable_nodes ( )
inline

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

◆ mutable_nodes() [2/2]

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

◆ mutable_unknown_fields()

inline ::google::protobuf::UnknownFieldSet *PROTOBUF_NONNULL operations_research::FlowModelProto::mutable_unknown_fields ( )
inline

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

◆ New()

FlowModelProto *PROTOBUF_NONNULL operations_research::FlowModelProto::New ( ::google::protobuf::Arena *PROTOBUF_NULLABLE arena = nullptr) const
inline

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

◆ nodes() [1/2]

const::google::protobuf::RepeatedPtrField<::operations_research::FlowNodeProto > & operations_research::FlowModelProto::nodes ( ) const
inline

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

◆ nodes() [2/2]

const::operations_research::FlowNodeProto & operations_research::FlowModelProto::nodes ( int index) const
inline

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

◆ nodes_size()

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

◆ operator=() [1/2]

FlowModelProto & operations_research::FlowModelProto::operator= ( const FlowModelProto & from)
inline

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

◆ operator=() [2/2]

FlowModelProto & operations_research::FlowModelProto::operator= ( FlowModelProto && from)
inlinenoexcept

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

◆ problem_type()

◆ ProblemType_descriptor()

const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL operations_research::FlowModelProto::ProblemType_descriptor ( )
inlinestatic

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

◆ ProblemType_IsValid()

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

◆ ProblemType_Name()

template<typename T>
const ::std::string & operations_research::FlowModelProto::ProblemType_Name ( T value)
inlinestatic

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

◆ ProblemType_Parse()

bool operations_research::FlowModelProto::ProblemType_Parse ( ::absl::string_view name,
ProblemType *PROTOBUF_NONNULL value )
inlinestatic

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

◆ set_problem_type()

◆ Swap()

void operations_research::FlowModelProto::Swap ( FlowModelProto *PROTOBUF_NONNULL other)
inline

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

◆ unknown_fields()

const ::google::protobuf::UnknownFieldSet & operations_research::FlowModelProto::unknown_fields ( ) const
inline

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

◆ UnsafeArenaSwap()

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

◆ ::google::protobuf::Arena

friend class ::google::protobuf::Arena
friend

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

◆ ::google::protobuf::Arena::InternalHelper

template<typename T>
friend class ::google::protobuf::Arena::InternalHelper
friend

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

◆ ::google::protobuf::internal::TcParser

friend class ::google::protobuf::internal::TcParser
friend

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

◆ ::google::protobuf::MessageLite

friend class ::google::protobuf::MessageLite
friend

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

◆ ::TableStruct_ortools_2fgraph_2fflow_5fproblem_2eproto

friend struct ::TableStruct_ortools_2fgraph_2fflow_5fproblem_2eproto
friend

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

◆ swap

void swap ( FlowModelProto & a,
FlowModelProto & b )
friend

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

Member Data Documentation

◆ _impl_

◆ kIndexInFileMessages

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

◆ LINEAR_SUM_ASSIGNMENT

ProblemType operations_research::FlowModelProto::LINEAR_SUM_ASSIGNMENT = FlowModelProto_ProblemType_LINEAR_SUM_ASSIGNMENT
staticconstexpr

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

◆ MAX_FLOW

ProblemType operations_research::FlowModelProto::MAX_FLOW = FlowModelProto_ProblemType_MAX_FLOW
staticconstexpr

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

◆ MIN_COST_FLOW

ProblemType operations_research::FlowModelProto::MIN_COST_FLOW = FlowModelProto_ProblemType_MIN_COST_FLOW
staticconstexpr

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

◆ ProblemType_ARRAYSIZE

int operations_research::FlowModelProto::ProblemType_ARRAYSIZE = FlowModelProto_ProblemType_ProblemType_ARRAYSIZE
staticconstexpr

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

◆ ProblemType_MAX

ProblemType operations_research::FlowModelProto::ProblemType_MAX = FlowModelProto_ProblemType_ProblemType_MAX
staticconstexpr

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

◆ ProblemType_MIN

ProblemType operations_research::FlowModelProto::ProblemType_MIN = FlowModelProto_ProblemType_ProblemType_MIN
staticconstexpr

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


The documentation for this class was generated from the following files: