Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
lib
search
searchMonitor.cc
Go to the documentation of this file.
1
/* searchMonitor.cc
2
*/
3
#include "
osl/search/searchMonitor.h
"
4
#include "
osl/record/csa.h
"
5
#include <iostream>
6
#include <iomanip>
7
osl::search::SearchMonitor::
8
~SearchMonitor
()
9
{
10
}
11
12
void
osl::search::SearchMonitor::newDepth
(
int
)
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
24
void
osl::search::SearchMonitor::rootMove
(
Move
)
25
{
26
}
27
28
void
osl::search::SearchMonitor::rootFirstMove
(
Move
cur)
29
{
30
rootMove(cur);
31
}
32
33
void
osl::search::SearchMonitor::timeInfo
(
size_t
,
double
)
34
{
35
}
36
37
void
osl::search::SearchMonitor::hashInfo
(
double
)
38
{
39
}
40
41
void
osl::search::SearchMonitor::rootForcedMove
(
Move
)
42
{
43
}
44
45
void
osl::search::SearchMonitor::rootLossByCheckmate
()
46
{
47
}
48
49
void
osl::search::SearchMonitor::depthFinishedNormally
(
int
)
50
{
51
}
52
53
void
osl::search::SearchMonitor::searchFinished
()
54
{
55
}
56
57
//
58
void
osl::search::CerrMonitor::
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:
Generated on Sun Jul 21 2013 13:37:26 by
1.8.4