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

#include <minorPiece.h>

Public Types

enum  { DIM = 9 }
 

Static Public Member Functions

static void setUp (const Weights &weights, int stage)
 
static MultiInt eval (const NumEffectState &state)
 

Static Private Member Functions

static int index (Player P, Square pos)
 
template<Player P>
static bool cantAdvance (const NumEffectState &state, const Piece knight)
 

Static Private Attributes

static CArray< MultiInt, 9 > table
 

Detailed Description

Definition at line 696 of file minorPiece.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
DIM 

Definition at line 699 of file minorPiece.h.

Member Function Documentation

◆ cantAdvance()

template<osl::Player P>
bool osl::eval::ml::KnightAdvance::cantAdvance ( const NumEffectState state,
const Piece  knight 
)
inlinestaticprivate

◆ eval()

MultiInt osl::eval::ml::KnightAdvance::eval ( const NumEffectState state)
static

◆ index()

static int osl::eval::ml::KnightAdvance::index ( Player  P,
Square  pos 
)
inlinestaticprivate

Definition at line 702 of file minorPiece.h.

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

◆ setUp()

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

Member Data Documentation

◆ table

osl::CArray< MultiInt, 9 > osl::eval::ml::KnightAdvance::table
staticprivate

Definition at line 701 of file minorPiece.h.


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