DotNet Reference

.Net Reference

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

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. More...
 
const int ValuesFieldNumber = 2
 Field number for the "values" field. More...
 
const int NegatedFieldNumber = 3
 Field number for the "negated" field. More...
 

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. More...
 

Constructor & Destructor Documentation

◆ TableConstraintProto() [1/2]

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

◆ TableConstraintProto() [2/2]

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

Member Function Documentation

◆ CalculateSize()

int CalculateSize ( )
inline

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

◆ Clone()

TableConstraintProto Clone ( )
inline

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

◆ Equals() [1/2]

override bool Equals ( object  other)
inline

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

◆ Equals() [2/2]

bool Equals ( TableConstraintProto  other)
inline

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

◆ GetHashCode()

override int GetHashCode ( )
inline

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

◆ MergeFrom() [1/2]

void MergeFrom ( pb::CodedInputStream  input)
inline

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

◆ MergeFrom() [2/2]

void MergeFrom ( TableConstraintProto  other)
inline

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

◆ ToString()

override string ToString ( )
inline

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

◆ WriteTo()

void WriteTo ( pb::CodedOutputStream  output)
inline

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

Member Data Documentation

◆ NegatedFieldNumber

const int NegatedFieldNumber = 3
static

Field number for the "negated" field.

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

◆ ValuesFieldNumber

const int ValuesFieldNumber = 2
static

Field number for the "values" field.

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

◆ VarsFieldNumber

const int VarsFieldNumber = 1
static

Field number for the "vars" field.

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

Property Documentation

◆ Descriptor

pbr.MessageDescriptor Descriptor
staticget

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

◆ Negated

bool Negated
getset

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

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

◆ Parser

pb.MessageParser<TableConstraintProto> Parser
staticget

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

◆ Values

pbc.RepeatedField<long> Values
get

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

◆ Vars

pbc.RepeatedField<int> Vars
get

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


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