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

The values of the n-tuple formed by the given variables can only be one of the listed n-tuples in values. The n-tuples are encoded in a flattened way: [tuple0_v0, tuple0_v1, ..., tuple0_v{n-1}, tuple1_v0, ...]. More...

Inheritance diagram for Google.OrTools.Sat.TableConstraintProto:

Public Member Functions

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

Static Public Attributes

const int VarsFieldNumber = 1
 Field number for the "vars" field.
 
const int ValuesFieldNumber = 2
 Field number for the "values" field.
 
const int NegatedFieldNumber = 3
 Field number for the "negated" field.
 

Properties

static pb::MessageParser< TableConstraintProtoParser [get]
 
static pbr::MessageDescriptor Descriptor [get]
 
pbc::RepeatedField< int > Vars [get]
 
pbc::RepeatedField< long > Values [get]
 
bool Negated [get, set]
 If true, the meaning is "negated", that is we forbid any of the given tuple from a feasible assignment.
 

Detailed Description

The values of the n-tuple formed by the given variables can only be one of the listed n-tuples in values. The n-tuples are encoded in a flattened way: [tuple0_v0, tuple0_v1, ..., tuple0_v{n-1}, tuple1_v0, ...].

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

Constructor & Destructor Documentation

◆ TableConstraintProto() [1/2]

Google.OrTools.Sat.TableConstraintProto.TableConstraintProto ( )
inline

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

◆ TableConstraintProto() [2/2]

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

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

Member Function Documentation

◆ CalculateSize()

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

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

◆ Clone()

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

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

◆ Equals() [1/2]

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

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

◆ Equals() [2/2]

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

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

◆ GetHashCode()

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

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

◆ MergeFrom() [1/2]

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

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

◆ MergeFrom() [2/2]

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

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

◆ ToString()

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

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

◆ WriteTo()

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

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

Member Data Documentation

◆ NegatedFieldNumber

const int Google.OrTools.Sat.TableConstraintProto.NegatedFieldNumber = 3
static

Field number for the "negated" field.

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

◆ ValuesFieldNumber

const int Google.OrTools.Sat.TableConstraintProto.ValuesFieldNumber = 2
static

Field number for the "values" field.

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

◆ VarsFieldNumber

const int Google.OrTools.Sat.TableConstraintProto.VarsFieldNumber = 1
static

Field number for the "vars" field.

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

Property Documentation

◆ Descriptor

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

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

◆ Negated

bool Google.OrTools.Sat.TableConstraintProto.Negated
getset

If true, the meaning is "negated", that is we forbid any of the given tuple from a feasible assignment.

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

◆ Parser

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

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

◆ Values

pbc.RepeatedField<long> Google.OrTools.Sat.TableConstraintProto.Values
get

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

◆ Vars

pbc.RepeatedField<int> Google.OrTools.Sat.TableConstraintProto.Vars
get

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


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