DotNet Reference
DotNet Reference
Detailed Description
The constraint target = vars[index].
This enforces that index takes one of the value in [0, vars_size()).
Definition at line 1324 of file CpModel.pb.cs.
Public Member Functions | |
| ElementConstraintProto () | |
| ElementConstraintProto (ElementConstraintProto other) | |
| ElementConstraintProto | Clone () |
| override bool | Equals (object other) |
| bool | Equals (ElementConstraintProto other) |
| override int | GetHashCode () |
| override string | ToString () |
| void | WriteTo (pb::CodedOutputStream output) |
| int | CalculateSize () |
| void | MergeFrom (ElementConstraintProto other) |
| void | MergeFrom (pb::CodedInputStream input) |
Static Public Attributes | |
| const int | IndexFieldNumber = 1 |
| Field number for the "index" field. More... | |
| const int | TargetFieldNumber = 2 |
| Field number for the "target" field. More... | |
| const int | VarsFieldNumber = 3 |
| Field number for the "vars" field. More... | |
Properties | |
| static pb::MessageParser< ElementConstraintProto > | Parser [get] |
| static pbr::MessageDescriptor | Descriptor [get] |
| int | Index [get, set] |
| int | Target [get, set] |
| pbc::RepeatedField< int > | Vars [get] |
Constructor & Destructor Documentation
◆ ElementConstraintProto() [1/2]
|
inline |
Definition at line 1341 of file CpModel.pb.cs.
◆ ElementConstraintProto() [2/2]
|
inline |
Definition at line 1348 of file CpModel.pb.cs.
Member Function Documentation
◆ CalculateSize()
|
inline |
Definition at line 1445 of file CpModel.pb.cs.
◆ Clone()
|
inline |
Definition at line 1356 of file CpModel.pb.cs.
◆ Equals() [1/2]
|
inline |
Definition at line 1398 of file CpModel.pb.cs.
◆ Equals() [2/2]
|
inline |
Definition at line 1393 of file CpModel.pb.cs.
◆ GetHashCode()
|
inline |
Definition at line 1412 of file CpModel.pb.cs.
◆ MergeFrom() [1/2]
|
inline |
Definition at line 1461 of file CpModel.pb.cs.
◆ MergeFrom() [2/2]
|
inline |
Definition at line 1476 of file CpModel.pb.cs.
◆ ToString()
|
inline |
Definition at line 1424 of file CpModel.pb.cs.
◆ WriteTo()
|
inline |
Definition at line 1429 of file CpModel.pb.cs.
Member Data Documentation
◆ IndexFieldNumber
|
static |
Field number for the "index" field.
Definition at line 1361 of file CpModel.pb.cs.
◆ TargetFieldNumber
|
static |
Field number for the "target" field.
Definition at line 1372 of file CpModel.pb.cs.
◆ VarsFieldNumber
|
static |
Field number for the "vars" field.
Definition at line 1383 of file CpModel.pb.cs.
Property Documentation
◆ Descriptor
|
staticget |
Definition at line 1331 of file CpModel.pb.cs.
◆ Index
|
getset |
Definition at line 1364 of file CpModel.pb.cs.
◆ Parser
|
staticget |
Definition at line 1328 of file CpModel.pb.cs.
◆ Target
|
getset |
Definition at line 1375 of file CpModel.pb.cs.
◆ Vars
|
get |
Definition at line 1388 of file CpModel.pb.cs.
The documentation for this class was generated from the following file: