X-Git-Url: https://ruin.nu/git/?p=icfp05.git;a=blobdiff_plain;f=copsrc%2Fcop.cpp;fp=copsrc%2Fcop.cpp;h=90b54087237ca12ca5eb069b57e6c1a8acf4d679;hp=8434960aed079d7147727d8a96b6134aac5d4a30;hb=8b5e24a0d19af8af51155da4a5c8515bb3b8a7ee;hpb=311cc01a3137b22c5617305245588cef6ef48ba9 diff --git a/copsrc/cop.cpp b/copsrc/cop.cpp index 8434960..90b5408 100644 --- a/copsrc/cop.cpp +++ b/copsrc/cop.cpp @@ -216,12 +216,12 @@ void Cop::sendPlan(){ } if (positions.size() > 0){ _robberLocation = positions.top().second; - cerr << "Sending myself to: " << _robberLocation << ", probability of robber: " << positions.top().first << endl; + //cerr << "Sending myself to: " << _robberLocation << ", probability of robber: " << positions.top().first << endl; } for (int i = 0; i < 2 && positions.size() > 1; ++i ){ positions.pop(); locations.push_back(positions.top().second); - cerr << "Sending another cop to: " << locations.back() << ", probability of robber: " << positions.top().first << endl; + //cerr << "Sending another cop to: " << locations.back() << ", probability of robber: " << positions.top().first << endl; } }else{ locations.push_back(_robberLocation); @@ -249,7 +249,7 @@ void Cop::sendPlan(){ } } if (!cop.empty()){ - cerr << "Sending " << cop << " to " << locations.front() << endl; + //cerr << "Sending " << cop << " to " << locations.front() << endl; _copTargets[cop].first = locations.front(); busyCops.push_back(cop); }