Google OR-Tools v9.12
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
Google.OrTools.Graph.FlowModelProto Class Referencesealed

Holds a flow problem, see NodeProto and ArcProto for more details. More...

Inheritance diagram for Google.OrTools.Graph.FlowModelProto:

Classes

class  Types
 Container for nested types declared in the FlowModelProto message type. More...
 

Public Member Functions

 FlowModelProto ()
 
 FlowModelProto (FlowModelProto other)
 
FlowModelProto Clone ()
 
void ClearProblemType ()
 Clears the value of the "problem_type" field.
 
override bool Equals (object other)
 
bool Equals (FlowModelProto other)
 
override int GetHashCode ()
 
override string ToString ()
 
void WriteTo (pb::CodedOutputStream output)
 
int CalculateSize ()
 
void MergeFrom (FlowModelProto other)
 
void MergeFrom (pb::CodedInputStream input)
 

Static Public Attributes

const int NodesFieldNumber = 1
 Field number for the "nodes" field.
 
const int ArcsFieldNumber = 2
 Field number for the "arcs" field.
 
const int ProblemTypeFieldNumber = 3
 Field number for the "problem_type" field.
 

Properties

static pb::MessageParser< FlowModelProtoParser [get]
 
static pbr::MessageDescriptor Descriptor [get]
 
pbc::RepeatedField< global::Google.OrTools.Graph.FlowNodeProto > Nodes [get]
 
pbc::RepeatedField< global::Google.OrTools.Graph.FlowArcProto > Arcs [get]
 
global::Google.OrTools.Graph.FlowModelProto.Types.ProblemType ProblemType [get, set]
 
bool HasProblemType [get]
 Gets whether the "problem_type" field is set.
 

Detailed Description

Holds a flow problem, see NodeProto and ArcProto for more details.

Definition at line 714 of file FlowProblem.pb.cs.

Constructor & Destructor Documentation

◆ FlowModelProto() [1/2]

Google.OrTools.Graph.FlowModelProto.FlowModelProto ( )
inline

Definition at line 740 of file FlowProblem.pb.cs.

◆ FlowModelProto() [2/2]

Google.OrTools.Graph.FlowModelProto.FlowModelProto ( FlowModelProto other)
inline

Definition at line 748 of file FlowProblem.pb.cs.

Member Function Documentation

◆ CalculateSize()

int Google.OrTools.Graph.FlowModelProto.CalculateSize ( )
inline

Definition at line 887 of file FlowProblem.pb.cs.

◆ ClearProblemType()

void Google.OrTools.Graph.FlowModelProto.ClearProblemType ( )
inline

Clears the value of the "problem_type" field.

Definition at line 807 of file FlowProblem.pb.cs.

◆ Clone()

FlowModelProto Google.OrTools.Graph.FlowModelProto.Clone ( )
inline

Definition at line 758 of file FlowProblem.pb.cs.

◆ Equals() [1/2]

bool Google.OrTools.Graph.FlowModelProto.Equals ( FlowModelProto other)
inline

Definition at line 819 of file FlowProblem.pb.cs.

◆ Equals() [2/2]

override bool Google.OrTools.Graph.FlowModelProto.Equals ( object other)
inline

Definition at line 813 of file FlowProblem.pb.cs.

◆ GetHashCode()

override int Google.OrTools.Graph.FlowModelProto.GetHashCode ( )
inline

Definition at line 834 of file FlowProblem.pb.cs.

◆ MergeFrom() [1/2]

void Google.OrTools.Graph.FlowModelProto.MergeFrom ( FlowModelProto other)
inline

Definition at line 902 of file FlowProblem.pb.cs.

◆ MergeFrom() [2/2]

void Google.OrTools.Graph.FlowModelProto.MergeFrom ( pb.CodedInputStream input)
inline

Definition at line 916 of file FlowProblem.pb.cs.

◆ ToString()

override string Google.OrTools.Graph.FlowModelProto.ToString ( )
inline

Definition at line 847 of file FlowProblem.pb.cs.

◆ WriteTo()

void Google.OrTools.Graph.FlowModelProto.WriteTo ( pb.CodedOutputStream output)
inline

Definition at line 853 of file FlowProblem.pb.cs.

Member Data Documentation

◆ ArcsFieldNumber

const int Google.OrTools.Graph.FlowModelProto.ArcsFieldNumber = 2
static

Field number for the "arcs" field.

Definition at line 774 of file FlowProblem.pb.cs.

◆ NodesFieldNumber

const int Google.OrTools.Graph.FlowModelProto.NodesFieldNumber = 1
static

Field number for the "nodes" field.

Definition at line 763 of file FlowProblem.pb.cs.

◆ ProblemTypeFieldNumber

const int Google.OrTools.Graph.FlowModelProto.ProblemTypeFieldNumber = 3
static

Field number for the "problem_type" field.

Definition at line 785 of file FlowProblem.pb.cs.

Property Documentation

◆ Arcs

pbc.RepeatedField<global.Google.OrTools.Graph.FlowArcProto> Google.OrTools.Graph.FlowModelProto.Arcs
get

Definition at line 780 of file FlowProblem.pb.cs.

◆ Descriptor

pbr.MessageDescriptor Google.OrTools.Graph.FlowModelProto.Descriptor
staticget

Definition at line 728 of file FlowProblem.pb.cs.

◆ HasProblemType

bool Google.OrTools.Graph.FlowModelProto.HasProblemType
get

Gets whether the "problem_type" field is set.

Definition at line 801 of file FlowProblem.pb.cs.

◆ Nodes

pbc.RepeatedField<global.Google.OrTools.Graph.FlowNodeProto> Google.OrTools.Graph.FlowModelProto.Nodes
get

Definition at line 769 of file FlowProblem.pb.cs.

◆ Parser

pb.MessageParser<FlowModelProto> Google.OrTools.Graph.FlowModelProto.Parser
staticget

Definition at line 724 of file FlowProblem.pb.cs.

◆ ProblemType

global.Google.OrTools.Graph.FlowModelProto.Types.ProblemType Google.OrTools.Graph.FlowModelProto.ProblemType
getset

Definition at line 791 of file FlowProblem.pb.cs.


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