All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Types | Static Public Member Functions | Static Private Member Functions | Static Private Attributes
osl::eval::ml::MajorCheckWithCapture Class Reference

#include <majorPiece.h>

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

List of all members.

Public Types

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

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<osl::Player Owner>
osl::MultiInt osl::eval::ml::MajorCheckWithCapture::addOne ( const NumEffectState &  state) [static, private]
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 
) [inline, static, private]

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

Definition at line 645 of file majorPiece.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines