@@ -446,21 +446,6 @@ UnpackedPath search(SearchEngineData<Algorithm> &engine_working_data,
446446 // Get packed path as edges {from node ID, to node ID, from_clique_arc}
447447 auto packed_path = retrievePackedPathFromHeap (forward_heap, reverse_heap, middle);
448448
449- // if (!packed_path.empty())
450- // {
451- // std::cout << "packed_path: ";
452- // for (auto edge : packed_path)
453- // {
454- // std::cout << std::get<0>(edge) << ",";
455- // }
456- // std::cout << std::get<1>(packed_path.back());
457- // std::cout << std::endl;
458- // }
459- // else
460- // {
461- // std::cout << "no packed_path!" << std::endl;
462- // }
463-
464449 // Beware the edge case when start, middle, end are all the same.
465450 // In this case we return a single node, no edges. We also don't unpack.
466451 const NodeID source_node = !packed_path.empty () ? std::get<0 >(packed_path.front ()) : middle;
@@ -520,12 +505,7 @@ UnpackedPath search(SearchEngineData<Algorithm> &engine_working_data,
520505 unpacked_edges.insert (unpacked_edges.end (), subpath_edges.begin (), subpath_edges.end ());
521506 }
522507 }
523- // std::cout << "unpacked_nodes: ";
524- // for (auto node : unpacked_nodes)
525- // {
526- // std::cout << node << ", ";
527- // }
528- // std::cout << std::endl;
508+
529509 return std::make_tuple (weight, std::move (unpacked_nodes), std::move (unpacked_edges));
530510}
531511
0 commit comments