]> git.donarmstrong.com Git - mothur.git/blobdiff - readblast.h
precluster command finished
[mothur.git] / readblast.h
index 0b47b5942d7126cec59ce0923a66c1bc4c6ff4e1..128c144fc3d29109453331c059b478c18f7a6bfe 100644 (file)
 #include "sparsematrix.hpp"
 #include "nameassignment.hpp"
 
-/****************************************************************************************/
-struct DistNode {
-       int seq1;
-       int seq2;
-       float dist;
-       DistNode(int s1, int s2, float d) : seq1(s1), seq2(s2), dist(d) {}
-       DistNode() {}
-       ~DistNode() {}
-};
 /****************************************************************************************/
 
 //Note: this class creates a sparsematrix and list if the read is executed, but does not delete them on deconstruction.
@@ -36,7 +27,7 @@ public:
        
        void read(NameAssignment*);
        SparseMatrix* getDistMatrix()           {       return matrix;          }
-       vector<DistNode> getOverlapMatrix()     {       return overlap;         }
+       vector<seqDist> getOverlapMatrix()      {       return overlap;         }
        string getOverlapFile()                         {       return overlapFile;     }
        string getDistFile()                            {       return distFile;        }
        
@@ -48,7 +39,7 @@ private:
        bool hclusterWanted;
        
        SparseMatrix* matrix;
-       vector<DistNode> overlap;
+       vector<seqDist> overlap;
        
        void readNames(NameAssignment*);
 };