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

Public Member Functions

 FlowNodeProto ()
 
 FlowNodeProto (FlowNodeProto other)
 
FlowNodeProto Clone ()
 
void ClearId ()
 Clears the value of the "id" field.
 
void ClearSupply ()
 Clears the value of the "supply" field.
 
override bool Equals (object other)
 
bool Equals (FlowNodeProto other)
 
override int GetHashCode ()
 
override string ToString ()
 
void WriteTo (pb::CodedOutputStream output)
 
int CalculateSize ()
 
void MergeFrom (FlowNodeProto other)
 
void MergeFrom (pb::CodedInputStream input)
 

Static Public Attributes

const int IdFieldNumber = 1
 Field number for the "id" field.
 
const int SupplyFieldNumber = 2
 Field number for the "supply" field.
 

Properties

static pb::MessageParser< FlowNodeProtoParser [get]
 
static pbr::MessageDescriptor Descriptor [get]
 
long Id [get, set]
 The ids must be non-negative (>= 0). They should be dense for good performance. Note that it is not mandatory to include nodes with no supply in a FlowModelProto.
 
bool HasId [get]
 Gets whether the "id" field is set.
 
long Supply [get, set]
 The supply can be positive or negative in which case it means demand. The sum of the supplies over all nodes must always be 0.
 
bool HasSupply [get]
 Gets whether the "supply" field is set.
 

Detailed Description

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

Constructor & Destructor Documentation

◆ FlowNodeProto() [1/2]

Google.OrTools.Graph.FlowNodeProto.FlowNodeProto ( )
inline

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

◆ FlowNodeProto() [2/2]

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

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

Member Function Documentation

◆ CalculateSize()

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

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

◆ ClearId()

void Google.OrTools.Graph.FlowNodeProto.ClearId ( )
inline

Clears the value of the "id" field.

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

◆ ClearSupply()

void Google.OrTools.Graph.FlowNodeProto.ClearSupply ( )
inline

Clears the value of the "supply" field.

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

◆ Clone()

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

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

◆ Equals() [1/2]

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

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

◆ Equals() [2/2]

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

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

◆ GetHashCode()

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

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

◆ MergeFrom() [1/2]

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

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

◆ MergeFrom() [2/2]

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

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

◆ ToString()

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

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

◆ WriteTo()

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

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

Member Data Documentation

◆ IdFieldNumber

const int Google.OrTools.Graph.FlowNodeProto.IdFieldNumber = 1
static

Field number for the "id" field.

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

◆ SupplyFieldNumber

const int Google.OrTools.Graph.FlowNodeProto.SupplyFieldNumber = 2
static

Field number for the "supply" field.

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

Property Documentation

◆ Descriptor

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

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

◆ HasId

bool Google.OrTools.Graph.FlowNodeProto.HasId
get

Gets whether the "id" field is set.

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

◆ HasSupply

bool Google.OrTools.Graph.FlowNodeProto.HasSupply
get

Gets whether the "supply" field is set.

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

◆ Id

long Google.OrTools.Graph.FlowNodeProto.Id
getset

The ids must be non-negative (>= 0). They should be dense for good performance. Note that it is not mandatory to include nodes with no supply in a FlowModelProto.

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

◆ Parser

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

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

◆ Supply

long Google.OrTools.Graph.FlowNodeProto.Supply
getset

The supply can be positive or negative in which case it means demand. The sum of the supplies over all nodes must always be 0.

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


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