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

#include <minorPiece.h>

Public Types

enum  { ONE_DIM = (PTYPE_SIZE * 2 * PTYPE_SIZE)*(PTYPE_SIZE * 2 * PTYPE_SIZE) , DIM = ONE_DIM * EvalStages }
 

Public Member Functions

template<osl::Player Owner>
osl::MultiInt evalOne (const NumEffectState &state)
 

Static Public Member Functions

static void setUp (const Weights &weights)
 
template<Player Owner>
static MultiInt evalOne (const NumEffectState &state)
 
static MultiInt eval (const NumEffectState &state)
 
static int index1 (const NumEffectState &state, Piece piece)
 
static int index2 (int i0, int i1)
 

Static Public Attributes

static CArray< MultiInt, ONE_DIMtable
 

Detailed Description

Definition at line 1347 of file minorPiece.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
ONE_DIM 
DIM 

Definition at line 1350 of file minorPiece.h.

Member Function Documentation

◆ eval()

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

◆ evalOne() [1/2]

template<osl::Player Owner>
osl::MultiInt osl::eval::ml::NonPawnAttackedPtypePair::evalOne ( const NumEffectState state)

◆ evalOne() [2/2]

template<Player Owner>
static MultiInt osl::eval::ml::NonPawnAttackedPtypePair::evalOne ( const NumEffectState state)
static

References eval().

◆ index1()

static int osl::eval::ml::NonPawnAttackedPtypePair::index1 ( const NumEffectState state,
Piece  piece 
)
inlinestatic

◆ index2()

static int osl::eval::ml::NonPawnAttackedPtypePair::index2 ( int  i0,
int  i1 
)
inlinestatic

Definition at line 1367 of file minorPiece.h.

References osl::PTYPE_SIZE.

Referenced by osl::progress::ml::NewProgress::setUp().

◆ setUp()

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

Definition at line 1643 of file minorPiece.cc.

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

Member Data Documentation

◆ table

osl::CArray< osl::MultiInt, 512 *512 > osl::eval::ml::NonPawnAttackedPtypePair::table
static

Definition at line 1371 of file minorPiece.h.


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