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 m->errorOut(e, "BergerParker", "getValues");
31 /***********************************************************************/