#include <king8.h>
構成 | |
struct | MakeEffectStateDefense |
struct | MakeEffectStateSimple |
Public 型 | |
enum | { DIM = 32 } |
enum | EffectState { NOT_EMPTY = -1, NO_EFFECT = 0, LESS_EFFECT, MORE_EFFECT, MORE_EFFECT_KING_ONLY } |
typedef CArray< int, 32 > | table_t |
Public メソッド | |
template<class MakeEffectState > | |
std::pair< osl::CArray< int, 2 > , osl::CArray< int, 2 > > | evalWithUpdateCommon (const osl::state::NumEffectState &new_state, Move last_move, const CArray< int, 2 > &last_value_o, const CArray< int, 2 > &last_value_e, const table_t &table_o, const table_t &table_e) |
Static Public メソッド | |
template<class MakeEffectState > | |
static const CArray< int, 2 > | evalCommon (const osl::state::NumEffectState &state, const table_t &) |
template<class MakeEffectState > | |
static const CArray< int, 2 > | evalWithUpdateCommon (const osl::state::NumEffectState &new_state, Move last_move, const CArray< int, 2 > &last_value, const table_t &) |
template<class MakeEffectState > | |
static std::pair< CArray< int, 2 > , CArray< int, 2 > > | evalWithUpdateCommon (const NumEffectState &new_state, Move last_move, const CArray< int, 2 > &last_value_opening, const CArray< int, 2 > &last_value_ending, const table_t &, const table_t &) |
Static Protected メソッド | |
static int | index (const Direction dir, EffectState state) |
eval/ml/king8.h の 52 行で定義されています。
typedef CArray<int, 32> osl::eval::ml::King8EffectBase::table_t |
eval/ml/king8.h の 56 行で定義されています。
anonymous enum |
eval/ml/king8.h の 55 行で定義されています。
eval/ml/king8.h の 57 行で定義されています。
const osl::CArray< int, 2 > osl::eval::ml::King8EffectBase::evalCommon | ( | const osl::state::NumEffectState & | state, | |
const table_t & | table | |||
) | [inline, static] |
eval/ml/king8.cc の 212 行で定義されています。
参照先 osl::BLACK, index(), NOT_EMPTY, result, osl::SHORT8_DIRECTION_MAX, osl::SHORT8_DIRECTION_MIN, と osl::WHITE.
std::pair<osl::CArray<int,2>, osl::CArray<int,2> > osl::eval::ml::King8EffectBase::evalWithUpdateCommon | ( | const osl::state::NumEffectState & | new_state, | |
Move | last_move, | |||
const CArray< int, 2 > & | last_value_o, | |||
const CArray< int, 2 > & | last_value_e, | |||
const table_t & | table_o, | |||
const table_t & | table_e | |||
) | [inline] |
static std::pair<CArray<int,2>, CArray<int,2> > osl::eval::ml::King8EffectBase::evalWithUpdateCommon | ( | const NumEffectState & | new_state, | |
Move | last_move, | |||
const CArray< int, 2 > & | last_value_opening, | |||
const CArray< int, 2 > & | last_value_ending, | |||
const table_t & | , | |||
const table_t & | ||||
) | [inline, static] |
const osl::CArray< int, 2 > osl::eval::ml::King8EffectBase::evalWithUpdateCommon | ( | const osl::state::NumEffectState & | new_state, | |
Move | last_move, | |||
const CArray< int, 2 > & | last_value, | |||
const table_t & | table | |||
) | [inline, static] |
eval/ml/king8.cc の 240 行で定義されています。
参照先 osl::container::Board_Mask_Table3x3, osl::state::NumEffectState::changedEffects(), osl::Move::from(), osl::state::SimpleState::getKingPosition(), index(), osl::indexToPlayer(), NOT_EMPTY, result, osl::SHORT8_DIRECTION_MAX, osl::SHORT8_DIRECTION_MIN, と osl::Move::to().
static int osl::eval::ml::King8EffectBase::index | ( | const Direction | dir, | |
EffectState | state | |||
) | [inline, static, protected] |
eval/ml/king8.h の 80 行で定義されています。
参照元 evalCommon(), と evalWithUpdateCommon().