Refactor: Remove unused method setGraph
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user