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

#include <king8.h>

Public Types

enum  { ONE_DIM = 5 , DIM = ONE_DIM * EvalStages }
 

Static Public Member Functions

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

Static Private Member Functions

static int index (const Square king)
 
template<Player P>
static int indexY (const Square king)
 
template<int Sign>
static void adjust (int index, int index_y, MultiInt &out)
 

Static Private Attributes

static CArray< MultiInt, ONE_DIMtable
 

Friends

class KingXBlockedYBase
 

Detailed Description

Definition at line 254 of file core/osl/eval/king8.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
ONE_DIM 
DIM 

Definition at line 258 of file core/osl/eval/king8.h.

Member Function Documentation

◆ adjust()

template<int Sign>
void osl::eval::ml::KingXBothBlocked::adjust ( int  index,
int  index_y,
MultiInt out 
)
inlinestaticprivate

◆ eval()

MultiIntPair osl::eval::ml::KingXBothBlocked::eval ( const NumEffectState state)
static

◆ index()

static int osl::eval::ml::KingXBothBlocked::index ( const Square  king)
inlinestaticprivate

◆ indexY()

template<Player P>
static int osl::eval::ml::KingXBothBlocked::indexY ( const Square  king)
inlinestaticprivate

Definition at line 269 of file core/osl/eval/king8.h.

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

◆ setUp()

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

Definition at line 602 of file king8.cc.

References osl::NStages, and osl::eval::ml::Weights::value().

Friends And Related Symbol Documentation

◆ KingXBlockedYBase

friend class KingXBlockedYBase
friend

Definition at line 256 of file core/osl/eval/king8.h.

Member Data Documentation

◆ table

osl::CArray< MultiInt, osl::eval::ml::KingXBothBlocked::ONE_DIM > osl::eval::ml::KingXBothBlocked::table
staticprivate

Definition at line 262 of file core/osl/eval/king8.h.

Referenced by adjust().


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