vector<vector<double> > SLibshuff::evaluateAll(){
try{
savedMins.resize(numGroups);
-
vector<vector<double> > dCXYValues(numGroups);
for(int i=0;i<numGroups;i++){
return dCXYValues;
}
catch(exception& e) {
- cout << "Standard Error: " << e.what() << " has occurred in the SLibshuff class Function evaluateAll. Please contact Pat Schloss at pschloss@microbio.umass.edu." << "\n";
+ m->errorOut(e, "SLibshuff", "evaluateAll");
exit(1);
}
- catch(...) {
- cout << "An unknown error has occurred in the SLibshuff class function evaluateAll. Please contact Pat Schloss at pschloss@microbio.umass.edu." << "\n";
- exit(1);
- }
-
}
/***********************************************************************/
double SLibshuff::sCalculate(int x, int y){
try{
+ double sum = 0.0,t=0.0;
+
minX = getMinX(x);
+
+ if (m->control_pressed) { return sum; }
+
minXY = getMinXY(x,y);
+
+ if (m->control_pressed) { return sum; }
sort(minX.begin(), minX.end());
+
+ if (m->control_pressed) { return sum; }
+
sort(minXY.begin(), minXY.end());
+
+ if (m->control_pressed) { return sum; }
- double sum = 0.0,t=0.0;
int ix=0,iy=0;
while( (ix < groupSizes[x]) && (iy < groupSizes[x]) ) {
double h = (ix-iy)/double(groupSizes[x]);
return sum;
}
catch(exception& e) {
- cout << "Standard Error: " << e.what() << " has occurred in the SLibshuff class Function sCalculate. Please contact Pat Schloss at pschloss@microbio.umass.edu." << "\n";
+ m->errorOut(e, "SLibshuff", "sCalculate");
exit(1);
}
- catch(...) {
- cout << "An unknown error has occurred in the SLibshuff class function sCalculate. Please contact Pat Schloss at pschloss@microbio.umass.edu." << "\n";
- exit(1);
- }
-
}
/***********************************************************************/