Refactor: Change reachability interfaces to handle multiple removals/insertions

This commit is contained in:
stefiosif
2022-10-15 10:40:08 +03:00
parent 04ab33888e
commit e7fd88f82c
8 changed files with 41 additions and 37 deletions

View File

@@ -9,7 +9,7 @@ template<typename T>
class DynamicReachability : public DecrementalReachability<T> {
// Insert edge e(u,v) and maintain the transitive closure matrix
virtual void insert(const T& u, const T& v) =0;
virtual void insert(const T& c, const std::vector<T>& vertices) =0;
};