00001 /* moveEvaluation.h 00002 */ 00003 #ifndef OSL_CATEGORY_MOVEEVALUATION_H 00004 #define OSL_CATEGORY_MOVEEVALUATION_H 00005 00006 #include "osl/eval/pieceEval.h" 00007 #include "osl/state/numEffectState.h" 00008 #include "osl/container/position8.h" 00009 00010 namespace osl 00011 { 00012 namespace category 00013 { 00014 class CategoryEnv; 00018 struct MoveEvaluation 00019 { 00020 static int evalLight(const NumEffectState& state, Move move) 00021 { 00022 return PieceEval::computeDiffAfterMoveForRP(state, move); 00023 } 00024 static int evalDetailed(const CategoryEnv& env, Move move, 00025 const Position8& sendoffs); 00026 }; 00027 } 00028 } // namespace osl 00029 00030 #endif /* OSL_CATEGORY_MOVEEVALUATION_H */ 00031 // ;;; Local Variables: 00032 // ;;; mode:c++ 00033 // ;;; c-basic-offset:2 00034 // ;;; End: