00001
00002
00003 #ifndef _NULLESTIMATOR_H
00004 #define _NULLESTIMATOR_H
00005
00006 #include "osl/checkmate/king8Info.h"
00007 #include "osl/move.h"
00008 namespace osl
00009 {
00010 namespace checkmate
00011 {
00013 struct NullEstimator
00014 {
00016 template <class State>
00017 static void attackH(Player, const State&, King8Info, Move,
00018 unsigned int& proof_number, unsigned int& disproof_number)
00019 {
00020 proof_number = 1;
00021 disproof_number = 1;
00022 }
00023
00025 template <class State>
00026 static void defenseH(Player attacker, const State&, Move move,
00027 unsigned int& proof_number, unsigned int& disproof_number)
00028 {
00029 proof_number = 1;
00030 disproof_number = 1;
00031 }
00032 };
00033 }
00034 }
00035
00036 #endif
00037
00038
00039
00040