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