Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
include
osl
search
analyzer
logWriter.h
Go to the documentation of this file.
1
/* logWriter.h
2
*/
3
#ifndef _LOGWRITER_H
4
#define _LOGWRITER_H
5
6
#include "
osl/move.h
"
7
#include <iosfwd>
8
9
namespace
osl
10
{
11
class
MoveLogProb;
12
namespace
search
13
{
14
class
SimpleHashRecord;
15
namespace
analyzer
16
{
22
class
LogWriter
23
{
24
public
:
25
enum
NodeType
{
NORMAL
=0,
IMPORTANT
=1,
ABNORMAL
=2, };
26
LogWriter
();
27
virtual
~LogWriter
();
31
virtual
void
showNode
(
Player
turn,
const
SimpleHashRecord
*record,
32
int
limit
,
NodeType
type)
const
= 0;
33
virtual
void
showNodeQuiescence
(
Player
turn,
34
const
SimpleHashRecord
*record,
35
int
limit
,
NodeType
type)
const
= 0;
36
virtual
void
showArc
(
const
SimpleHashRecord
*from,
37
const
SimpleHashRecord
*to,
38
const
MoveLogProb
& move,
bool
important)
const
= 0;
39
virtual
void
showComment
(
const
char
*
/*line*/
)
const
{}
40
};
41
}
// namespace analyzer
42
}
// namespace search
43
}
// namespace osl
44
45
#endif
/* _LOGWRITER_H */
46
// ;;; Local Variables:
47
// ;;; mode:c++
48
// ;;; c-basic-offset:2
49
// ;;; End:
Generated on Sun Jul 21 2013 13:37:24 by
1.8.4