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

This message encodes a partial (or full) assignment of the variables of a CpModelProto. The variable indices should be unique and valid variable indices. More...

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

Inheritance diagram for Google.OrTools.Sat.PartialVariableAssignment:

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

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]

Google.OrTools.Sat.PartialVariableAssignment.PartialVariableAssignment ( )
inline

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

◆ PartialVariableAssignment() [2/2]

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

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

Member Function Documentation

◆ CalculateSize()

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

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

◆ Clone()

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

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

◆ Equals() [1/2]

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

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

◆ Equals() [2/2]

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

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

◆ GetHashCode()

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

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

◆ MergeFrom() [1/2]

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

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

◆ MergeFrom() [2/2]

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

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

◆ ToString()

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

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

◆ WriteTo()

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

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

Member Data Documentation

◆ ValuesFieldNumber

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

Field number for the "values" field.

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

◆ VarsFieldNumber

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

Field number for the "vars" field.

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

Property Documentation

◆ Descriptor

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

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

◆ Parser

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

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

◆ Values

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

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

◆ Vars

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

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


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