00001 /* mlPredictor.h 00002 */ 00003 #ifndef _MLPREDICTOR_H 00004 #define _MLPREDICTOR_H 00005 00006 #include "osl/state/numEffectState.h" 00007 #include "osl/effect_util/neighboring8Direct.h" 00008 #include "osl/checkmate/king8Info.h" 00009 #include "osl/misc/bitOp.h" 00010 #include "osl/progress/ml/newProgress.h" 00011 00012 #include <math.h> 00013 00014 namespace osl 00015 { 00016 namespace threatmate 00017 { 00018 class MlPredictor 00019 { 00020 public: 00021 double predict(const NumEffectState& state, const Move move, size_t index=0); 00022 double probability(const NumEffectState& state, const Move move, size_t index=0); 00023 }; 00024 } // namespace threatmate 00025 } // namespace osl 00026 00027 #endif /* _MLPREDICTOR_H */ 00028 // ;;; Local Variables: 00029 // ;;; mode:c++ 00030 // ;;; c-basic-offset:2 00031 // ;;; End: