DotNet Reference
DotNet Reference
Detailed Description
Define the strategy to follow when the solver needs to take a new decision.
Note that this strategy is only defined on a subset of variables.
Definition at line 5083 of file CpModel.pb.cs.
Classes | |
| class | Types |
| Container for nested types declared in the DecisionStrategyProto message type. More... | |
Public Member Functions | |
| DecisionStrategyProto () | |
| DecisionStrategyProto (DecisionStrategyProto other) | |
| DecisionStrategyProto | Clone () |
| override bool | Equals (object other) |
| bool | Equals (DecisionStrategyProto other) |
| override int | GetHashCode () |
| override string | ToString () |
| void | WriteTo (pb::CodedOutputStream output) |
| int | CalculateSize () |
| void | MergeFrom (DecisionStrategyProto other) |
| void | MergeFrom (pb::CodedInputStream input) |
Static Public Attributes | |
| const int | VariablesFieldNumber = 1 |
| Field number for the "variables" field. More... | |
| const int | VariableSelectionStrategyFieldNumber = 2 |
| Field number for the "variable_selection_strategy" field. More... | |
| const int | DomainReductionStrategyFieldNumber = 3 |
| Field number for the "domain_reduction_strategy" field. More... | |
| const int | TransformationsFieldNumber = 4 |
| Field number for the "transformations" field. More... | |
Properties | |
| static pb::MessageParser< DecisionStrategyProto > | Parser [get] |
| static pbr::MessageDescriptor | Descriptor [get] |
| pbc::RepeatedField< int > | Variables [get] |
| The variables to be considered for the next decision. More... | |
| global::Google.OrTools.Sat.DecisionStrategyProto.Types.VariableSelectionStrategy | VariableSelectionStrategy [get, set] |
| global::Google.OrTools.Sat.DecisionStrategyProto.Types.DomainReductionStrategy | DomainReductionStrategy [get, set] |
| pbc::RepeatedField< global::Google.OrTools.Sat.DecisionStrategyProto.Types.AffineTransformation > | Transformations [get] |
Constructor & Destructor Documentation
◆ DecisionStrategyProto() [1/2]
|
inline |
Definition at line 5100 of file CpModel.pb.cs.
◆ DecisionStrategyProto() [2/2]
|
inline |
Definition at line 5107 of file CpModel.pb.cs.
Member Function Documentation
◆ CalculateSize()
|
inline |
Definition at line 5223 of file CpModel.pb.cs.
◆ Clone()
|
inline |
Definition at line 5116 of file CpModel.pb.cs.
◆ Equals() [1/2]
|
inline |
Definition at line 5173 of file CpModel.pb.cs.
◆ Equals() [2/2]
|
inline |
Definition at line 5168 of file CpModel.pb.cs.
◆ GetHashCode()
|
inline |
Definition at line 5188 of file CpModel.pb.cs.
◆ MergeFrom() [1/2]
|
inline |
Definition at line 5240 of file CpModel.pb.cs.
◆ MergeFrom() [2/2]
|
inline |
Definition at line 5256 of file CpModel.pb.cs.
◆ ToString()
|
inline |
Definition at line 5201 of file CpModel.pb.cs.
◆ WriteTo()
|
inline |
Definition at line 5206 of file CpModel.pb.cs.
Member Data Documentation
◆ DomainReductionStrategyFieldNumber
|
static |
Field number for the "domain_reduction_strategy" field.
Definition at line 5147 of file CpModel.pb.cs.
◆ TransformationsFieldNumber
|
static |
Field number for the "transformations" field.
Definition at line 5158 of file CpModel.pb.cs.
◆ VariableSelectionStrategyFieldNumber
|
static |
Field number for the "variable_selection_strategy" field.
Definition at line 5136 of file CpModel.pb.cs.
◆ VariablesFieldNumber
|
static |
Field number for the "variables" field.
Definition at line 5121 of file CpModel.pb.cs.
Property Documentation
◆ Descriptor
|
staticget |
Definition at line 5090 of file CpModel.pb.cs.
◆ DomainReductionStrategy
|
getset |
Definition at line 5150 of file CpModel.pb.cs.
◆ Parser
|
staticget |
Definition at line 5087 of file CpModel.pb.cs.
◆ Transformations
|
get |
Definition at line 5163 of file CpModel.pb.cs.
◆ Variables
|
get |
The variables to be considered for the next decision.
The order matter and is always used as a tie-breaker after the variable selection strategy criteria defined below.
Definition at line 5131 of file CpModel.pb.cs.
◆ VariableSelectionStrategy
|
getset |
Definition at line 5139 of file CpModel.pb.cs.
The documentation for this class was generated from the following file: