Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
Google.OrTools.ConstraintSolver.RecreateStrategy Class Referencesealed

Strategy defining how a solution is recreated. More...

Detailed Description

Strategy defining how a solution is recreated.

Definition at line 1701 of file RoutingIls.pb.cs.

Inheritance diagram for Google.OrTools.ConstraintSolver.RecreateStrategy:

Public Member Functions

 RecreateStrategy ()
 RecreateStrategy (RecreateStrategy other)
RecreateStrategy Clone ()
void ClearHeuristic ()
 Clears the value of the "heuristic" field.
override bool Equals (object other)
bool Equals (RecreateStrategy other)
override int GetHashCode ()
override string ToString ()
void WriteTo (pb::CodedOutputStream output)
int CalculateSize ()
void MergeFrom (RecreateStrategy other)
void MergeFrom (pb::CodedInputStream input)

Static Public Attributes

const int HeuristicFieldNumber = 1
 Field number for the "heuristic" field.
const int ParametersFieldNumber = 2
 Field number for the "parameters" field.

Properties

static pb::MessageParser< RecreateStrategyParser [get]
static pbr::MessageDescriptor Descriptor [get]
global::Google.OrTools.ConstraintSolver.FirstSolutionStrategy.Types.Value Heuristic [get, set]
bool HasHeuristic [get]
 Gets whether the "heuristic" field is set.
global::Google.OrTools.ConstraintSolver.RecreateParameters Parameters [get, set]
 The selected parameters should match the chosen recreate heuristic. If not set, the default parameters from the RoutingModel are used.

Constructor & Destructor Documentation

◆ RecreateStrategy() [1/2]

Google.OrTools.ConstraintSolver.RecreateStrategy.RecreateStrategy ( )
inline

Definition at line 1727 of file RoutingIls.pb.cs.

◆ RecreateStrategy() [2/2]

Google.OrTools.ConstraintSolver.RecreateStrategy.RecreateStrategy ( RecreateStrategy other)
inline

Definition at line 1735 of file RoutingIls.pb.cs.

Member Function Documentation

◆ CalculateSize()

int Google.OrTools.ConstraintSolver.RecreateStrategy.CalculateSize ( )
inline

Definition at line 1869 of file RoutingIls.pb.cs.

◆ ClearHeuristic()

void Google.OrTools.ConstraintSolver.RecreateStrategy.ClearHeuristic ( )
inline

Clears the value of the "heuristic" field.

Definition at line 1771 of file RoutingIls.pb.cs.

◆ Clone()

RecreateStrategy Google.OrTools.ConstraintSolver.RecreateStrategy.Clone ( )
inline

Definition at line 1744 of file RoutingIls.pb.cs.

◆ Equals() [1/2]

override bool Google.OrTools.ConstraintSolver.RecreateStrategy.Equals ( object other)
inline

Definition at line 1793 of file RoutingIls.pb.cs.

◆ Equals() [2/2]

bool Google.OrTools.ConstraintSolver.RecreateStrategy.Equals ( RecreateStrategy other)
inline

Definition at line 1799 of file RoutingIls.pb.cs.

◆ GetHashCode()

override int Google.OrTools.ConstraintSolver.RecreateStrategy.GetHashCode ( )
inline

Definition at line 1813 of file RoutingIls.pb.cs.

◆ MergeFrom() [1/2]

void Google.OrTools.ConstraintSolver.RecreateStrategy.MergeFrom ( pb.CodedInputStream input)
inline

Definition at line 1903 of file RoutingIls.pb.cs.

◆ MergeFrom() [2/2]

void Google.OrTools.ConstraintSolver.RecreateStrategy.MergeFrom ( RecreateStrategy other)
inline

Definition at line 1885 of file RoutingIls.pb.cs.

◆ ToString()

override string Google.OrTools.ConstraintSolver.RecreateStrategy.ToString ( )
inline

Definition at line 1825 of file RoutingIls.pb.cs.

◆ WriteTo()

void Google.OrTools.ConstraintSolver.RecreateStrategy.WriteTo ( pb.CodedOutputStream output)
inline

Definition at line 1831 of file RoutingIls.pb.cs.

Member Data Documentation

◆ HeuristicFieldNumber

const int Google.OrTools.ConstraintSolver.RecreateStrategy.HeuristicFieldNumber = 1
static

Field number for the "heuristic" field.

Definition at line 1749 of file RoutingIls.pb.cs.

◆ ParametersFieldNumber

const int Google.OrTools.ConstraintSolver.RecreateStrategy.ParametersFieldNumber = 2
static

Field number for the "parameters" field.

Definition at line 1776 of file RoutingIls.pb.cs.

Property Documentation

◆ Descriptor

pbr.MessageDescriptor Google.OrTools.ConstraintSolver.RecreateStrategy.Descriptor
staticget

Definition at line 1715 of file RoutingIls.pb.cs.

◆ HasHeuristic

bool Google.OrTools.ConstraintSolver.RecreateStrategy.HasHeuristic
get

Gets whether the "heuristic" field is set.

Definition at line 1765 of file RoutingIls.pb.cs.

◆ Heuristic

global.Google.OrTools.ConstraintSolver.FirstSolutionStrategy.Types.Value Google.OrTools.ConstraintSolver.RecreateStrategy.Heuristic
getset

Definition at line 1755 of file RoutingIls.pb.cs.

◆ Parameters

global.Google.OrTools.ConstraintSolver.RecreateParameters Google.OrTools.ConstraintSolver.RecreateStrategy.Parameters
getset

The selected parameters should match the chosen recreate heuristic. If not set, the default parameters from the RoutingModel are used.

Definition at line 1784 of file RoutingIls.pb.cs.

◆ Parser

pb.MessageParser<RecreateStrategy> Google.OrTools.ConstraintSolver.RecreateStrategy.Parser
staticget

Definition at line 1711 of file RoutingIls.pb.cs.


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