]> git.donarmstrong.com Git - mothur.git/blobdiff - sharedordervector.h
added pairwise.seqs
[mothur.git] / sharedordervector.h
index 30d655f7347c07fcb9a887ac5330959702e09382..3568450d3059e231c310e18e7073b434516f7c07 100644 (file)
@@ -15,8 +15,6 @@
        the group it is in and the abundance is equal to the OTU number.  */
 
 
-using namespace std;
-
 #include "datavector.hpp"
 
 struct individual {
@@ -28,6 +26,16 @@ struct individual {
                }
 };
 
+struct individualFloat {
+               string group;
+               int bin;
+               float abundance;
+               bool operator()(const individual& i1, const individual& i2) {
+               return (i1.abundance > i2.abundance);
+               }
+};
+
+
 #include "sabundvector.hpp"
 #include "rabundvector.hpp"
 #include "sharedrabundvector.h"