My Project
Public Types | Static Public Member Functions | List of all members
osl::eval::ml::KingXBlockedBase Struct Reference

#include <king8.h>

Inheritance diagram for osl::eval::ml::KingXBlockedBase:
osl::eval::ml::KingXBlocked osl::eval::ml::KingXBlockedBoth

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 180 of file core/osl/eval/king8.h.

Member Typedef Documentation

◆ table_t

Definition at line 183 of file core/osl/eval/king8.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
DIM 

Definition at line 182 of file core/osl/eval/king8.h.

Member Function Documentation

◆ eval()

const MultiIntPair osl::eval::ml::KingXBlockedBase::eval ( const NumEffectState state,
const table_t table 
)
static

◆ index()

template<osl::Player P>
int osl::eval::ml::KingXBlockedBase::index ( Square  king,
int  diff 
)
static

Definition at line 669 of file king8.cc.

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

◆ isBlocked()

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

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