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

#include <pin.h>

Inheritance diagram for osl::eval::ml::PinPtypeAll:
osl::eval::ml::PinPtype osl::eval::ml::PinPtypeDistance osl::eval::ml::PinPtypePawnAttack

Public Member Functions

template<osl::Player Defense>
osl::MultiInt evalOne (const NumEffectState &state)

Static Public Member Functions

static MultiInt eval (const NumEffectState &state)

Static Protected Attributes

static CArray< MultiInt, 80 > table
static CArray< MultiInt, 48 > pawn_table
static CArray< MultiInt, 560 > distance_table

Static Private Member Functions

template<Player Defense>
static MultiInt evalOne (const NumEffectState &state)
template<Player Defense>
static bool pawnAttack (const NumEffectState &state, Piece piece)

Detailed Description

Definition at line 45 of file pin.h.

Member Function Documentation

◆ eval()

◆ evalOne() [1/2]

◆ evalOne() [2/2]

template<Player Defense>
MultiInt osl::eval::ml::PinPtypeAll::evalOne ( const NumEffectState & state)
staticprivate

Referenced by eval().

◆ pawnAttack()

template<Player Defense>
bool osl::eval::ml::PinPtypeAll::pawnAttack ( const NumEffectState & state,
Piece piece )
inlinestaticprivate

Member Data Documentation

◆ distance_table

osl::CArray< MultiInt, 560 > osl::eval::ml::PinPtypeAll::distance_table
staticprotected

Definition at line 66 of file pin.h.

Referenced by evalOne(), and osl::eval::ml::PinPtypeDistance::setUp().

◆ pawn_table

osl::CArray< MultiInt, 48 > osl::eval::ml::PinPtypeAll::pawn_table
staticprotected

Definition at line 65 of file pin.h.

Referenced by evalOne(), and osl::eval::ml::PinPtypePawnAttack::setUp().

◆ table

osl::CArray< MultiInt, 80 > osl::eval::ml::PinPtypeAll::table
staticprotected

Definition at line 64 of file pin.h.

Referenced by evalOne(), and osl::eval::ml::PinPtype::setUp().


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