All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Types | Static Public Member Functions
osl::eval::ml::KingXBlockedBase Struct Reference

#include <king8.h>

Inheritance diagram for osl::eval::ml::KingXBlockedBase:
Inheritance graph
[legend]

List of all members.

Public Types

enum  { DIM = 10 }
typedef CArray< MultiInt, 10 > table_t

Static Public Member Functions

static const MultiIntPair eval (const NumEffectState &state, const table_t &table)
template<osl::Player P>
static int index (Square king, int diff)
template<osl::Player P>
static bool isBlocked (const NumEffectState &state, int diff)

Detailed Description

Definition at line 182 of file eval/ml/king8.h.


Member Typedef Documentation

Definition at line 185 of file eval/ml/king8.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
DIM 

Definition at line 184 of file eval/ml/king8.h.


Member Function Documentation

const MultiIntPair osl::eval::ml::KingXBlockedBase::eval ( const NumEffectState &  state,
const table_t table 
) [static]
template<osl::Player P>
int osl::eval::ml::KingXBlockedBase::index ( Square  king,
int  diff 
) [static]

Definition at line 669 of file eval/ml/king8.cc.

References osl::BLACK, and osl::Square::x().

template<osl::Player P>
bool osl::eval::ml::KingXBlockedBase::isBlocked ( const NumEffectState &  state,
int  diff 
) [static]

Definition at line 692 of file eval/ml/king8.cc.

References osl::BLACK, target, osl::WHITE, osl::Square::x(), and osl::Square::y().


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