All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Types | Static Public Member Functions | Static Private Member Functions | Static Private Attributes
osl::eval::ml::PieceStandY Class Reference

#include <pieceStand.h>

Collaboration diagram for osl::eval::ml::PieceStandY:
Collaboration graph
[legend]

List of all members.

Public Types

enum  { ONE_DIM = osl::Piece::SIZE * 9, DIM = ONE_DIM * 2*EvalStages }

Static Public Member Functions

static void setUp (const Weights &weights)
static MultiInt eval (const NumEffectState &state)
template<Player P>
static MultiInt evalWithUpdate (const NumEffectState &state, Move moved, const MultiInt &last_value)

Static Private Member Functions

static int index (Ptype ptype, Player player, Square king, int count)
static int index (int i, Player player, Square king, int count)
static void updateResult (NumEffectState const &state, MultiInt &result, int i, Ptype ptype, CArray< Square, 2 > const &kings)

Static Private Attributes

static CArray< MultiInt, 360 > y_attack_table
static CArray< MultiInt, 360 > y_defense_table
static CArray< MultiInt, 9 *7 *19 > y_attack_table_sum
static CArray< MultiInt, 9 *7 *19 > y_defense_table_sum

Detailed Description

Definition at line 118 of file eval/ml/pieceStand.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
ONE_DIM 
DIM 

Definition at line 137 of file eval/ml/pieceStand.h.


Member Function Documentation

osl::MultiInt osl::eval::ml::PieceStandY::eval ( const NumEffectState &  state) [static]
template<osl::Player P>
template MultiInt osl::eval::ml::PieceStandY::evalWithUpdate< WHITE > ( const NumEffectState &  state,
Move  moved,
const MultiInt last_value 
) [static]
static int osl::eval::ml::PieceStandY::index ( Ptype  ptype,
Player  player,
Square  king,
int  count 
) [inline, static, private]
static int osl::eval::ml::PieceStandY::index ( int  i,
Player  player,
Square  king,
int  count 
) [inline, static, private]

Definition at line 130 of file eval/ml/pieceStand.h.

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

void osl::eval::ml::PieceStandY::setUp ( const Weights weights) [static]
void osl::eval::ml::PieceStandY::updateResult ( NumEffectState const &  state,
MultiInt result,
int  i,
Ptype  ptype,
CArray< Square, 2 > const &  kings 
) [inline, static, private]

Member Data Documentation

Definition at line 121 of file eval/ml/pieceStand.h.

Definition at line 123 of file eval/ml/pieceStand.h.

Definition at line 122 of file eval/ml/pieceStand.h.

Definition at line 124 of file eval/ml/pieceStand.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines