source: branches/stable/GDE/MUSCLE/src/clustset.h

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

added muscle sourcles amd makefile

File size: 576 bytes
Line 
1#ifndef ClustSet_h
2#define ClustSet_h
3
4enum JOIN;
5enum LINKAGE;
6class Clust;
7
8class ClustSet
9        {
10public:
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.