Move TarjanSCC from extractor to util (#6562)
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user