#include <minorPiece.h>
Static Public Member Functions | |
static MultiInt | eval (const NumEffectState &state) |
Static Protected Member Functions | |
template<Player P> | |
static int | indexRetreat (Square pos) |
static int | indexSideX (Square pos) |
template<Player P> | |
static int | indexSideY (Square pos) |
template<Player P> | |
static bool | canRetreat (const NumEffectState &state, const Piece gold) |
template<Player P> | |
static bool | canMoveToSide (const NumEffectState &state, const Piece gold) |
template<Player P> | |
static MultiInt | evalOne (const NumEffectState &state, const Piece gold, const CArray< Square, 2 > &kings) |
Static Protected Attributes | |
static CArray< MultiInt, 153 > | knight_table |
static CArray< MultiInt, 9 > | retreat_table |
static CArray< MultiInt, 14 > | side_table |
Definition at line 599 of file minorPiece.h.
|
inlinestaticprotected |
Definition at line 622 of file minorPiece.h.
References osl::alt(), osl::NumEffectState::hasEffectAt(), osl::Square::isOnBoard(), osl::Piece::isOnBoardByOwner(), osl::Piece::owner(), osl::SimpleState::pieceAt(), and osl::Piece::square().
|
inlinestaticprotected |
Definition at line 423 of file minorPiece.cc.
References osl::alt(), osl::BLACK, osl::NumEffectState::hasEffectAt(), osl::Piece::isOnBoard(), osl::Piece::isOnBoardByOwner(), osl::Piece::owner(), osl::SimpleState::pieceAt(), osl::eval::ml::GoldRetreat::setUp(), osl::Piece::square(), osl::WHITE, and osl::Square::y().
Referenced by eval().
|
static |
Definition at line 397 of file minorPiece.cc.
References osl::BLACK, canRetreat(), osl::Piece::isOnBoard(), osl::SimpleState::kingSquare(), osl::Piece::owner(), osl::SimpleState::pieceOf(), and osl::WHITE.
Referenced by osl::eval::ml::OpenMidEndingEval::debugInfo(), osl::eval::ml::OpenMidEndingEval::OpenMidEndingEval(), osl::eval::ml::GoldSideMove::setUp(), and osl::eval::ml::OpenMidEndingEval::updateSub().
|
inlinestaticprotected |
Definition at line 640 of file minorPiece.h.
References osl::BLACK, osl::NumEffectState::hasEffectAt(), osl::Piece::isEmpty(), osl::SimpleState::kingSquare(), osl::Square::neighbor(), osl::Piece::owner(), osl::SimpleState::pieceAt(), osl::Piece::square(), osl::UUL, osl::UUR, osl::Square::x(), and osl::Square::y().
|
inlinestaticprotected |
Definition at line 605 of file minorPiece.h.
References osl::BLACK, and osl::Square::y().
|
inlinestaticprotected |
Definition at line 609 of file minorPiece.h.
References osl::Square::x().
|
inlinestaticprotected |
Definition at line 614 of file minorPiece.h.
References osl::BLACK, and osl::Square::y().
|
staticprotected |
Definition at line 670 of file minorPiece.h.
Referenced by osl::eval::ml::SilverRetreat::setUp().
|
staticprotected |
Definition at line 671 of file minorPiece.h.
Referenced by osl::eval::ml::SilverRetreat::setUp().
|
staticprotected |
Definition at line 672 of file minorPiece.h.
Referenced by osl::eval::ml::SilverRetreat::setUp().