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

#include <majorPiece.h>

Public Types

enum  { ONE_DIM = PTYPE_SIZE * 2 * 2 , DIM = ONE_DIM * EvalStages }
 

Public Member Functions

template<osl::Player Owner>
osl::MultiInt addOne (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 Owner>
static MultiInt addOne (const NumEffectState &state)
 
static size_t index (Ptype ptype, bool is_rook, bool can_promote)
 

Static Private Attributes

static CArray< MultiInt, ONE_DIMtable
 

Detailed Description

Definition at line 633 of file majorPiece.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
ONE_DIM 
DIM 

Definition at line 636 of file majorPiece.h.

Member Function Documentation

◆ addOne() [1/2]

template<osl::Player Owner>
osl::MultiInt osl::eval::ml::MajorCheckWithCapture::addOne ( const NumEffectState state)

◆ addOne() [2/2]

template<Player Owner>
static MultiInt osl::eval::ml::MajorCheckWithCapture::addOne ( const NumEffectState state)
staticprivate

◆ eval()

osl::MultiInt osl::eval::ml::MajorCheckWithCapture::eval ( const NumEffectState state)
static

◆ index()

static size_t osl::eval::ml::MajorCheckWithCapture::index ( Ptype  ptype,
bool  is_rook,
bool  can_promote 
)
inlinestaticprivate

Definition at line 646 of file majorPiece.h.

◆ setUp()

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

Definition at line 1208 of file majorPiece.cc.

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

Member Data Documentation

◆ table

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

Definition at line 643 of file majorPiece.h.


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