5 * Created by Thomas Ryabin on 3/6/09.
6 * Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
10 #include "bergerparker.h"
12 /***************************************************************/
14 EstOutput BergerParker::getValues(SAbundVector* rank){
18 double BP = (double)rank->getMaxRank() / (double)rank->getNumSeqs();
21 if (isnan(data[0]) || isinf(data[0])) { data[0] = 0; }
26 cout << "Standard Error: " << e.what() << " has occurred in the BergerParker class Function getValues. Please contact Pat Schloss at pschloss@microbio.umass.edu." << "\n";
30 cout << "An unknown error has occurred in the BergerParker class function getValues. Please contact Pat Schloss at pschloss@microbio.umass.edu." << "\n";
35 /***********************************************************************/