My Project
osl::eval::ml::King25EffectSupportedY Class Reference

#include <kingTable.h>

Public Types

enum  { ONE_DIM = 17 * 17 * 9 , DIM = ONE_DIM * EvalStages }
 

Static Public Member Functions

static void setUp (const Weights &weights)
 
static MultiInt eval (int black_attack_piece, int white_attack_piece, int black_attack_supported_piece, int white_attack_supported_piece, int black_king_y, int white_king_y)
 

Static Private Member Functions

static int index (int piece_count, int supported, int y)
 

Static Private Attributes

static CArray< MultiInt, ONE_DIMtable
 

Detailed Description

Definition at line 397 of file kingTable.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
ONE_DIM 
DIM 

Definition at line 400 of file kingTable.h.

Member Function Documentation

◆ eval()

static MultiInt osl::eval::ml::King25EffectSupportedY::eval ( int black_attack_piece,
int white_attack_piece,
int black_attack_supported_piece,
int white_attack_supported_piece,
int black_king_y,
int white_king_y )
inlinestatic

◆ index()

static int osl::eval::ml::King25EffectSupportedY::index ( int piece_count,
int supported,
int y )
inlinestaticprivate

Definition at line 402 of file kingTable.h.

Referenced by eval().

◆ setUp()

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

Definition at line 485 of file kingTable.cc.

Member Data Documentation

◆ table

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

Definition at line 406 of file kingTable.h.

Referenced by eval().


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