My Project
Static Public Member Functions | List of all members
osl::ShouldPromoteCut Struct Reference

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

#include <shouldPromoteCut.h>

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 16 of file shouldPromoteCut.h.

Member Function Documentation

◆ canIgnore()

template<Player P>
static bool osl::ShouldPromoteCut::canIgnore ( Ptype  ptype,
Square  from,
Square  to 
)
inlinestatic

◆ canIgnoreAndNotDrop() [1/2]

template<Player Moving>
static bool osl::ShouldPromoteCut::canIgnoreAndNotDrop ( Move  move)
inlinestatic

drop は通すチェック有り

Definition at line 39 of file shouldPromoteCut.h.

References osl::Move::isDrop().

◆ canIgnoreAndNotDrop() [2/2]

static bool osl::ShouldPromoteCut::canIgnoreAndNotDrop ( Move  move)
inlinestatic

Definition at line 43 of file shouldPromoteCut.h.

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

◆ canIgnoreMove()

template<Player Moving>
static bool osl::ShouldPromoteCut::canIgnoreMove ( Move  move)
inlinestatic

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

Definition at line 30 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: