Debian Codegraph @

old-sample/legacy-checkmate/lib/nullCost.h

raw
1 /* nullCost.h
2 */
3 #ifndef _NULLCOST_H
4 #define _NULLCOST_H
5
6 #include "osl/player.h"
7 namespace osl
8 {
9 namespace checkmate
10 {
11 struct CheckMove;
12 /** plain df-pn のためのCostの予想 */
13 struct NullCost
14 {
15 /** 攻撃側の move に対する cost を計算する */
16 template <class State>
17 static void setAttackCost(Player, const State&, CheckMove&)
18 {
19 }
20 /** 防御側の move に対する cost を計算する */
21 template <class State>
22 static void setDefenseCost(Player, const State&, CheckMove&)
23 {
24 }
25 };
26 } // namespace checkmate
27 } // namespace osl
28
29
30 #endif /* _NULLCOST_H */
31 // ;;; Local Variables:
32 // ;;; mode:c++
33 // ;;; c-basic-offset:2
34 // ;;; End: