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

The two arrays of variable each represent a function, the second is the inverse of the first: f_direct[i] == j <=> f_inverse[j] == i. More...

Inheritance diagram for Google.OrTools.Sat.InverseConstraintProto:

Public Member Functions

 InverseConstraintProto ()
 
 InverseConstraintProto (InverseConstraintProto other)
 
InverseConstraintProto Clone ()
 
override bool Equals (object other)
 
bool Equals (InverseConstraintProto other)
 
override int GetHashCode ()
 
override string ToString ()
 
void WriteTo (pb::CodedOutputStream output)
 
int CalculateSize ()
 
void MergeFrom (InverseConstraintProto other)
 
void MergeFrom (pb::CodedInputStream input)
 

Static Public Attributes

const int FDirectFieldNumber = 1
 Field number for the "f_direct" field.
 
const int FInverseFieldNumber = 2
 Field number for the "f_inverse" field.
 

Properties

static pb::MessageParser< InverseConstraintProtoParser [get]
 
static pbr::MessageDescriptor Descriptor [get]
 
pbc::RepeatedField< int > FDirect [get]
 
pbc::RepeatedField< int > FInverse [get]
 

Detailed Description

The two arrays of variable each represent a function, the second is the inverse of the first: f_direct[i] == j <=> f_inverse[j] == i.

Definition at line 4331 of file CpModel.pb.cs.

Constructor & Destructor Documentation

◆ InverseConstraintProto() [1/2]

Google.OrTools.Sat.InverseConstraintProto.InverseConstraintProto ( )
inline

Definition at line 4356 of file CpModel.pb.cs.

◆ InverseConstraintProto() [2/2]

Google.OrTools.Sat.InverseConstraintProto.InverseConstraintProto ( InverseConstraintProto other)
inline

Definition at line 4364 of file CpModel.pb.cs.

Member Function Documentation

◆ CalculateSize()

int Google.OrTools.Sat.InverseConstraintProto.CalculateSize ( )
inline

Definition at line 4464 of file CpModel.pb.cs.

◆ Clone()

InverseConstraintProto Google.OrTools.Sat.InverseConstraintProto.Clone ( )
inline

Definition at line 4372 of file CpModel.pb.cs.

◆ Equals() [1/2]

bool Google.OrTools.Sat.InverseConstraintProto.Equals ( InverseConstraintProto other)
inline

Definition at line 4406 of file CpModel.pb.cs.

◆ Equals() [2/2]

override bool Google.OrTools.Sat.InverseConstraintProto.Equals ( object other)
inline

Definition at line 4400 of file CpModel.pb.cs.

◆ GetHashCode()

override int Google.OrTools.Sat.InverseConstraintProto.GetHashCode ( )
inline

Definition at line 4420 of file CpModel.pb.cs.

◆ MergeFrom() [1/2]

void Google.OrTools.Sat.InverseConstraintProto.MergeFrom ( InverseConstraintProto other)
inline

Definition at line 4476 of file CpModel.pb.cs.

◆ MergeFrom() [2/2]

void Google.OrTools.Sat.InverseConstraintProto.MergeFrom ( pb.CodedInputStream input)
inline

Definition at line 4487 of file CpModel.pb.cs.

◆ ToString()

override string Google.OrTools.Sat.InverseConstraintProto.ToString ( )
inline

Definition at line 4432 of file CpModel.pb.cs.

◆ WriteTo()

void Google.OrTools.Sat.InverseConstraintProto.WriteTo ( pb.CodedOutputStream output)
inline

Definition at line 4438 of file CpModel.pb.cs.

Member Data Documentation

◆ FDirectFieldNumber

const int Google.OrTools.Sat.InverseConstraintProto.FDirectFieldNumber = 1
static

Field number for the "f_direct" field.

Definition at line 4377 of file CpModel.pb.cs.

◆ FInverseFieldNumber

const int Google.OrTools.Sat.InverseConstraintProto.FInverseFieldNumber = 2
static

Field number for the "f_inverse" field.

Definition at line 4388 of file CpModel.pb.cs.

Property Documentation

◆ Descriptor

pbr.MessageDescriptor Google.OrTools.Sat.InverseConstraintProto.Descriptor
staticget

Definition at line 4344 of file CpModel.pb.cs.

◆ FDirect

pbc.RepeatedField<int> Google.OrTools.Sat.InverseConstraintProto.FDirect
get

Definition at line 4383 of file CpModel.pb.cs.

◆ FInverse

pbc.RepeatedField<int> Google.OrTools.Sat.InverseConstraintProto.FInverse
get

Definition at line 4394 of file CpModel.pb.cs.

◆ Parser

pb.MessageParser<InverseConstraintProto> Google.OrTools.Sat.InverseConstraintProto.Parser
staticget

Definition at line 4340 of file CpModel.pb.cs.


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