#define SHAREDORDER_H
/*
* sharedorder.h
- * Dotur
+ * Mothur
*
* Created by Sarah Westcott on 12/9/08.
* Copyright 2008 Schloss Lab UMASS Amherst. All rights reserved.
string group;
int bin;
int abundance;
+ bool operator()(const individual& i1, const individual& i2) {
+ return (i1.abundance > i2.abundance);
+ }
};
#include "sabundvector.hpp"
#include "sharedsabundvector.h"
#include "globaldata.hpp"
#include "groupmap.h"
+//#include "globaldata.hpp"
+
+class GlobalData;
class SharedOrderVector : public DataVector {
SharedOrderVector getSharedOrderVector();
SharedRAbundVector getSharedRAbundVector(string); //get the sharedRabundvector for a sepecific group
SharedSAbundVector getSharedSAbundVector(string); //get the sharedSabundvector for a sepecific group
+ vector<SharedRAbundVector*> getSharedRAbundVector(); //returns sharedRabundVectors for all the users groups
private:
GlobalData* globaldata;