My Project
osl::eval::ml::KingXBlocked Class Reference

#include <king8.h>

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

Static Public Member Functions

static void setUp (const Weights &weights, int stage)
static MultiIntPair eval (const NumEffectState &state)
Static Public Member Functions inherited from osl::eval::ml::KingXBlockedBase
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)

Static Private Attributes

static table_t table

Friends

class KingXBlockedBoth
class KingXBlockedYBase

Additional Inherited Members

Public Types inherited from osl::eval::ml::KingXBlockedBase
enum  { DIM = 10 }
typedef CArray< MultiInt, 10 > table_t

Detailed Description

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

Member Function Documentation

◆ eval()

MultiIntPair osl::eval::ml::KingXBlocked::eval ( const NumEffectState & state)
inlinestatic

◆ setUp()

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

Definition at line 906 of file king8.cc.

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

◆ KingXBlockedBoth

friend class KingXBlockedBoth
friend

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

References KingXBlockedBoth.

Referenced by KingXBlockedBoth.

◆ KingXBlockedYBase

friend class KingXBlockedYBase
friend

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

References KingXBlockedYBase.

Referenced by KingXBlockedYBase.

Member Data Documentation

◆ table

osl::CArray< MultiInt, 10 > osl::eval::ml::KingXBlocked::table
staticprivate

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

Referenced by osl::eval::ml::KingXBlockedYBase::adjust(), eval(), and setUp().


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