Backport trivial changes

This commit is contained in:
Guillaume Chatelet
2025-07-18 08:11:03 +00:00
committed by Corentin Le Molgat
parent 959bb0d51c
commit 46f73b3d35
47 changed files with 54 additions and 117 deletions

View File

@@ -130,8 +130,8 @@ void Tsp() {
// Setting the cost function.
// Put a permanent callback to the distance accessor here. The callback
// has the following signature: ResultCallback2<int64_t, int64_t, int64_t>.
// The two arguments are the from and to node indices.
// is of type `std::function<int64_t(int64_t, int64_t)>` and the two
// arguments are the from and to node indices.
RandomMatrix matrix(absl::GetFlag(FLAGS_tsp_size));
if (absl::GetFlag(FLAGS_tsp_use_random_matrix)) {
matrix.Initialize();