source: trunk/GDE/MUSCLE/src/edgelist.h

Last change on this file was 10390, checked in by aboeckma, 11 years ago

added muscle sourcles amd makefile

File size: 507 bytes
Line 
1#ifndef EdgeList_h
2#define EdgeList_h
3
4class EdgeList
5        {
6public:
7        EdgeList();
8        virtual ~EdgeList();
9
10public:
11        void Clear();
12        void Add(unsigned uNode1, unsigned uNode2);
13        unsigned GetCount() const;
14        void GetEdge(unsigned uIndex, unsigned *ptruNode1, unsigned *ptruNode2) const;
15        void Copy(const EdgeList &rhs);
16        void LogMe() const;
17
18private:
19        void Expand();
20
21private:
22        unsigned m_uCount;
23        unsigned m_uCacheSize;
24        unsigned *m_uNode1;
25        unsigned *m_uNode2;
26        };
27
28#endif  // EdgeList_h
Note: See TracBrowser for help on using the repository browser.