From 7997a696b953fb14644aec6f31804770ab585132 Mon Sep 17 00:00:00 2001 From: Romain BERNARD <romain.bernard@uca.fr> Date: Mon, 24 Jun 2024 17:37:33 +0200 Subject: [PATCH] use appropriate debug message macro names --- src/algorithm/DARP/Heuristics/BestInsertionHeuristic.cpp | 2 +- src/routes/vehicle/SAEVRoute.cpp | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/algorithm/DARP/Heuristics/BestInsertionHeuristic.cpp b/src/algorithm/DARP/Heuristics/BestInsertionHeuristic.cpp index 7bcdf59..e846571 100644 --- a/src/algorithm/DARP/Heuristics/BestInsertionHeuristic.cpp +++ b/src/algorithm/DARP/Heuristics/BestInsertionHeuristic.cpp @@ -4,7 +4,7 @@ #include "BestInsertionHeuristic.h" -#ifdef DEBUG_TRANSIT_PRECOMPUTE +#ifdef DEBUG_BEST_INSERTION_HEURISTIC #include <iostream> #define DEBUG_MSG(str) do { std::cout << str << std::endl; } while( false ) #else diff --git a/src/routes/vehicle/SAEVRoute.cpp b/src/routes/vehicle/SAEVRoute.cpp index cbc1065..03f267e 100644 --- a/src/routes/vehicle/SAEVRoute.cpp +++ b/src/routes/vehicle/SAEVRoute.cpp @@ -7,7 +7,7 @@ #include "SAEVRoute.h" #include "BestInsertionQueue.h" -#ifdef DEBUG_TRANSIT_PRECOMPUTE +#ifdef DEBUG_CONSTRAINT_PROPAGATION #include <iostream> #define DEBUG_MSG(str) do { std::cout << str << std::endl; } while( false ) #else @@ -286,7 +286,6 @@ SAEVRouteChangelist SAEVRoute::insertRequestWithPropagation(const size_t request } } - DEBUG_MSG("INSERTION SUCCESS"); changelist.setStatus(SAEVRouteChangelist::InsertionStatus::SUCCESS); changelist.setScore(getDetourScore(requestId, originRequestPredecessorKP, destinationRequestPredecessorKP)); return changelist; -- GitLab