All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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>

Collaboration diagram for osl::eval::ml::MajorCheckWithCapture:
Collaboration graph
[legend]

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 635 of file majorPiece.h.

Member Enumeration Documentation

anonymous enum
Enumerator
ONE_DIM 
DIM 

Definition at line 638 of file majorPiece.h.

Member Function Documentation

template<Player Owner>
static MultiInt osl::eval::ml::MajorCheckWithCapture::addOne ( const NumEffectState &  state)
staticprivate
template<osl::Player Owner>
osl::MultiInt osl::eval::ml::MajorCheckWithCapture::addOne ( const NumEffectState &  state)
osl::MultiInt osl::eval::ml::MajorCheckWithCapture::eval ( const NumEffectState &  state)
static
static size_t osl::eval::ml::MajorCheckWithCapture::index ( Ptype  ptype,
bool  is_rook,
bool  can_promote 
)
inlinestaticprivate

Definition at line 648 of file majorPiece.h.

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

Definition at line 1210 of file majorPiece.cc.

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

Member Data Documentation

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

Definition at line 645 of file majorPiece.h.


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