Google OR-Tools v9.12
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 7917 of file CpModel.pb.cs.

Constructor & Destructor Documentation

◆ PartialVariableAssignment() [1/2]

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

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

◆ PartialVariableAssignment() [2/2]

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

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

Member Function Documentation

◆ CalculateSize()

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

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

◆ Clone()

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

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

◆ Equals() [1/2]

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

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

◆ Equals() [2/2]

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

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

◆ GetHashCode()

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

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

◆ MergeFrom() [1/2]

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

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

◆ MergeFrom() [2/2]

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

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

◆ ToString()

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

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

◆ WriteTo()

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

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

◆ VarsFieldNumber

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

Field number for the "vars" field.

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

Property Documentation

◆ Descriptor

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

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

◆ Parser

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

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

◆ Values

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

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

◆ Vars

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

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


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