Move のstack.
[詳細]
#include <moveStack.h>
すべてのメンバ一覧
説明
Move のstack.
主に探索で今までにさされた指手を保存するのに使用. size() == 0 の時に lastMove と lastMove(2) は Move::INVALID() を返す.
moveStack.h の 14 行で定義されています。
型定義
コンストラクタとデストラクタ
osl::container::MoveStack::MoveStack |
( |
|
) |
|
osl::container::MoveStack::~MoveStack |
( |
|
) |
|
関数
void osl::container::MoveStack::clear |
( |
|
) |
|
void osl::container::MoveStack::dump |
( |
size_t |
last_n = 0 |
) |
const |
void osl::container::MoveStack::dump |
( |
std::ostream & |
, |
|
|
size_t |
last_n = 0 | |
|
) |
| | const |
bool osl::container::MoveStack::hasLastMove |
( |
size_t |
last = 1 |
) |
const [inline] |
const Move osl::container::MoveStack::lastMove |
( |
size_t |
last = 1 |
) |
const [inline] |
bool osl::container::MoveStack::operator== |
( |
const MoveStack & |
r |
) |
const [inline] |
void osl::container::MoveStack::pop |
( |
|
) |
[inline] |
void osl::container::MoveStack::push |
( |
Move |
m |
) |
[inline] |
void osl::container::MoveStack::reserve |
( |
size_t |
|
) |
|
size_t osl::container::MoveStack::size |
( |
|
) |
const [inline] |
変数
このクラスの説明は次のファイルから生成されました: