Move のstack.
More...
#include <moveStack.h>
Move のstack.
主に探索で今までにさされた指手を保存するのに使用. size() == 0 の時に lastMove と lastMove(2) は Move::INVALID() を返す.
Definition at line 14 of file moveStack.h.
◆ vector_t
◆ MoveStack()
| osl::MoveStack::MoveStack |
( |
| ) |
|
◆ ~MoveStack()
| osl::MoveStack::~MoveStack |
( |
| ) |
|
◆ clear()
| void osl::MoveStack::clear |
( |
| ) |
|
◆ dump() [1/2]
| void osl::MoveStack::dump |
( |
size_t | last_n = 0 | ) |
const |
◆ dump() [2/2]
| void osl::MoveStack::dump |
( |
std::ostream & | os, |
|
|
size_t | last_n = 0 ) const |
◆ hasLastMove()
| bool osl::container::MoveStack::hasLastMove |
( |
size_t | last = 1 | ) |
const |
|
inline |
◆ lastMove()
| const Move osl::container::MoveStack::lastMove |
( |
size_t | last = 1 | ) |
const |
|
inline |
◆ operator==()
| bool osl::container::MoveStack::operator== |
( |
const MoveStack & | r | ) |
const |
|
inline |
◆ pop()
| void osl::container::MoveStack::pop |
( |
| ) |
|
|
inline |
◆ push()
| void osl::container::MoveStack::push |
( |
Move | m | ) |
|
|
inline |
◆ reserve()
| void osl::MoveStack::reserve |
( |
size_t | capacity | ) |
|
◆ size()
| size_t osl::container::MoveStack::size |
( |
| ) |
const |
|
inline |
◆ data
| vector_t osl::container::MoveStack::data |
|
private |
The documentation for this class was generated from the following files: