#include <kingTable.h>

| Public Types | |
| enum | { ONE_DIM = 3240, DIM = ONE_DIM * EvalStages } | 
| Public Member Functions | |
| template<osl::Player P> | |
| osl::MultiInt | evalOne (const NumEffectState &state) | 
| Static Public Member Functions | |
| static void | setUp (const Weights &weights) | 
| static MultiInt | eval (const NumEffectState &state) | 
| Static Private Member Functions | |
| template<Player P> | |
| static MultiInt | evalOne (const NumEffectState &state) | 
| template<Direction Dir> | |
| static int | mobilityDir (Square king, Square target) | 
| Static Private Attributes | |
| static CArray< MultiInt, 3240 > | table | 
| static CArray< MultiInt, 3240 > | rook_table | 
| static CArray< MultiInt, 3240 > | bishop_table | 
| static CArray< MultiInt, 3240 > | rook_bishop_table | 
| Friends | |
| class | KingMobilityWithRook | 
| class | KingMobilityWithBishop | 
Definition at line 727 of file kingTable.h.
| anonymous enum | 
| Enumerator | |
|---|---|
| ONE_DIM | |
| DIM | |
Definition at line 732 of file kingTable.h.
| 
 | static | 
Definition at line 1534 of file kingTable.cc.
References result.
Referenced by osl::eval::ml::OpenMidEndingEval::debugInfo(), osl::eval::ml::OpenMidEndingEval::OpenMidEndingEval(), and osl::eval::ml::OpenMidEndingEval::updateSub().
| 
 | staticprivate | 
| osl::MultiInt osl::eval::ml::KingMobility::evalOne | ( | const NumEffectState & | state) | 
Definition at line 1425 of file kingTable.cc.
References osl::alt(), osl::BISHOP, osl::BLACK, osl::D, osl::DL, osl::DR, osl::L, osl::R, result, osl::ROOK, osl::U, osl::UL, osl::UR, osl::Square::x(), and osl::Square::y().
| 
 | inlinestaticprivate | 
Definition at line 739 of file kingTable.h.
References osl::L, osl::R, osl::U, osl::UL, osl::UR, osl::Square::x(), and osl::Square::y().
| 
 | static | 
Definition at line 1358 of file kingTable.cc.
References osl::NStages, and osl::eval::ml::Weights::value().
| 
 | friend | 
Definition at line 730 of file kingTable.h.
| 
 | friend | 
Definition at line 729 of file kingTable.h.
| 
 | staticprivate | 
Definition at line 748 of file kingTable.h.
Referenced by osl::eval::ml::KingMobilityWithBishop::setUp().
| 
 | staticprivate | 
Definition at line 749 of file kingTable.h.
Referenced by osl::eval::ml::KingMobilityWithBishop::setUp().
| 
 | staticprivate | 
Definition at line 747 of file kingTable.h.
Referenced by osl::eval::ml::KingMobilityWithRook::setUp(), and osl::eval::ml::KingMobilityWithBishop::setUp().
| 
 | staticprivate | 
Definition at line 746 of file kingTable.h.
Referenced by osl::eval::ml::KingMobilityWithBishop::setUp().
 1.8.4
 1.8.4