My Project
Public Types | Static Public Member Functions | Static Public Attributes | Static Private Member Functions | List of all members
osl::eval::ml::SilverFork Class Reference

#include <minorPiece.h>

Public Types

enum  { ONE_DIM = 5*2 , DIM = ONE_DIM * EvalStages }
 

Static Public Member Functions

static void setUp (const Weights &weights)
 
static MultiIntPair eval (const NumEffectState &state, CArray< std::pair< Square, int >, 2 > &silver_drop)
 

Static Public Attributes

static CArray< MultiInt, ONE_DIMtable
 

Static Private Member Functions

static std::pair< int, int > matchRook (const NumEffectState &state, Piece rook, const CArray< bool, 2 > &has_silver, Square &silver_drop)
 
static std::pair< int, int > matchGold (const NumEffectState &state, Piece gold, const CArray< bool, 2 > &has_silver, Square &silver_drop)
 

Detailed Description

Definition at line 1623 of file minorPiece.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
ONE_DIM 
DIM 

Definition at line 1632 of file minorPiece.h.

Member Function Documentation

◆ eval()

osl::MultiIntPair osl::eval::ml::SilverFork::eval ( const NumEffectState state,
CArray< std::pair< Square, int >, 2 > &  silver_drop 
)
static

◆ matchGold()

std::pair< int, int > osl::eval::ml::SilverFork::matchGold ( const NumEffectState state,
Piece  gold,
const CArray< bool, 2 > &  has_silver,
Square silver_drop 
)
inlinestaticprivate

◆ matchRook()

std::pair< int, int > osl::eval::ml::SilverFork::matchRook ( const NumEffectState state,
Piece  rook,
const CArray< bool, 2 > &  has_silver,
Square silver_drop 
)
inlinestaticprivate

◆ setUp()

void osl::eval::ml::SilverFork::setUp ( const Weights weights)
static

Definition at line 2432 of file minorPiece.cc.

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

Member Data Documentation

◆ table

osl::CArray< osl::MultiInt, 5 *2 > osl::eval::ml::SilverFork::table
static

Definition at line 1636 of file minorPiece.h.


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