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

Constructor & Destructor Documentation

◆ InverseConstraintProto() [1/2]

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

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

◆ InverseConstraintProto() [2/2]

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

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

Member Function Documentation

◆ CalculateSize()

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

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

◆ Clone()

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

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

◆ Equals() [1/2]

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

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

◆ Equals() [2/2]

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

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

◆ GetHashCode()

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

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

◆ MergeFrom() [1/2]

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

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

◆ MergeFrom() [2/2]

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

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

◆ ToString()

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

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

◆ WriteTo()

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

Definition at line 4140 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 4079 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 4090 of file CpModel.pb.cs.

Property Documentation

◆ Descriptor

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

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

◆ FDirect

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

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

◆ FInverse

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

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

◆ Parser

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

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


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