printf("Adaptive Minimal Routing Threshold not specified: setting to default = 0. (Will consider minimal and nonminimal routes based on scoring metric alone)");
if(best_min_score<=best_non_min_score){//ties go to minimal
if(best_min_score<adaptive_threshold){//if our best min score is under the adaptive threshold, then we don't consider non-minimal routes, choose minimal
choose_minimal=true;
}
elseif(best_min_score<=best_non_min_score){//our best min score is over the adaptive threshold. So we compare best min score with best nonmin score. If best min is still better, then we choose minimal.
choose_minimal=true;
}
//else then we go with nonmin
}
elseif(scoring_preference==HIGHER){//higher scores are better