Refactor: Remove unused method setGraph

This commit is contained in:
stefiosif
2022-09-29 23:48:00 +03:00
parent a1f955ebb9
commit b8f12e334a
3 changed files with 2 additions and 21 deletions

View File

@@ -29,8 +29,6 @@ public:
void remove(const T& u, const T& v) override;
std::map<T, SCC<T>> getSCCs() { return C; }
void setGraph(Digraph<T> G);
private:
// Array used to answer strong connectivity queries in O(1) time
std::map<T, T> A;
@@ -93,11 +91,6 @@ void RodittyZwick<T>::remove(const T& u, const T& v) {
findSCC();
}
template<typename T>
void RodittyZwick<T>::setGraph(Digraph<T> G) {
this->G = G;
}
}; // namespace algo
#endif