Skip to content

Commit 1f56435

Browse files
committed
(doxy) fix errors
1 parent 269303e commit 1f56435

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/problem/vroom.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ namespace problem {
6060
void
6161
Vroom::add_jobs(
6262
const std::vector<Vroom_job_t> &jobs,
63-
const std::map<std::pair<Idx, char>, std::vector<::vroom::TimeWindow>> &job_tws) {
63+
const MapTW& job_tws) {
6464
std::vector<::vroom::TimeWindow> default_tw(1, ::vroom::TimeWindow());
6565
auto default_amount = ::vroom::Amount(m_vehicles.size() ? m_vehicles[0].capacity.size() : 0);
6666

@@ -89,7 +89,7 @@ Vroom::add_jobs(
8989
void
9090
Vroom::add_shipments(
9191
const std::vector<Vroom_shipment_t> &shipments,
92-
const std::map<std::pair<Idx, char>, std::vector<::vroom::TimeWindow>> &shipments_tws) {
92+
const MapTW& shipments_tws) {
9393
std::vector<::vroom::TimeWindow> default_tw(1, ::vroom::TimeWindow());
9494
for (auto shipment : shipments) {
9595
auto pick_tw = shipments_tws.find(std::make_pair(shipment.id, 'p')) == shipments_tws.end() ?
@@ -123,7 +123,7 @@ void
123123
Vroom::add_vehicles(
124124
const std::vector<Vroom_vehicle_t> &vehicles,
125125
const std::vector<Vroom_break_t> &breaks,
126-
const std::map<std::pair<Idx, char>, std::vector<::vroom::TimeWindow>> &breaks_tws) {
126+
const MapTW& breaks_tws) {
127127
std::vector<::vroom::TimeWindow> default_tw(1, ::vroom::TimeWindow());
128128

129129
std::map<Idx, std::vector<Vroom_break_t>> v_breaks_map;

0 commit comments

Comments
 (0)