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

#include <minorPiece.h>

Inheritance diagram for osl::eval::ml::GoldKnightKingRelative:
osl::eval::ml::GoldFeatures

Public Types

enum  { ONE_DIM = 153 , DIM = ONE_DIM * EvalStages }
 

Static Public Member Functions

static void setUp (const Weights &weights)
 
- Static Public Member Functions inherited from osl::eval::ml::GoldFeatures
static MultiInt eval (const NumEffectState &state)
 

Additional Inherited Members

- Static Protected Member Functions inherited from osl::eval::ml::GoldFeatures
template<Player P>
static int indexRetreat (Square pos)
 
static int indexSideX (Square pos)
 
template<Player P>
static int indexSideY (Square pos)
 
template<Player P>
static bool canRetreat (const NumEffectState &state, const Piece gold)
 
template<Player P>
static bool canMoveToSide (const NumEffectState &state, const Piece gold)
 
template<Player P>
static MultiInt evalOne (const NumEffectState &state, const Piece gold, const CArray< Square, 2 > &kings)
 
- Static Protected Attributes inherited from osl::eval::ml::GoldFeatures
static CArray< MultiInt, 153 > knight_table
 
static CArray< MultiInt, 9 > retreat_table
 
static CArray< MultiInt, 14 > side_table
 

Detailed Description

Definition at line 675 of file minorPiece.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
ONE_DIM 
DIM 

Definition at line 678 of file minorPiece.h.

Member Function Documentation

◆ setUp()

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

Definition at line 376 of file minorPiece.cc.

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


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