All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Public Attributes
osl::search::StandElements Struct Reference

Moveを分解した差分要素のうち持駒の増減のみを管理する. 相手の持ち駒が増えたか,損得なしかを高速に判定できる. More...

#include <moveStackRejections.h>

Collaboration diagram for osl::search::StandElements:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 StandElements ()
void add (Ptype ptype)
 altPにとって増える
void sub (Ptype ptype)
 altPにとって減る
bool isZero () const
bool gtZero () const
bool geZero () const

Public Attributes

union {
   CArray< char, 8 >   c8
   unsigned long long   l8
v

Detailed Description

Moveを分解した差分要素のうち持駒の増減のみを管理する. 相手の持ち駒が増えたか,損得なしかを高速に判定できる.

Definition at line 39 of file moveStackRejections.h.


Constructor & Destructor Documentation

Definition at line 44 of file moveStackRejections.h.

References v.


Member Function Documentation

void osl::search::StandElements::add ( Ptype  ptype) [inline]

altPにとって増える

Definition at line 48 of file moveStackRejections.h.

References osl::PTYPE_BASIC_MIN, and v.

Referenced by osl::search::StateElements::canReject().

bool osl::search::StandElements::geZero ( ) const [inline]
bool osl::search::StandElements::gtZero ( ) const [inline]

Definition at line 62 of file moveStackRejections.h.

References geZero(), and isZero().

bool osl::search::StandElements::isZero ( ) const [inline]
void osl::search::StandElements::sub ( Ptype  ptype) [inline]

altPにとって減る

Definition at line 55 of file moveStackRejections.h.

References osl::PTYPE_BASIC_MIN, and v.

Referenced by osl::search::StateElements::canReject().


Member Data Documentation

Definition at line 41 of file moveStackRejections.h.

Referenced by osl::search::operator<<().

unsigned long long osl::search::StandElements::l8

Definition at line 42 of file moveStackRejections.h.


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