探索ログ dot (www.graphviz.org) 用を書き出す. More...
#include <dotWriter.h>


Public Member Functions | |
| DotWriter (std::ostream &os) | |
| ~DotWriter () | |
| void | showNode (Player turn, const SimpleHashRecord *record, int limit, NodeType type) const |
| void | showNodeQuiescence (Player turn, const SimpleHashRecord *record, int limit, NodeType type) const |
| void | showArc (const SimpleHashRecord *from, const SimpleHashRecord *to, const MoveLogProb &move, bool important) const |
| void | showComment (const char *line) const |
Public Member Functions inherited from osl::search::analyzer::LogWriter | |
| LogWriter () | |
| virtual | ~LogWriter () |
Private Attributes | |
| boost::scoped_ptr< RecordSet > | written |
| 既に書いたノードを保存. More... | |
| std::ostream & | os |
Additional Inherited Members | |
Public Types inherited from osl::search::analyzer::LogWriter | |
| enum | NodeType { NORMAL =0, IMPORTANT =1, ABNORMAL =2 } |
探索ログ dot (www.graphviz.org) 用を書き出す.
Definition at line 25 of file dotWriter.h.
|
explicit |
Definition at line 15 of file dotWriter.cc.
References os.
| osl::search::analyzer::DotWriter::~DotWriter | ( | ) |
Definition at line 22 of file dotWriter.cc.
|
virtual |
Implements osl::search::analyzer::LogWriter.
Definition at line 161 of file dotWriter.cc.
References osl::csaShow(), osl::MoveLogProb::logProb(), and osl::MoveLogProb::move().
|
virtual |
Reimplemented from osl::search::analyzer::LogWriter.
Definition at line 28 of file dotWriter.cc.
|
virtual |
| important | ユーザが指定した読筋を指定する場合 true |
Implements osl::search::analyzer::LogWriter.
Definition at line 34 of file dotWriter.cc.
References osl::search::SimpleHashRecord::bestMove(), osl::BLACK, osl::csaShow(), osl::search::SimpleHashRecord::lowerBound(), osl::search::SimpleHashRecord::lowerLimit(), osl::MoveLogProb::move(), osl::search::SimpleHashRecord::upperBound(), and osl::search::SimpleHashRecord::upperLimit().
|
virtual |
Implements osl::search::analyzer::LogWriter.
Definition at line 99 of file dotWriter.cc.
References osl::BLACK, osl::search::QuiescenceRecord::lowerBound(), osl::search::QuiescenceRecord::lowerDepth(), osl::search::SimpleHashRecord::qrecord, osl::search::QuiescenceRecord::upperBound(), and osl::search::QuiescenceRecord::upperDepth().
|
private |
Definition at line 32 of file dotWriter.h.
Referenced by DotWriter().
|
private |
既に書いたノードを保存.
CAVEAT: from, と to を両方書くと from -> to のエッジも書かない
Definition at line 31 of file dotWriter.h.
1.8.4