|
My Project
|
追加利きを求める More...
#include <additionalEffect.h>
Static Public Member Functions | |
| static void | find (const NumEffectState &, Square target, PieceVector &black, PieceVector &white) |
| target に対する追加利きのある Piece を black, white に求める. | |
| static void | count (const NumEffectState &, Square target, int &black, int &white) |
| static int | count (const NumEffectState &state, Player pl, Square target) |
| static bool | hasEffect (const NumEffectState &, Square target, Player attack) |
| target に attack の追加利きが一つでもあるか. 相手の影利きが先にある場合は対象としない. | |
| static bool | hasEffectStable (const NumEffectState &, Square target, Player attack) |
| static int | count2 (const NumEffectState &, Square target, Player attack) |
| target に attack の追加利きを二つまで数える. | |
Static Private Member Functions | |
| static void | find (const NumEffectState &, Square target, const PieceVector &direct_effects, PieceVector &black, PieceVector &white) |
| template<int count_max> | |
| static int | count (const NumEffectState &, Square target, Player attack) |
追加利きを求める
Definition at line 12 of file additionalEffect.h.
|
static |
Definition at line 95 of file additionalEffect.cc.
|
staticprivate |
Definition at line 25 of file additionalEffect.cc.
|
inlinestatic |
Definition at line 44 of file additionalEffect.h.
|
static |
target に attack の追加利きを二つまで数える.
相手の影利きの駒以降は対象としない.
Definition at line 42 of file additionalEffect.cc.
|
staticprivate |
Definition at line 49 of file additionalEffect.cc.
|
static |
target に対する追加利きのある Piece を black, white に求める.
[*] +KI -HI +HI の場合,-HIも+HIもカウント.
Definition at line 82 of file additionalEffect.cc.
|
static |
target に attack の追加利きが一つでもあるか. 相手の影利きが先にある場合は対象としない.
Definition at line 4 of file additionalEffect.cc.
Referenced by osl::move_probability::Feature::classifyEffect9(), osl::rating::CountEffect2::count(), osl::eval::ml::Promotion37::evalOne(), and osl::progress::ml::NewProgress::promotion37One().
|
static |
Definition at line 35 of file additionalEffect.cc.