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

#include <minorPiece.h>

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

Public Types

enum  { DIM = 9 }
 

Static Public Member Functions

static void setUp (const Weights &weights, int stage)
 
- 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 682 of file minorPiece.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
DIM 

Definition at line 685 of file minorPiece.h.

Member Function Documentation

◆ setUp()

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

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