8 * Created by westcott on 10/13/09.
9 * Copyright 2009 Schloss Lab. All rights reserved.
18 /************************************************************/
22 int smallChild; //used to make linkTable work with list and rabund
23 clusterNode(int num, int par, int kid) : numSeq(num), parent(par), smallChild(kid) {};
26 /***********************************************************************/
30 HCluster(RAbundVector*, ListVector*);
31 bool update(int, int, float);
37 int getUpmostParent(int);
40 void updateArrayandLinkTable();
45 vector<clusterNode> clusterArray;
46 vector< map<int, int> > linkTable; // vector of maps - linkTable[1][6] = 2 would mean sequence in spot 1 has 2 links with sequence in 6
47 map<int, int> activeLinks; //maps sequence to index in linkTable
48 map<int, int>::iterator it;
49 map<int, int>::iterator it2;
59 /***********************************************************************/