Move TarjanSCC from extractor to util (#6562)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#include "partitioner/recursive_bisection_state.hpp"
|
||||
#include "extractor/tarjan_scc.hpp"
|
||||
#include "partitioner/tarjan_graph_wrapper.hpp"
|
||||
#include "util/tarjan_scc.hpp"
|
||||
|
||||
#include <algorithm>
|
||||
#include <climits> // for CHAR_BIT
|
||||
@@ -89,7 +89,7 @@ RecursiveBisectionState::PrePartitionWithSCC(const std::size_t small_component_s
|
||||
// since our graphs are unidirectional, we don't realy need the scc. But tarjan is so nice and
|
||||
// assigns IDs and counts sizes
|
||||
TarjanGraphWrapper wrapped_graph(bisection_graph);
|
||||
extractor::TarjanSCC<TarjanGraphWrapper> scc_algo(wrapped_graph);
|
||||
util::TarjanSCC<TarjanGraphWrapper> scc_algo(wrapped_graph);
|
||||
scc_algo.Run();
|
||||
|
||||
// Map Edges to Sccs
|
||||
|
||||
Reference in New Issue
Block a user