Move TarjanSCC from extractor to util (#6562)

This commit is contained in:
Jingchen Ye
2023-03-10 00:47:28 +08:00
committed by GitHub
parent a63ba91c8f
commit 0e7c3d8ad4
5 changed files with 9 additions and 9 deletions
+2 -2
View File
@@ -16,7 +16,6 @@
#include "extractor/restriction_graph.hpp"
#include "extractor/restriction_parser.hpp"
#include "extractor/scripting_environment.hpp"
#include "extractor/tarjan_scc.hpp"
#include "extractor/turn_path_filter.hpp"
#include "extractor/way_restriction_map.hpp"
@@ -31,6 +30,7 @@
#include "util/log.hpp"
#include "util/static_graph.hpp"
#include "util/static_rtree.hpp"
#include "util/tarjan_scc.hpp"
#include "util/timing_util.hpp"
// Keep debug include to make sure the debug header is in sync with types.
@@ -699,7 +699,7 @@ void Extractor::FindComponents(unsigned number_of_edge_based_nodes,
auto uncontracted_graph = UncontractedGraph(number_of_edge_based_nodes, edges);
TarjanSCC<UncontractedGraph> component_search(uncontracted_graph);
util::TarjanSCC<UncontractedGraph> component_search(uncontracted_graph);
component_search.Run();
for (NodeID node_id = 0; node_id < number_of_edge_based_nodes; ++node_id)