#include <SgSearch.h>
Keeps track of two moves that have been successful at a particular level. The moves are sorted by frequency.
Definition at line 33 of file SgSearch.h.
Public Member Functions | |
| SgKiller () | |
| void | MarkKiller (SgMove killer) |
| void | Clear () |
| SgMove | GetKiller1 () const |
| SgMove | GetKiller2 () const |
Private Attributes | |
| SgMove | m_killer1 |
| SgMove | m_killer2 |
| int | m_count1 |
| int | m_count2 |
| SgKiller::SgKiller | ( | ) |
Definition at line 56 of file SgSearch.h.
| void SgKiller::Clear | ( | ) |
Definition at line 61 of file SgSearch.cpp.
References m_count1, m_count2, m_killer1, m_killer2, and SG_NULLMOVE.
| SgMove SgKiller::GetKiller1 | ( | ) | const |
| SgMove SgKiller::GetKiller2 | ( | ) | const |
| void SgKiller::MarkKiller | ( | SgMove | killer | ) |
Definition at line 36 of file SgSearch.cpp.
References m_count1, m_count2, m_killer1, m_killer2, and SG_NULLMOVE.
int SgKiller::m_count1 [private] |
int SgKiller::m_count2 [private] |
SgMove SgKiller::m_killer1 [private] |
SgMove SgKiller::m_killer2 [private] |