All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Static Public Member Functions
osl::search::ShouldPromoteCut Struct Reference

探索で前向き枝刈して良い条件を一時的に書いておく More...

#include <shouldPromoteCut.h>

List of all members.

Static Public Member Functions

template<Player P>
static bool canIgnore (Ptype ptype, Square from, Square to)
template<Player Moving>
static bool canIgnoreMove (Move move)
 dropでないことが確定している場合
template<Player Moving>
static bool canIgnoreAndNotDrop (Move move)
 drop は通すチェック有り
static bool canIgnoreAndNotDrop (Move move)

Detailed Description

探索で前向き枝刈して良い条件を一時的に書いておく

効果を把握したら手生成の段階で cut するのが better TODO: あと,2段目への香は必ず成るチェックをいれる

Definition at line 19 of file shouldPromoteCut.h.


Member Function Documentation

template<Player P>
static bool osl::search::ShouldPromoteCut::canIgnore ( Ptype  ptype,
Square  from,
Square  to 
) [inline, static]
template<Player Moving>
static bool osl::search::ShouldPromoteCut::canIgnoreAndNotDrop ( Move  move) [inline, static]

drop は通すチェック有り

Definition at line 42 of file shouldPromoteCut.h.

References osl::Move::isDrop().

Referenced by osl::search::AlphaBeta3::searchRoot().

static bool osl::search::ShouldPromoteCut::canIgnoreAndNotDrop ( Move  move) [inline, static]

Definition at line 46 of file shouldPromoteCut.h.

References osl::BLACK, and osl::Move::player().

template<Player Moving>
static bool osl::search::ShouldPromoteCut::canIgnoreMove ( Move  move) [inline, static]

dropでないことが確定している場合

Definition at line 33 of file shouldPromoteCut.h.

References osl::Move::from(), osl::Move::isDrop(), osl::Move::ptype(), and osl::Move::to().


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