Google OR-Tools
v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
routing_ils_parameters_utils.h
Go to the documentation of this file.
1
// Copyright 2010-2025 Google LLC
2
// Licensed under the Apache License, Version 2.0 (the "License");
3
// you may not use this file except in compliance with the License.
4
// You may obtain a copy of the License at
5
//
6
// http://www.apache.org/licenses/LICENSE-2.0
7
//
8
// Unless required by applicable law or agreed to in writing, software
9
// distributed under the License is distributed on an "AS IS" BASIS,
10
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
// See the License for the specific language governing permissions and
12
// limitations under the License.
13
14
#ifndef ORTOOLS_CONSTRAINT_SOLVER_ROUTING_ILS_PARAMETERS_UTILS_H_
15
#define ORTOOLS_CONSTRAINT_SOLVER_ROUTING_ILS_PARAMETERS_UTILS_H_
16
17
#include <string>
18
#include <vector>
19
20
#include "
ortools/constraint_solver/routing_enums.pb.h
"
21
#include "
ortools/constraint_solver/routing_ils.pb.h
"
22
23
namespace
operations_research
{
24
25
// Returns the appropriate parameters case for the given recreate heuristic.
26
// Returns PARAMETERS_NOT_SET if the heuristic is not supported.
27
RecreateParameters::ParametersCase
GetParameterCaseForRecreateHeuristic
(
28
FirstSolutionStrategy::Value
recreate_heuristic);
29
30
// Returns the list of supported recreate parameters cases.
31
std::vector<RecreateParameters::ParametersCase>
32
GetSupportedRecreateParametersCases
();
33
34
// Returns the name of the given recreate parameter.
35
std::string
GetRecreateParametersName
(
36
RecreateParameters::ParametersCase
parameters_case);
37
38
}
// namespace operations_research
39
40
#endif
// ORTOOLS_CONSTRAINT_SOLVER_ROUTING_ILS_PARAMETERS_UTILS_H_
operations_research::FirstSolutionStrategy::Value
FirstSolutionStrategy_Value Value
Definition
routing_enums.pb.h:667
operations_research::RecreateParameters::ParametersCase
ParametersCase
Definition
routing_ils.pb.h:2480
operations_research
OR-Tools root namespace.
Definition
binary_indexed_tree.h:21
operations_research::GetSupportedRecreateParametersCases
std::vector< RecreateParameters::ParametersCase > GetSupportedRecreateParametersCases()
Definition
routing_ils_parameters_utils.cc:45
operations_research::GetRecreateParametersName
std::string GetRecreateParametersName(RecreateParameters::ParametersCase parameters_case)
Definition
routing_ils_parameters_utils.cc:51
operations_research::GetParameterCaseForRecreateHeuristic
RecreateParameters::ParametersCase GetParameterCaseForRecreateHeuristic(FirstSolutionStrategy::Value recreate_heuristic)
Definition
routing_ils_parameters_utils.cc:24
routing_enums.pb.h
routing_ils.pb.h
ortools
constraint_solver
routing_ils_parameters_utils.h
Generated by
1.15.0