13 const int min_x = center.
x() - 2;
14 const int min_y = center.
y() - 1;
19 for (
int dx=0; dx<5; ++dx)
21 for (
int dy=0; dy<3; ++dy)
24 sum_effect += state.countEffect(defense, target) *
29 return sum_effect / 2;
35 const Square kb = new_state.kingSquare<
BLACK>(), kw = new_state.kingSquare<
WHITE>();
36 BoardMask mb = new_state.changedEffects(
BLACK), mw = new_state.changedEffects(
WHITE);
39 progresses[
BLACK]=makeProgress(
BLACK,new_state,new_state.kingSquare<
BLACK>());
41 progresses[
WHITE]=makeProgress(
WHITE,new_state,new_state.kingSquare<
WHITE>());