tempary hack to fix cbp and clean in benchs.sh

This commit is contained in:
Tiago Gomes
2012-04-12 00:42:55 +01:00
parent 564958ef8d
commit 9def6c2b15
4 changed files with 11 additions and 10 deletions

View File

@@ -74,10 +74,8 @@ CFactorGraph::setInitialColors (void)
for (unsigned i = 0; i < facNodes.size(); i++) {
facNodes[i]->factor().setDistId (Util::maxUnsigned());
}
Util::printHeader ("Before check for identical factors");
groundFg_->print();
// FIXME FIXME FIXME : pfl should give correct dist ids.
if (checkForIdenticalFactors || false) {
if (checkForIdenticalFactors || true) {
unsigned groupCount = 1;
for (unsigned i = 0; i < facNodes.size(); i++) {
Factor& f1 = facNodes[i]->factor();
@@ -99,8 +97,6 @@ CFactorGraph::setInitialColors (void)
groupCount ++;
}
}
Util::printHeader ("After check for identical factors");
groundFg_->print();
// create the initial factor colors
DistColorMap distColors;
for (unsigned i = 0; i < facNodes.size(); i++) {