00001 /*********************************************************************************** 00002 * Filename $RCSfile: alg1_eval.h,v $ 00003 * Current CVS $Revision: 1.3 $ 00004 * Checked-in by $Author: yves $ 00005 * 00006 * $Log: alg1_eval.h,v $ 00007 * Revision 1.3 2004/12/16 00:18:24 yves 00008 * Standard CVS command tags added 00009 * FEN notation inverted, now uppercase is white and lowercase is black 00010 * 00011 * 00012 ***********************************************************************************/ 00013 00014 #if !defined(__ALG1_EVAL_H__) 00015 #define __ALG1_EVAL_H__ 00016 00017 #include "belofte.h" 00018 #include "alg1_search.h" 00019 00020 // -------------------------------------------------------------------- 00021 00022 #define SCORE_WON 999 00023 #define SCORE_ALMOST_WON (SCORE_WON - 100) 00024 #define SCORE_DRAW 0 00025 00026 // -------------------------------------------------------------------- 00027 00028 #define MOBILITY_DIVIDER 200.0 00029 #define BOARD_DIVIDER 200.0 00030 #define KING_DIVIDER 120.0 00031 00032 #define DEVELOPMENT_FACTOR 1 00033 00034 #define DOUBLE_PAWN_MALUS -60 00035 00036 // -------------------------------------------------------------------- 00037 00038 t_score eval_pos(const t_boolean isWhite); 00039 void fill_moveevalbuffers(void); 00040 00041 #endif