All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Public Member Functions | Static Public Member Functions | List of all members
osl::eval::ml::King25EmptySquareNoEffect Struct Reference

#include <kingTable.h>

Inheritance diagram for osl::eval::ml::King25EmptySquareNoEffect:
Inheritance graph
[legend]

Public Types

enum  { DIM = 3 * 5 }
 

Public Member Functions

template<osl::Player defense>
int evalOne (const NumEffectState &state, const CArray< int, 15 > &table)
 
template<osl::Player defense>
std::pair< int, int > evalOne (const NumEffectState &state, const CArray< int, 15 > &opening, const CArray< int, 15 > &ending)
 

Static Public Member Functions

template<Player defense>
static int evalOne (const NumEffectState &state, const CArray< int, 15 > &table)
 
template<Player defense>
static std::pair< int, int > evalOne (const NumEffectState &state, const CArray< int, 15 > &opening, const CArray< int, 15 > &ending)
 
static std::pair< CArray< int, 2 >
, CArray< int, 2 > > 
eval (const NumEffectState &state, const CArray< int, 15 > &opening, const CArray< int, 15 > &ending)
 
static std::pair< CArray< int, 2 >
, CArray< int, 2 > > 
evalWithUpdate (const NumEffectState &state, Move last_move, const CArray< int, 15 > &opening, const CArray< int, 15 > &ending, const CArray< int, 2 > &last_opening_value, const CArray< int, 2 > &last_ending_value)
 
static int index (int rel_x, int rel_y)
 
static void setUpBase (const Weights &weigths, CArray< int, 15 > &table)
 

Detailed Description

Definition at line 428 of file kingTable.h.

Member Enumeration Documentation

anonymous enum
Enumerator
DIM 

Definition at line 430 of file kingTable.h.

Member Function Documentation

std::pair< osl::CArray< int, 2 >, osl::CArray< int, 2 > > osl::eval::ml::King25EmptySquareNoEffect::eval ( const NumEffectState &  state,
const CArray< int, 15 > &  opening,
const CArray< int, 15 > &  ending 
)
static

Definition at line 708 of file kingTable.cc.

template<Player defense>
static int osl::eval::ml::King25EmptySquareNoEffect::evalOne ( const NumEffectState &  state,
const CArray< int, 15 > &  table 
)
static
template<Player defense>
static std::pair<int,int> osl::eval::ml::King25EmptySquareNoEffect::evalOne ( const NumEffectState &  state,
const CArray< int, 15 > &  opening,
const CArray< int, 15 > &  ending 
)
static
template<osl::Player defense>
int osl::eval::ml::King25EmptySquareNoEffect::evalOne ( const NumEffectState &  state,
const CArray< int, 15 > &  table 
)
template<osl::Player defense>
std::pair<int,int> osl::eval::ml::King25EmptySquareNoEffect::evalOne ( const NumEffectState &  state,
const CArray< int, 15 > &  opening,
const CArray< int, 15 > &  ending 
)

Definition at line 668 of file kingTable.cc.

References osl::BLACK, osl::eval::max(), osl::eval::min(), osl::Piece::square(), and target.

std::pair< osl::CArray< int, 2 >, osl::CArray< int, 2 > > osl::eval::ml::King25EmptySquareNoEffect::evalWithUpdate ( const NumEffectState &  state,
Move  last_move,
const CArray< int, 15 > &  opening,
const CArray< int, 15 > &  ending,
const CArray< int, 2 > &  last_opening_value,
const CArray< int, 2 > &  last_ending_value 
)
static
static int osl::eval::ml::King25EmptySquareNoEffect::index ( int  rel_x,
int  rel_y 
)
inlinestatic

Definition at line 441 of file kingTable.h.

void osl::eval::ml::King25EmptySquareNoEffect::setUpBase ( const Weights weigths,
CArray< int, 15 > &  table 
)
static

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