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 -1
View File
@@ -10,7 +10,7 @@
namespace osrm::util
{
// This Wrapper provides all methods that are needed for extractor::TarjanSCC, when the graph is
// This Wrapper provides all methods that are needed for util::TarjanSCC, when the graph is
// given in a matrix representation (e.g. as output from a distance table call)
template <typename T> class MatrixGraphWrapper
@@ -22,7 +22,7 @@
#include <stack>
#include <vector>
namespace osrm::extractor
namespace osrm::util
{
template <typename GraphT> class TarjanSCC
@@ -178,6 +178,6 @@ template <typename GraphT> class TarjanSCC
unsigned GetComponentID(const NodeID node) const { return components_index[node]; }
};
} // namespace osrm::extractor
} // namespace osrm::util
#endif /* TARJAN_SCC_HPP */