46 lines
729 B
C++
46 lines
729 B
C++
#ifndef DECREMENTAL_TC_H_
|
|
#define DECREMENTAL_TC_H_
|
|
|
|
#include "graph/digraph.h"
|
|
#include "graph/scc.h"
|
|
#include "algorithm/tarjan.h"
|
|
#include "algorithm/bfs.h"
|
|
#include "algorithm/roditty_zwick.h"
|
|
|
|
namespace algo {
|
|
|
|
template<typename T>
|
|
class DecrementalTC : public RodittyZwick<T> {
|
|
public:
|
|
DecrementalTC(Digraph<T> G) : G(G) {}
|
|
|
|
//
|
|
void init();
|
|
|
|
//
|
|
bool query(const T& u, const T& v);
|
|
|
|
//
|
|
void remove(const T& u, const T& v);
|
|
};
|
|
|
|
|
|
template<typename T>
|
|
inline void DecrementalTC<T>::init() {
|
|
|
|
}
|
|
|
|
template<typename T>
|
|
inline bool DecrementalTC<T>::query(const T& u, const T& v) {
|
|
|
|
return false;
|
|
}
|
|
|
|
template<typename T>
|
|
inline void DecrementalTC<T>::remove(const T& u, const T& v) {
|
|
|
|
}
|
|
|
|
} // namespace algo
|
|
|
|
#endif |