| 185 | |
| 186 | template <class FD> |
| 187 | void Producer<FD>::clear_file(int my_num, int thread_num, bool initial) |
| 188 | { |
| 189 | ofstream outf; |
| 190 | string file = this->open_file(outf, my_num, thread_num, initial, true); |
| 191 | cout << "Initializing file " << file.c_str() << endl; |
| 192 | outf << ""; // Write something to clear the file out |
| 193 | if (outf.fail()) { throw file_error(file); } |
| 194 | outf.close(); |
| 195 | } |
| 196 | |
| 197 | template <class T, class FD, class S> |
| 198 | int TripleProducer<T,FD,S>::sacrifice(const Player& P, MAC_Check<T>& MC) |
no test coverage detected