class RAbundVector;
class ListVector;
-/***********************************************************************/
-struct linkNode {
- int links;
- float dist;
-
- linkNode() {};
- linkNode(int l, float a) : links(l), dist(a) {};
- ~linkNode() {};
-};
-
/***********************************************************************/
class HCluster {
public:
HCluster(RAbundVector*, ListVector*, string, string, NameAssignment*, float);
~HCluster(){};
- bool update(int, int, float);
+ double update(int, int, float);
void setMapWanted(bool m);
map<string, int> getSeqtoBin() { return seq2Bin; }
vector<seqDist> getSeqs();
void updateMap();
vector<seqDist> getSeqsFNNN();
vector<seqDist> getSeqsAN();
- void combineFile();
- void processFile();
+ int combineFile();
+ int processFile();
//seqDist getNextDist(char*, int&, int);
RAbundVector* rabund;
vector<seqDist> mergedMin;
string partialDist;
+ MothurOut* m;
};