GCS: Add debug code to identify the popularity contest selected redundant that is removed

This commit is contained in:
Abdullah Tahiri
2020-06-28 08:34:22 +02:00
committed by abdullahtahiriyo
parent 088abe7353
commit 56db6f0e80

View File

@@ -4249,6 +4249,11 @@ SolverReportingManager::Manager().LogToFile("GCS::System::diagnose()\n");
for (std::size_t j=0; j < conflictGroupsOrig[i].size(); j++) {
if (redundant.count(conflictGroupsOrig[i][j]) > 0) {
isRedundant = true;
if(debugMode==IterationLevel) {
Base::Console().Log("(Partially) Redundant, Group %d, index %d, Tag: %d\n", i,j, (conflictGroupsOrig[i][j])->getTag());
}
break;
}
}