X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=sharedordervector.h;fp=sharedordervector.h;h=3568450d3059e231c310e18e7073b434516f7c07;hb=e4c80376cc4533f66c8dfc18f3e1a86a60ac17fe;hp=d0a714cf98c8d0406fc5ebba751d4fe63d40ac31;hpb=8f7164a88df624fd0a8d1eddbb3d744463cc9ecb;p=mothur.git diff --git a/sharedordervector.h b/sharedordervector.h index d0a714c..3568450 100644 --- a/sharedordervector.h +++ b/sharedordervector.h @@ -26,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"