LinkEval.hpp

Go to the documentation of this file.
00001 #ifndef wali_graph__LINK_EVAL_H_
00002 #define wali_graph__LINK_EVAL_H_
00003 
00004 namespace wali {
00005     namespace graph {
00006         class LinkEval {
00007             private:
00008                 int n;
00009                 int *ancestor;
00010                 int *label;
00011                 int *semi;
00012             public:
00013                 LinkEval(int _n, int *s);
00014                 ~LinkEval();
00015                 void link(int,int);
00016                 int eval(int);
00017             private:
00018                 void compress(int);
00019         };
00020     }
00021 }
00022 
00023 #endif // wali_graph__LINK_EVAL_H_