disable printing
parent
a5f1d68099
commit
2570492fa6
|
|
@ -167,8 +167,6 @@ void solveStaged(size_t addMutex = 2) {
|
||||||
gttoc_(eliminate);
|
gttoc_(eliminate);
|
||||||
|
|
||||||
// find root node
|
// find root node
|
||||||
chordal->back()->print("back: ");
|
|
||||||
chordal->front()->print("front: ");
|
|
||||||
DiscreteConditional::shared_ptr root = chordal->back();
|
DiscreteConditional::shared_ptr root = chordal->back();
|
||||||
if (debug)
|
if (debug)
|
||||||
root->print(""/*scheduler.studentName(s)*/);
|
root->print(""/*scheduler.studentName(s)*/);
|
||||||
|
|
@ -334,8 +332,6 @@ void accomodateStudent() {
|
||||||
// get corresponding count
|
// get corresponding count
|
||||||
DiscreteKey dkey = scheduler.studentKey(0);
|
DiscreteKey dkey = scheduler.studentKey(0);
|
||||||
values[dkey.first] = bestSlot;
|
values[dkey.first] = bestSlot;
|
||||||
values.print("Values: ");
|
|
||||||
root->print("Root: ");
|
|
||||||
size_t count = (*root)(values);
|
size_t count = (*root)(values);
|
||||||
cout << boost::format("%s = %d (%d), count = %d") % scheduler.studentName(0)
|
cout << boost::format("%s = %d (%d), count = %d") % scheduler.studentName(0)
|
||||||
% scheduler.slotName(bestSlot) % bestSlot % count << endl;
|
% scheduler.slotName(bestSlot) % bestSlot % count << endl;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue