//open file for pairing not included in the tree
notIncluded = filename + ".cons.pairs";
- openOutputFile(notIncluded, out2);
+ m->openOutputFile(notIncluded, out2);
consensusTree = new Tree();
}
outputFile = filename + ".cons.tre";
- openOutputFile(outputFile, out);
+ m->openOutputFile(outputFile, out);
consensusTree->printForBoot(out);
while (nodePairsCopy.size() != 0) {
if (m->control_pressed) { return 1; }
- vector<string> small = getSmallest(nodePairsCopy);
+ vector<string> smallOne = getSmallest(nodePairsCopy);
- int subgrouprate = getSubgroupRating(small);
+ int subgrouprate = getSubgroupRating(smallOne);
- nodePairsInitialRate[small] = nodePairs[small] + subgrouprate;
+ nodePairsInitialRate[smallOne] = nodePairs[smallOne] + subgrouprate;
- nodePairsCopy.erase(small);
+ nodePairsCopy.erase(smallOne);
}
return 0;