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
@@ -1,6 +1,5 @@
#include "extractor/files.hpp"
#include "extractor/packed_osm_ids.hpp"
#include "extractor/tarjan_scc.hpp"
#include "util/coordinate.hpp"
#include "util/coordinate_calculation.hpp"
@@ -8,6 +7,7 @@
#include "util/fingerprint.hpp"
#include "util/log.hpp"
#include "util/static_graph.hpp"
#include "util/tarjan_scc.hpp"
#include "util/typedefs.hpp"
#include <boost/filesystem.hpp>
@@ -145,7 +145,7 @@ int main(int argc, char *argv[])
util::Log() << "Starting SCC graph traversal";
extractor::TarjanSCC<tools::TarjanGraph> tarjan{*graph};
util::TarjanSCC<tools::TarjanGraph> tarjan{*graph};
tarjan.Run();
util::Log() << "Identified: " << tarjan.GetNumberOfComponents() << " components";