From 1f56435321eed79e25ed2c5c22929baa8b324e50 Mon Sep 17 00:00:00 2001 From: cvvergara Date: Fri, 13 Sep 2024 10:25:54 -0600 Subject: [PATCH] (doxy) fix errors --- src/problem/vroom.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/problem/vroom.cpp b/src/problem/vroom.cpp index cd0cc97ea..e4f73b83a 100644 --- a/src/problem/vroom.cpp +++ b/src/problem/vroom.cpp @@ -60,7 +60,7 @@ namespace problem { void Vroom::add_jobs( const std::vector &jobs, - const std::map, std::vector<::vroom::TimeWindow>> &job_tws) { + const MapTW& job_tws) { std::vector<::vroom::TimeWindow> default_tw(1, ::vroom::TimeWindow()); auto default_amount = ::vroom::Amount(m_vehicles.size() ? m_vehicles[0].capacity.size() : 0); @@ -89,7 +89,7 @@ Vroom::add_jobs( void Vroom::add_shipments( const std::vector &shipments, - const std::map, std::vector<::vroom::TimeWindow>> &shipments_tws) { + const MapTW& shipments_tws) { std::vector<::vroom::TimeWindow> default_tw(1, ::vroom::TimeWindow()); for (auto shipment : shipments) { auto pick_tw = shipments_tws.find(std::make_pair(shipment.id, 'p')) == shipments_tws.end() ? @@ -123,7 +123,7 @@ void Vroom::add_vehicles( const std::vector &vehicles, const std::vector &breaks, - const std::map, std::vector<::vroom::TimeWindow>> &breaks_tws) { + const MapTW& breaks_tws) { std::vector<::vroom::TimeWindow> default_tw(1, ::vroom::TimeWindow()); std::map> v_breaks_map;