export from google3

This commit is contained in:
Corentin Le Molgat
2022-09-26 17:38:42 +02:00
parent ba53ce319b
commit 2fea50c07f
10 changed files with 24 additions and 16 deletions

View File

@@ -174,7 +174,7 @@ public static class IntVarArrayHelper
}
}
// TODO(user): Try to move this code back to the .swig with @define macros.
// TODO(user): Try to move this code back to the .i with @define macros.
public partial class IntVarVector : IDisposable,
System.Collections.IEnumerable
#if !SWIG_DOTNET_1

View File

@@ -929,7 +929,7 @@ PROTO2_RETURN(operations_research::CpModel,
namespace operations_research {
// Globals
// IMPORTANT(corentinl): Global will be placed in operations_research_constraint_solver.cs
// IMPORTANT(user): Global will be placed in operations_research_constraint_solver.cs
// Ignored:
%ignore FillValues;
} // namespace operations_research

View File

@@ -2731,7 +2731,7 @@ class PathStateFilter : public LocalSearchFilter {
// Selection-based algorithm in O(n^2), to use for small change sets.
void MakeChainsFromChangedPathsAndArcsWithSelectionAlgorithm();
// From changed_paths_ and changed_arcs_, fill chains_ and paths_.
// Generic algorithm in O(std::sort(n)+n), to use for larger change sets.
// Generic algorithm in O(sort(n)+n), to use for larger change sets.
void MakeChainsFromChangedPathsAndArcsWithGenericAlgorithm();
const std::unique_ptr<PathState> path_state_;

View File

@@ -6564,6 +6564,7 @@ void RoutingDimension::InitializeTransits(
InitializeTransitVariables(slack_max);
}
// TODO(user): Apply -pointer-following.
void FillPathEvaluation(const std::vector<int64_t>& path,
const RoutingModel::TransitCallback2& evaluator,
std::vector<int64_t>* values) {