Line | |
---|
1 | #ifndef ClustSet_h |
---|
2 | #define ClustSet_h |
---|
3 | |
---|
4 | enum JOIN; |
---|
5 | enum LINKAGE; |
---|
6 | class Clust; |
---|
7 | |
---|
8 | class ClustSet |
---|
9 | { |
---|
10 | public: |
---|
11 | virtual unsigned GetLeafCount() = 0; |
---|
12 | virtual double ComputeDist(const Clust &C, unsigned uNodeIndex1, |
---|
13 | unsigned uNodeIndex2) = 0; |
---|
14 | virtual void JoinNodes(const Clust &C, unsigned uLeftNodeIndex, |
---|
15 | unsigned uRightNodeIndex, unsigned uJoinedNodeIndex, |
---|
16 | double *ptrdLeftLength, double *ptrdRightLength) = 0; |
---|
17 | virtual const char *GetLeafName(unsigned uNodeIndex) = 0; |
---|
18 | virtual unsigned GetLeafId(unsigned uNodeIndex) = 0; |
---|
19 | }; |
---|
20 | |
---|
21 | #endif // ClustSet_h |
---|
Note: See
TracBrowser
for help on using the repository browser.