18 lines
387 B
C++
18 lines
387 B
C++
#ifndef DYNAMIC_REACHABILITY_H_
|
|
#define DYNAMIC_REACHABILITY_H_
|
|
|
|
#include "algorithm/decremental_reachability.h"
|
|
|
|
namespace algo {
|
|
|
|
template<typename T>
|
|
class DynamicReachability : public DecrementalReachability<T> {
|
|
|
|
// Insert edge e(u,v) and maintain the transitive closure matrix
|
|
virtual void insert(const T& c, const std::vector<T>& vertices) =0;
|
|
};
|
|
|
|
|
|
} // namespace algo
|
|
|
|
#endif |