Google OR-Tools v9.14
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...

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 4565 of file CpModel.pb.cs.

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]

Constructor & Destructor Documentation

◆ InverseConstraintProto() [1/2]

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

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

◆ InverseConstraintProto() [2/2]

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

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

Member Function Documentation

◆ CalculateSize()

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

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

◆ Clone()

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

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

◆ Equals() [1/2]

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

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

◆ Equals() [2/2]

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

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

◆ GetHashCode()

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

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

◆ MergeFrom() [1/2]

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

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

◆ MergeFrom() [2/2]

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

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

◆ ToString()

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

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

◆ WriteTo()

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

Definition at line 4672 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 4611 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 4622 of file CpModel.pb.cs.

Property Documentation

◆ Descriptor

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

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

◆ FDirect

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

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

◆ FInverse

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

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

◆ Parser

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

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


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