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

#include <kingTable.h>

Public Types

enum  { ONE_DIM = 17 * 17 , 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)
 

Static Private Member Functions

static int index (int piece_count, int supported)
 

Static Private Attributes

static CArray< MultiInt, ONE_DIMtable
 

Detailed Description

Definition at line 373 of file kingTable.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
ONE_DIM 
DIM 

Definition at line 376 of file kingTable.h.

Member Function Documentation

◆ eval()

static MultiInt osl::eval::ml::King25EffectSupported::eval ( int  black_attack_piece,
int  white_attack_piece,
int  black_attack_supported_piece,
int  white_attack_supported_piece 
)
inlinestatic

◆ index()

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

Definition at line 378 of file kingTable.h.

Referenced by eval().

◆ setUp()

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

Definition at line 476 of file kingTable.cc.

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

Member Data Documentation

◆ table

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

Definition at line 382 of file kingTable.h.

Referenced by eval().


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