All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
osl::ntesuki::NtesukiMoveList Class Reference

ntesuki 探索で使う指手のリスト More...

#include <ntesukiMoveList.h>

Inheritance diagram for osl::ntesuki::NtesukiMoveList:
Inheritance graph
[legend]
Collaboration diagram for osl::ntesuki::NtesukiMoveList:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 NtesukiMoveList ()
 NtesukiMoveList (const NumEffectState &state, const osl::MoveVector &mv)
NtesukiMoveadd (const NtesukiMove &move)
 重複をしないように手を追加するメソッド.
const NtesukiMovefind (const NtesukiMove &move) const

Detailed Description

ntesuki 探索で使う指手のリスト

Definition at line 27 of file ntesukiMoveList.h.


Constructor & Destructor Documentation

Definition at line 7 of file ntesukiMoveList.cc.

osl::ntesuki::NtesukiMoveList::NtesukiMoveList ( const NumEffectState &  state,
const osl::MoveVector &  mv 
)

Member Function Documentation

重複をしないように手を追加するメソッド.

move があるかどうか捜し,あった場合には 既にある move への参照を返す. なかった場合には move と同じ osl::Move を持つような NtesukiMove を追加する. 勝敗に関係する flags や record 等の情報は保持しないので注意. 通常の追加の場合には push_front を用いること.

Definition at line 63 of file ntesukiMoveList.cc.

References osl::ntesuki::NtesukiMove::getMove(), and osl::ntesuki::NtesukiMove::isCheck().

Referenced by osl::ntesuki::NtesukiMoveGenerator::generateWithRzone().

Definition at line 48 of file ntesukiMoveList.cc.

References osl::ntesuki::NtesukiMove::getMove().


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