|
My Project
|
#include <majorPiece.h>
Static Public Member Functions | |
| static MultiInt | eval (const NumEffectState &state) |
Static Private Member Functions | |
| static void | countBetween (const NumEffectState &state, Square king, Piece bishop, int &self_count, int &opp_count, int &total_count) |
Static Private Attributes | |
| static CArray< MultiInt, 9 > | self_table |
| static CArray< MultiInt, 9 > | opp_table |
| static CArray< MultiInt, 9 > | all_table |
Friends | |
| class | NumPiecesBetweenBishopAndKingSelf |
| class | NumPiecesBetweenBishopAndKingOpp |
| class | NumPiecesBetweenBishopAndKingAll |
Definition at line 498 of file majorPiece.h.
|
staticprivate |
Definition at line 862 of file majorPiece.cc.
References osl::BLACK, osl::Board_Table, osl::DL, osl::DR, osl::inverse(), osl::Piece::isEmpty(), osl::Piece::isOnBoard(), osl::NumEffectState::mobilityOf(), osl::Piece::number(), osl::Piece::owner(), osl::SimpleState::pieceAt(), osl::Piece::square(), osl::UL, osl::UR, osl::Square::x(), and osl::Square::y().
Referenced by eval().
|
static |
Definition at line 833 of file majorPiece.cc.
References all_table, osl::alt(), osl::BLACK, countBetween(), osl::Piece::isOnBoard(), osl::SimpleState::kingSquare(), opp_table, osl::Piece::owner(), osl::SimpleState::pieceOf(), and self_table.
Referenced by NumPiecesBetweenBishopAndKingAll, osl::eval::ml::OpenMidEndingEval::OpenMidEndingEval(), and osl::eval::ml::OpenMidEndingEval::updateSub().
|
friend |
Definition at line 502 of file majorPiece.h.
References eval(), and NumPiecesBetweenBishopAndKingAll.
Referenced by NumPiecesBetweenBishopAndKingAll.
|
friend |
Definition at line 501 of file majorPiece.h.
References NumPiecesBetweenBishopAndKingOpp.
Referenced by NumPiecesBetweenBishopAndKingOpp.
|
friend |
Definition at line 500 of file majorPiece.h.
References NumPiecesBetweenBishopAndKingSelf.
Referenced by NumPiecesBetweenBishopAndKingSelf.
|
staticprivate |
Definition at line 512 of file majorPiece.h.
Referenced by eval(), and osl::eval::ml::NumPiecesBetweenBishopAndKingAll::setUp().
|
staticprivate |
Definition at line 511 of file majorPiece.h.
Referenced by eval(), and osl::eval::ml::NumPiecesBetweenBishopAndKingOpp::setUp().
|
staticprivate |
Definition at line 510 of file majorPiece.h.
Referenced by eval(), and osl::eval::ml::NumPiecesBetweenBishopAndKingSelf::setUp().