All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
searchMonitor.cc
Go to the documentation of this file.
1 /* searchMonitor.cc
2  */
4 #include "osl/record/csa.h"
5 #include <iostream>
6 #include <iomanip>
9 {
10 }
11 
13 {
14 }
15 
16 void osl::search::SearchMonitor::showPV(int, size_t, double, int, Move, const Move *, const Move *, const bool*, const bool*)
17 {
18 }
19 
20 void osl::search::SearchMonitor::showFailLow(int, size_t, double, int, Move)
21 {
22 }
23 
25 {
26 }
27 
29 {
30  rootMove(cur);
31 }
32 
34 {
35 }
36 
38 {
39 }
40 
42 {
43 }
44 
46 {
47 }
48 
50 {
51 }
52 
54 {
55 }
56 
57 //
59 showPV(int depth, size_t /*node_count*/, double elapsed, int value, Move cur,
60  const Move *first, const Move *last,
61  const bool */*threatmate_first*/, const bool */*threatmate_last*/)
62 {
63  std::cerr << " " << record::csa::show(cur) << " "
64  << std::setw(6) << value
65  << " " << std::setw(2) << last -first
66  << "/" << std::setw(2) << depth << " ";
67  for (int i=0; i<last-first; ++i) {
68  std::cerr << record::csa::show(first[i]);
69  }
70  std::cerr << " " << elapsed << 's' << std::endl;
71 }
72 
73 
74 // ;;; Local Variables:
75 // ;;; mode:c++
76 // ;;; c-basic-offset:2
77 // ;;; End: