My Project
Public Types | Static Public Member Functions | Static Private Member Functions | Static Private Attributes | List of all members
osl::eval::ml::BishopExchangeSilverKing Class Reference

#include <kingTable.h>

Public Types

enum  { BISHOP_ONE_DIM = 18 * 81 * (45*2) , DIM = BISHOP_ONE_DIM*3 }
 

Static Public Member Functions

static void setUp (const Weights &weights)
 
static int eval (const NumEffectState &state)
 

Static Private Member Functions

static int indexKing (Square king)
 
static int indexRook (Square rook)
 
static int indexSilver (Square silver)
 
template<Player KingOwner>
static int evalOne (const NumEffectState &state, int offset)
 

Static Private Attributes

static CArray< int, DIMtable
 

Detailed Description

Definition at line 975 of file kingTable.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
BISHOP_ONE_DIM 
DIM 

Definition at line 997 of file kingTable.h.

Member Function Documentation

◆ eval()

int osl::eval::ml::BishopExchangeSilverKing::eval ( const NumEffectState state)
static

◆ evalOne()

template<osl::Player KingOwner>
int osl::eval::ml::BishopExchangeSilverKing::evalOne ( const NumEffectState state,
int  offset 
)
staticprivate

◆ indexKing()

static int osl::eval::ml::BishopExchangeSilverKing::indexKing ( Square  king)
inlinestaticprivate

Definition at line 977 of file kingTable.h.

References osl::Square::x(), and osl::Square::y().

◆ indexRook()

static int osl::eval::ml::BishopExchangeSilverKing::indexRook ( Square  rook)
inlinestaticprivate

Definition at line 984 of file kingTable.h.

References osl::Square::isOnBoard(), osl::Square::x(), and osl::Square::y().

◆ indexSilver()

static int osl::eval::ml::BishopExchangeSilverKing::indexSilver ( Square  silver)
inlinestaticprivate

Definition at line 992 of file kingTable.h.

References osl::Square::x(), and osl::Square::y().

◆ setUp()

void osl::eval::ml::BishopExchangeSilverKing::setUp ( const Weights weights)
static

Member Data Documentation

◆ table

osl::CArray< int, 18 *81 *(45 *2) *3 > osl::eval::ml::BishopExchangeSilverKing::table
staticprivate

Definition at line 1003 of file kingTable.h.


The documentation for this class was generated from the following files: