Next version of JABA
[jabaws.git] / binaries / src / muscle / edgelist.h
1 #ifndef EdgeList_h\r
2 #define EdgeList_h\r
3 \r
4 class EdgeList\r
5         {\r
6 public:\r
7         EdgeList();\r
8         virtual ~EdgeList();\r
9 \r
10 public:\r
11         void Clear();\r
12         void Add(unsigned uNode1, unsigned uNode2);\r
13         unsigned GetCount() const;\r
14         void GetEdge(unsigned uIndex, unsigned *ptruNode1, unsigned *ptruNode2) const;\r
15         void Copy(const EdgeList &rhs);\r
16         void LogMe() const;\r
17 \r
18 private:\r
19         void Expand();\r
20 \r
21 private:\r
22         unsigned m_uCount;\r
23         unsigned m_uCacheSize;\r
24         unsigned *m_uNode1;\r
25         unsigned *m_uNode2;\r
26         };\r
27 \r
28 #endif  // EdgeList_h\r