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

#include <minorPiece.h>

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

Public Types

enum  { DIM = 9 }
 

Static Public Member Functions

static void setUp (const Weights &weights, int stage)
 
static MultiInt eval (const NumEffectState &state)
 
- Static Public Member Functions inherited from osl::eval::ml::PawnAdvanceUtil
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)
 

Static Private Attributes

static CArray< MultiInt, 9 > table
 

Friends

struct PawnAdvanceAll
 

Detailed Description

Definition at line 527 of file minorPiece.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
DIM 

Definition at line 530 of file minorPiece.h.

Member Function Documentation

◆ eval()

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

◆ setUp()

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

Friends And Related Symbol Documentation

◆ PawnAdvanceAll

friend struct PawnAdvanceAll
friend

Definition at line 533 of file minorPiece.h.

Member Data Documentation

◆ table

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

Definition at line 532 of file minorPiece.h.

Referenced by osl::eval::ml::PawnAdvanceAll::adjust().


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