⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 evaluation.java

📁 人工智能_bachgammonagent
💻 JAVA
字号:
//package bkgm;
/* An Evaluation must provide a method for scoring a board for a given
 * player, and max/min bounds on this score. */
public abstract class Evaluation {
    abstract float boardScore(BackgammonBoard b, int player);

    protected float MAX_SCORE;
    protected float MIN_SCORE;

    public float getMaxScore() {
	return MAX_SCORE;
    }

    public float getMinScore() {
	return MIN_SCORE;
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -