Change project structure
This commit is contained in:
46
algorithm/decremental_tc.h
Normal file
46
algorithm/decremental_tc.h
Normal file
@@ -0,0 +1,46 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user