Google OR-Tools v9.9
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 427 of file FlowProblem.pb.cs.

Constructor & Destructor Documentation

◆ FlowNodeProto() [1/2]

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

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

◆ FlowNodeProto() [2/2]

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

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

Member Function Documentation

◆ CalculateSize()

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

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

◆ ClearId()

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

Clears the value of the "id" field.

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

◆ ClearSupply()

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

Clears the value of the "supply" field.

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

◆ Clone()

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

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

◆ Equals() [1/2]

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

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

◆ Equals() [2/2]

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

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

◆ GetHashCode()

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

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

◆ MergeFrom() [1/2]

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

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

◆ MergeFrom() [2/2]

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

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

◆ ToString()

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

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

◆ WriteTo()

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

Definition at line 577 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 475 of file FlowProblem.pb.cs.

◆ SupplyFieldNumber

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

Field number for the "supply" field.

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

Property Documentation

◆ Descriptor

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

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

◆ HasId

bool Google.OrTools.Graph.FlowNodeProto.HasId
get

Gets whether the "id" field is set.

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

◆ HasSupply

bool Google.OrTools.Graph.FlowNodeProto.HasSupply
get

Gets whether the "supply" field is set.

Definition at line 527 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 486 of file FlowProblem.pb.cs.

◆ Parser

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

Definition at line 437 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 517 of file FlowProblem.pb.cs.


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