クラス osl::ntesuki::NtesukiSimulationSearcher

#include <ntesukiSimulationSearcher.h>

osl::ntesuki::NtesukiSimulationSearcherのコラボレーション図

Collaboration graph
[凡例]

すべてのメンバ一覧

Public メソッド

 NtesukiSimulationSearcher (state_t &state, NtesukiMoveGenerator *mg, PathEncoding &path, NtesukiTable &table, NtesukiRecord::ISScheme isscheme, bool verbose=false)
 ~NtesukiSimulationSearcher ()
template<Player P>
bool startFromAttackProof (NtesukiRecord *record, const NtesukiRecord *record_orig, const unsigned int passLeft, const Move last_move)
 Start simulation to proof, P as Attacker.
template<Player P>
bool startFromDefenseProof (NtesukiRecord *record, const NtesukiRecord *record_orig, const unsigned int passLeft, const Move last_move)
 Start simulation to proof, P as Defender.
template<Player P>
bool startFromAttackDisproof (NtesukiRecord *record, const NtesukiRecord *record_orig, const unsigned int passLeft, const Move last_move)
 Start simulation to disproof, P as Attacker.
template<Player P>
bool startFromDefenseDisproof (NtesukiRecord *record, const NtesukiRecord *record_orig, const unsigned int passLeft, const Move last_move)
 Start simulation to disproof, P as Defender.
unsigned int nodeCount () const

Public 変数

bool debug

Private メソッド

template<Player P>
bool isSafeMove (const Move move, int pass_left)
 Still cannot see if is safe move
template<Player P>
Move adjustMove (Move candidate) const
template<Player P>
void attackForProof (NtesukiRecord *record, const NtesukiRecord *record_orig, const unsigned int passLeft, const Move last_move)
 Proof ˴ؤ׻
template<Player P>
void defenseForProof (NtesukiRecord *record, const NtesukiRecord *record_orig, const unsigned int passLeft, const Move last_move)
 Disproof ɸ˴ؤ׻
template<Player P>
void attackForDisproof (NtesukiRecord *record, const NtesukiRecord *record_orig, const unsigned int passLeft, const Move last_move)
 Disproof ˴ؤ׻
template<Player P>
void defenseForDisproof (NtesukiRecord *record, const NtesukiRecord *record_orig, const unsigned int passLeft, const Move last_move)
 Disproof ɸ˴ؤ׻

Private 変数

unsigned int node_count
 ߤޤǤ˲Ρɤ
bool verbose
 вɤޤɽ뤫
unsigned int proof_count
 Simulation ̤
unsigned int proof_success_count
unsigned int light_proof_success_count
unsigned int disproof_count
unsigned int disproof_success_count
NtesukiResult result
state_tstate
NtesukiMoveGeneratormg
PathEncodingpath
NtesukiTabletable
NtesukiRecord::ISScheme isscheme

構成

class  AttackHelperDisproof
class  AttackHelperProof
class  DefenseHelperDisproof
class  DefenseHelperProof


説明

ntesukiSimulationSearcher.h15 行で定義されています。


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

osl::ntesuki::NtesukiSimulationSearcher::NtesukiSimulationSearcher ( state_t state,
NtesukiMoveGenerator mg,
PathEncoding path,
NtesukiTable table,
NtesukiRecord::ISScheme  isscheme,
bool  verbose = false 
)

ntesukiSimulationSearcher.cc10 行で定義されています。

osl::ntesuki::NtesukiSimulationSearcher::~NtesukiSimulationSearcher (  ) 


関数

template<Player P>
bool NtesukiSimulationSearcher::isSafeMove ( const Move  move,
int  pass_left 
) [inline, private]

Still cannot see if is safe move

ntesukiSimulationSearcherProof.tcc130 行で定義されています。

参照先 osl::Move::from(), osl::Move::isDrop(), osl::Move::ptype(), state, と osl::Move::to().

template<Player P>
Move osl::ntesuki::NtesukiSimulationSearcher::adjustMove ( Move  candidate  )  const [inline, private]

template<Player P>
void NtesukiSimulationSearcher::attackForProof ( NtesukiRecord record,
const NtesukiRecord record_orig,
const unsigned int  passLeft,
const Move  last_move 
) [inline, private]

template<Player P>
void NtesukiSimulationSearcher::defenseForProof ( NtesukiRecord record,
const NtesukiRecord record_orig,
const unsigned int  passLeft,
const Move  last_move 
) [inline, private]

template<Player P>
void NtesukiSimulationSearcher::attackForDisproof ( NtesukiRecord record,
const NtesukiRecord record_orig,
const unsigned int  passLeft,
const Move  last_move 
) [inline, private]

template<Player P>
void NtesukiSimulationSearcher::defenseForDisproof ( NtesukiRecord record,
const NtesukiRecord record_orig,
const unsigned int  passLeft,
const Move  last_move 
) [inline, private]

template<Player P>
template bool osl::ntesuki::NtesukiSimulationSearcher::startFromAttackProof< WHITE > ( NtesukiRecord record,
const NtesukiRecord record_orig,
const unsigned int  passLeft,
const Move  last_move 
) [inline]

template<Player P>
template bool osl::ntesuki::NtesukiSimulationSearcher::startFromDefenseProof< WHITE > ( NtesukiRecord record,
const NtesukiRecord record_orig,
const unsigned int  passLeft,
const Move  last_move 
) [inline]

template<Player P>
template bool osl::ntesuki::NtesukiSimulationSearcher::startFromAttackDisproof< WHITE > ( NtesukiRecord record,
const NtesukiRecord record_orig,
const unsigned int  passLeft,
const Move  last_move 
) [inline]

Start simulation to disproof, P as Attacker.

戻り値:
true, if nocheckmate is proven

ntesukiSimulationSearcherDisproof.tcc396 行で定義されています。

参照先 CATCH_DFPN, disproof_count, disproof_success_count, osl::ntesuki::NtesukiRecord::getValue(), osl::checkmate::ProofDisproof::isCheckmateFail(), ntesuki_assert, result, と TRY_DFPN.

template<Player P>
template bool osl::ntesuki::NtesukiSimulationSearcher::startFromDefenseDisproof< WHITE > ( NtesukiRecord record,
const NtesukiRecord record_orig,
const unsigned int  passLeft,
const Move  last_move 
) [inline]

unsigned int osl::ntesuki::NtesukiSimulationSearcher::nodeCount (  )  const [inline]

ntesukiSimulationSearcher.h153 行で定義されています。


変数

вɤޤɽ뤫

ntesukiSimulationSearcher.h21 行で定義されています。

参照元 ~NtesukiSimulationSearcher().

Simulation ̤

ntesukiSimulationSearcher.h24 行で定義されています。

参照元 startFromAttackProof(), startFromDefenseProof(), と ~NtesukiSimulationSearcher().

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

ntesukiSimulationSearcher.h34 行で定義されています。

参照元 startFromAttackProof(), と startFromDefenseProof().

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

参照元 defenseForProof(), startFromAttackProof(), と startFromDefenseProof().


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

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