All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Static Public Member Functions | Static Private Member Functions | Static Private Attributes | Friends | List of all members
osl::eval::ml::KnightCheck Class Reference

#include <minorPiece.h>

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

Public Types

enum  { DIM = 1 }
 

Static Public Member Functions

static void setUp (const Weights &weights, int stage)
 
static MultiInt eval (const NumEffectState &state)
 
template<Player Defense>
static bool canCheck (const NumEffectState &state)
 
static MultiInt value (int index_y)
 

Static Private Member Functions

template<Player King>
static int indexY (int y)
 

Static Private Attributes

static MultiInt weight
 
static CArray< MultiInt, 9 > y_table
 

Friends

class KnightCheckY
 

Detailed Description

Definition at line 779 of file minorPiece.h.

Member Enumeration Documentation

anonymous enum
Enumerator
DIM 

Definition at line 783 of file minorPiece.h.

Member Function Documentation

template<Player Defense>
static bool osl::eval::ml::KnightCheck::canCheck ( const NumEffectState &  state)
inlinestatic
MultiInt osl::eval::ml::KnightCheck::eval ( const NumEffectState &  state)
static
template<Player King>
static int osl::eval::ml::KnightCheck::indexY ( int  y)
inlinestaticprivate

Definition at line 819 of file minorPiece.h.

References osl::BLACK.

void osl::eval::ml::KnightCheck::setUp ( const Weights weights,
int  stage 
)
static

Definition at line 636 of file minorPiece.cc.

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

static MultiInt osl::eval::ml::KnightCheck::value ( int  index_y)
inlinestatic

Definition at line 815 of file minorPiece.h.

References weight, and y_table.

Friends And Related Function Documentation

friend class KnightCheckY
friend

Definition at line 781 of file minorPiece.h.

Member Data Documentation

MultiInt osl::eval::ml::KnightCheck::weight
staticprivate

Definition at line 817 of file minorPiece.h.

Referenced by setUp(), and value().

osl::misc::CArray< MultiInt, 9 > osl::eval::ml::KnightCheck::y_table
staticprivate

Definition at line 823 of file minorPiece.h.

Referenced by osl::eval::ml::KnightCheckY::setUp(), and value().


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