クラス osl::move_generator::AddEffect8Table

#include <addEffect8Table.h>

すべてのメンバ一覧

Public メソッド

 AddEffect8Table ()
Position getDropPosition (Ptype ptype, Position kingPosition, int i) const
 ptypeζǤäŨζ̤8˵ûĤа.
Offset getLongDropDirect (Ptype ptype, Position kingPosition, int i) const
 ptypeζǤäŨζ̤8˵ĹĤ.
PO getLongDropPosition (Ptype ptype, Position kingPosition, int i) const
 ptypeζǤäŨζ̤8˵ĹĤ.
POO getLongDrop2Position (Ptype ptype, Position kingPosition, int i) const
 ptypeζǤäŨζ̤8˵ĹĤ.
Offset getShortMoveOffset (bool isPromote, Ptype ptype, Offset32 o32, int i) const
 ptypeζư(Ĺư )Ũζ̤8˵ûĤа.
OffsetPair getLongMoveOffset (Ptype ptype, Offset32 o32, int i) const
 ptypeζưŨζ̤8˵ĹĤа.
OffsetPair getBetweenOffset (Ptype ptype, Offset32 o32) const
 ptypeζŨζ𤬤ʤ8˵Ĺ.

Private メソッド

void initDropPosition ()
void initLongDropPosition ()
void initMoveOffset ()

Private 変数

CArray3d< Position, PTYPE_SIZE,
Position::SIZE,
maxDropPosition
dropPosition
CArray3d< Offset, PTYPE_SIZE,
Position::SIZE,
maxLongDropDirect
longDropDirect
CArray3d< PO, PTYPE_SIZE,
Position::SIZE,
maxLongDropPosition
longDropPosition
CArray3d< POO, PTYPE_SIZE,
Position::SIZE,
maxLongDrop2Position
longDrop2Position
CArray3d< Offset, PTYPE_SIZE,
Offset32::SIZE,
maxShortMoveOffset
shortMoveOffset
CArray3d< Offset, PTYPE_SIZE,
Offset32::SIZE,
maxShortPromoteMoveOffset
shortPromoteMoveOffset
CArray3d< OffsetPair,
PTYPE_SIZE, Offset32::SIZE,
maxLongMoveOffset
longMoveOffset
CArray2d< OffsetPair,
PTYPE_SIZE, Offset32::SIZE
betweenOffset

Static Private 変数

static const int maxDropPosition = 32
static const int maxLongDropDirect = 8
static const int maxLongDropPosition = 32
static const int maxLongDrop2Position = 8
static const int maxShortMoveOffset = 32
static const int maxShortPromoteMoveOffset = 32
static const int maxLongMoveOffset = 32


説明

addEffect8Table.h23 行で定義されています。


コンストラクタとデストラクタ

osl::move_generator::AddEffect8Table::AddEffect8Table (  ) 

addEffect8Table.cc214 行で定義されています。

参照先 initDropPosition(), initLongDropPosition(), と initMoveOffset().


関数

Position osl::move_generator::AddEffect8Table::getDropPosition ( Ptype  ptype,
Position  kingPosition,
int  i 
) const [inline]

ptypeζǤäŨζ̤8˵ûĤа.

Ĺ8˵ˤĤΤ 鸫kingPosition+offset˶ǤĤɤ ֤鸫ζ̤Position

addEffect8Table.h51 行で定義されています。

参照先 dropPosition, と osl::Position::index().

参照元 osl::move_generator::generateShortDrop().

Offset osl::move_generator::AddEffect8Table::getLongDropDirect ( Ptype  ptype,
Position  kingPosition,
int  i 
) const [inline]

ptypeζǤäŨζ̤8˵ĹĤ.

֤˶𤬤ʤСˤʤ륿

addEffect8Table.h61 行で定義されています。

参照先 osl::Position::index(), と longDropDirect.

参照元 osl::move_generator::generateLongDrop().

PO osl::move_generator::AddEffect8Table::getLongDropPosition ( Ptype  ptype,
Position  kingPosition,
int  i 
) const [inline]

ptypeζǤäŨζ̤8˵ĹĤ.

1 鸫kingPosition+firstǤļ꤫Ϥơ+secondƤäƤ emptyʤOK

addEffect8Table.h72 行で定義されています。

参照先 osl::Position::index(), と longDropPosition.

参照元 osl::move_generator::generateLongDrop().

POO osl::move_generator::AddEffect8Table::getLongDrop2Position ( Ptype  ptype,
Position  kingPosition,
int  i 
) const [inline]

ptypeζǤäŨζ̤8˵ĹĤ.

1 鸫kingPosition+firstǤļ꤫Ϥơ+secondƤäƤ emptyʤOK

addEffect8Table.h83 行で定義されています。

参照先 osl::Position::index(), と longDrop2Position.

参照元 osl::move_generator::generateLongDrop().

Offset osl::move_generator::AddEffect8Table::getShortMoveOffset ( bool  isPromote,
Ptype  ptype,
Offset32  o32,
int  i 
) const [inline]

ptypeζư(Ĺư )Ũζ̤8˵ûĤа.

鸫kingPosition+offset˶ưɤ

引数:
isPromote - promote뤫ʤ
ptype - ưζμ
o32 - targetߤfromа = Offset32(from,target)
i - ܤ

addEffect8Table.h97 行で定義されています。

参照先 osl::Offset32::index(), maxShortMoveOffset, maxShortPromoteMoveOffset, shortMoveOffset, と shortPromoteMoveOffset.

参照元 osl::move_generator::generateLongMove(), と osl::move_generator::generateShortMove().

OffsetPair osl::move_generator::AddEffect8Table::getLongMoveOffset ( Ptype  ptype,
Offset32  o32,
int  i 
) const [inline]

ptypeζưŨζ̤8˵ĹĤа.

鸫kingPosition+first˶ưǤơ kingPosition+secondȤδ֤äemptyʤɤ

引数:
ptype - ưζμ
o32 - targetߤfromа = Offset32(from,target)
i - ܤ

addEffect8Table.h116 行で定義されています。

参照先 osl::Offset32::index(), longMoveOffset, と maxLongMoveOffset.

参照元 osl::move_generator::generateLongMove().

OffsetPair osl::move_generator::AddEffect8Table::getBetweenOffset ( Ptype  ptype,
Offset32  o32 
) const [inline]

ptypeζŨζ𤬤ʤ8˵Ĺ.

secondˤɤäkingPosition+firstޤǤ˼⤬1Ĥʤɤ

引数:
ptype - ưζμ
o32 - targetߤfromа = Offset32(from,target)

addEffect8Table.h127 行で定義されています。

参照先 betweenOffset, と osl::Offset32::index().

参照元 osl::move_generator::generateLongMove().

void osl::move_generator::AddEffect8Table::initDropPosition (  )  [private]

void osl::move_generator::AddEffect8Table::initLongDropPosition (  )  [private]

void osl::move_generator::AddEffect8Table::initMoveOffset (  )  [private]


変数

addEffect8Table.h25 行で定義されています。

addEffect8Table.h26 行で定義されています。

参照元 getDropPosition(), initDropPosition(), と initLongDropPosition().

addEffect8Table.h27 行で定義されています。

addEffect8Table.h28 行で定義されています。

参照元 getLongDropDirect(), と initLongDropPosition().

addEffect8Table.h30 行で定義されています。

addEffect8Table.h31 行で定義されています。

参照元 getLongDropPosition(), と initLongDropPosition().

addEffect8Table.h32 行で定義されています。

addEffect8Table.h33 行で定義されています。

参照元 getLongDrop2Position(), と initLongDropPosition().

addEffect8Table.h35 行で定義されています。

参照元 getShortMoveOffset().

addEffect8Table.h36 行で定義されています。

参照元 getShortMoveOffset(), と initMoveOffset().

addEffect8Table.h37 行で定義されています。

参照元 getShortMoveOffset().

addEffect8Table.h38 行で定義されています。

参照元 getShortMoveOffset(), と initMoveOffset().

addEffect8Table.h39 行で定義されています。

参照元 getLongMoveOffset().

addEffect8Table.h40 行で定義されています。

参照元 getLongMoveOffset(), と initMoveOffset().

addEffect8Table.h41 行で定義されています。

参照元 getBetweenOffset(), と initMoveOffset().


このクラスの説明は次のファイルから生成されました:

Thu Oct 8 05:01:17 2009に生成されました。  doxygen 1.5.6