My Project
Static Public Member Functions | List of all members
osl::eval::ml::PawnAdvanceUtil Struct Reference

#include <minorPiece.h>

Inheritance diagram for osl::eval::ml::PawnAdvanceUtil:
osl::eval::ml::PawnAdvance osl::eval::ml::PawnAdvanceAll

Static Public Member Functions

static int index (Player P, Square pos)
 
static bool cantAdvance (const NumEffectState &state, const Piece pawn)
 
static bool cantAdvance (const NumEffectState &state, const PtypeO ptypeO, const Square position)
 

Detailed Description

Definition at line 499 of file minorPiece.h.

Member Function Documentation

◆ cantAdvance() [1/2]

static bool osl::eval::ml::PawnAdvanceUtil::cantAdvance ( const NumEffectState state,
const Piece  pawn 
)
inlinestatic

Definition at line 505 of file minorPiece.h.

References cantAdvance(), osl::Piece::ptypeO(), and osl::Piece::square().

Referenced by cantAdvance().

◆ cantAdvance() [2/2]

static bool osl::eval::ml::PawnAdvanceUtil::cantAdvance ( const NumEffectState state,
const PtypeO  ptypeO,
const Square  position 
)
inlinestatic

◆ index()

static int osl::eval::ml::PawnAdvanceUtil::index ( Player  P,
Square  pos 
)
inlinestatic

Definition at line 501 of file minorPiece.h.

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


The documentation for this struct was generated from the following file: