Static Public メソッド

構造体 osl::ShouldPromoteCut

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

#include <shouldPromoteCut.h>

すべてのメンバ一覧

Static Public メソッド

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)

説明

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

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

shouldPromoteCut.h16 行で定義されています。


関数

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

shouldPromoteCut.h43 行で定義されています。

参照先 osl::Move::player().

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

drop は通すチェック有り

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

参照先 osl::Move::isDrop().

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

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

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

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


この構造体の説明は次のファイルから生成されました:
 全て クラス ネームスペース ファイル 関数 変数 型定義 列挙型 列挙型の値 フレンド マクロ定義