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
@@ -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