DotNet Reference

.Net Reference

Detailed Description

This message encodes a partial (or full) assignment of the variables of a CpModelProto.

The variable indices should be unique and valid variable indices.

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

Public Member Functions

 PartialVariableAssignment ()
 
 PartialVariableAssignment (PartialVariableAssignment other)
 
PartialVariableAssignment Clone ()
 
override bool Equals (object other)
 
bool Equals (PartialVariableAssignment other)
 
override int GetHashCode ()
 
override string ToString ()
 
void WriteTo (pb::CodedOutputStream output)
 
int CalculateSize ()
 
void MergeFrom (PartialVariableAssignment 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...
 

Properties

static pb::MessageParser< PartialVariableAssignmentParser [get]
 
static pbr::MessageDescriptor Descriptor [get]
 
pbc::RepeatedField< int > Vars [get]
 
pbc::RepeatedField< long > Values [get]
 

Constructor & Destructor Documentation

◆ PartialVariableAssignment() [1/2]

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

◆ PartialVariableAssignment() [2/2]

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

Member Function Documentation

◆ CalculateSize()

int CalculateSize ( )
inline

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

◆ Clone()

PartialVariableAssignment Clone ( )
inline

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

◆ Equals() [1/2]

override bool Equals ( object  other)
inline

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

◆ Equals() [2/2]

bool Equals ( PartialVariableAssignment  other)
inline

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

◆ GetHashCode()

override int GetHashCode ( )
inline

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

◆ MergeFrom() [1/2]

void MergeFrom ( PartialVariableAssignment  other)
inline

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

◆ MergeFrom() [2/2]

void MergeFrom ( pb::CodedInputStream  input)
inline

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

◆ ToString()

override string ToString ( )
inline

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

◆ WriteTo()

void WriteTo ( pb::CodedOutputStream  output)
inline

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

Member Data Documentation

◆ ValuesFieldNumber

const int ValuesFieldNumber = 2
static

Field number for the "values" field.

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

◆ VarsFieldNumber

const int VarsFieldNumber = 1
static

Field number for the "vars" field.

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

Property Documentation

◆ Descriptor

pbr.MessageDescriptor Descriptor
staticget

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

◆ Parser

pb.MessageParser<PartialVariableAssignment> Parser
staticget

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

◆ Values

pbc.RepeatedField<long> Values
get

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

◆ Vars

pbc.RepeatedField<int> Vars
get

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


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