23 lines
450 B
C++
23 lines
450 B
C++
#ifndef DYNAMIC_RODITTY_ZWICK_H_
|
|
#ifndef DYNAMIC_RODITTY_ZWICK_H_
|
|
|
|
#include "algorithm/roditty_zwick.h"
|
|
|
|
namespace algo {
|
|
|
|
template<typename T>
|
|
class DynamicRodittyZwick : public RodittyZwick {
|
|
~DynamicRodittyZwick();
|
|
|
|
// Insert edge e(u,v) and maintain the transitive closure matrix
|
|
virtual void insert(const T& u, const T& v) =0;
|
|
};
|
|
|
|
template<typename T>
|
|
inline DynamicRodittyZwick<T>::~DynamicRodittyZwick() {
|
|
|
|
}
|
|
|
|
} // namespace algo
|
|
|
|
#endif |