Google OR-Tools v9.9
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...

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]
 

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

Constructor & Destructor Documentation

◆ PartialVariableAssignment() [1/2]

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

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

◆ PartialVariableAssignment() [2/2]

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

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

Member Function Documentation

◆ CalculateSize()

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

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

◆ Clone()

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

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

◆ Equals() [1/2]

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

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

◆ Equals() [2/2]

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

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

◆ GetHashCode()

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

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

◆ MergeFrom() [1/2]

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

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

◆ MergeFrom() [2/2]

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

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

◆ ToString()

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

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

◆ WriteTo()

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

Definition at line 7639 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 7589 of file CpModel.pb.cs.

◆ VarsFieldNumber

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

Field number for the "vars" field.

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

Property Documentation

◆ Descriptor

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

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

◆ Parser

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

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

◆ Values

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

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

◆ Vars

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

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


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