]> git.donarmstrong.com Git - mothur.git/blobdiff - collectdisplay.h
added get.sharedotu command
[mothur.git] / collectdisplay.h
index 7e40ad7359c7553a033ee03645ad6eb2421012ae..0f18da6277853059464b1902aeb81b92a3facae1 100644 (file)
@@ -8,8 +8,6 @@
 #include "display.h"
 
 
-using namespace std;
-
 /***********************************************************************/
 
 class CollectDisplay : public Display {
@@ -28,7 +26,7 @@ public:
                data = estimate->getValues(shared);  //passes estimators a shared vector from each group to be compared
                
                //figure out what groups are being compared in getValues
-               //because the jumble parameter randomizes the order we need to put the results in the correct column in the output file
+               //because we randomizes the order we need to put the results in the correct column in the output file
                int group1Index, group2Index, pos;
                group1Index = shared[0]->getGroupIndex();
                group2Index = shared[1]->getGroupIndex();
@@ -78,7 +76,10 @@ public:
        void close()                    {       output->resetFile();    };
        bool isCalcMultiple() { return estimate->getMultiple(); }
        
+       string getName()        {  return estimate->getName();  }
+
 private:
+       
        Calculator* estimate;
        FileOutput* output;
        int nSeqs, timesCalled, numGroupComb;