*/
#include "mothur.h"
-#include "utilities.hpp"
+#include "groupmap.h"
+#include "listvector.hpp"
/* This class is used by the read.tree command to build the tree container. */
int vectorIndex;
};
-
+class GroupMap;
+class ListVector;
class TreeMap {
public:
map<string,int> seqsPerGroup; //groupname, number of seqs in that group.
map<string, GroupIndex> treemap; //sequence name and <groupname, vector index>
void print(ostream&);
-
+ void makeSim(GroupMap*); //takes groupmap info and fills treemap for use by tree.shared command.
+ void makeSim(ListVector*); //takes listvector info and fills treemap for use by tree.shared command.
private:
ifstream fileHandle;