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

#include <minorPiece.h>

Inheritance diagram for osl::eval::ml::SilverFeatures:
osl::eval::ml::SilverHeadPawnKingRelative osl::eval::ml::SilverRetreat

Static Public Member Functions

static MultiInt eval (const NumEffectState &state)
 

Static Protected Member Functions

template<Player P>
static int indexRetreat (Square pos)
 
template<Player P>
static bool canRetreat (const NumEffectState &state, const Piece silver)
 
template<Player P>
static MultiInt evalOne (const NumEffectState &state, const Piece silver, const CArray< Square, 2 > &kings)
 

Static Protected Attributes

static CArray< MultiInt, 153 > head_table
 
static CArray< MultiInt, 9 > retreat_table
 

Detailed Description

Definition at line 539 of file minorPiece.h.

Member Function Documentation

◆ canRetreat()

template<osl::Player P>
bool osl::eval::ml::SilverFeatures::canRetreat ( const NumEffectState & state,
const Piece silver )
inlinestaticprotected

◆ eval()

◆ evalOne()

◆ indexRetreat()

template<Player P>
static int osl::eval::ml::SilverFeatures::indexRetreat ( Square pos)
inlinestaticprotected

Definition at line 545 of file minorPiece.h.

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

Referenced by evalOne().

Member Data Documentation

◆ head_table

osl::CArray< osl::MultiInt, 153 > osl::eval::ml::SilverFeatures::head_table
staticprotected

Definition at line 581 of file minorPiece.h.

Referenced by evalOne().

◆ retreat_table

osl::CArray< osl::MultiInt, 9 > osl::eval::ml::SilverFeatures::retreat_table
staticprotected

Definition at line 582 of file minorPiece.h.

Referenced by evalOne().


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