All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Attributes
osl::eval::PtypeEvalTable Class Reference

#include <pieceEval.h>

Inheritance diagram for osl::eval::PtypeEvalTable:
Inheritance graph
[legend]
Collaboration diagram for osl::eval::PtypeEvalTable:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 PtypeEvalTable ()
 ~PtypeEvalTable ()
int value (PtypeO ptypeO) const
 先手から見たptypeOの駒の価値
int value (Ptype ptype) const
 ptypeの駒の価値
int promoteValue (PtypeO ptypeO) const
 ptypeOにpromoteした時の評価値の増減
int captureValue (PtypeO ptypeO) const
 ownerのptypeOがcaptureされた時の評価値の増減
void reset (const CArray< int, PTYPE_SIZE > &values)

Protected Attributes

CArray< int, PTYPEO_SIZEptypeO2Val
CArray< int, PTYPEO_SIZEpromoteVal
CArray< int, PTYPEO_SIZEcaptureVal

Detailed Description

Definition at line 18 of file pieceEval.h.


Constructor & Destructor Documentation

Definition at line 64 of file pieceEval.cc.


Member Function Documentation

int osl::eval::PtypeEvalTable::captureValue ( PtypeO  ptypeO) const [inline]
int osl::eval::PtypeEvalTable::promoteValue ( PtypeO  ptypeO) const [inline]

ptypeOにpromoteした時の評価値の増減

Definition at line 46 of file pieceEval.h.

References osl::isPromoted(), promoteVal, and osl::PTYPEO_MIN.

Referenced by osl::eval::See::computeValue(), osl::eval::TakeBackValue::computeValue(), and osl::eval::PieceEval::diffWithMove().

void osl::eval::PtypeEvalTable::reset ( const CArray< int, PTYPE_SIZE > &  values)
int osl::eval::PtypeEvalTable::value ( PtypeO  ptypeO) const [inline]
int osl::eval::PtypeEvalTable::value ( Ptype  ptype) const [inline]

ptypeの駒の価値

Definition at line 39 of file pieceEval.h.

References osl::isValid(), ptypeO2Val, and osl::PTYPEO_MIN.


Member Data Documentation

Definition at line 23 of file pieceEval.h.

Referenced by captureValue().

Definition at line 22 of file pieceEval.h.

Referenced by promoteValue().

Definition at line 21 of file pieceEval.h.

Referenced by value().


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