A java PacMan game application for A.U.TH (data structures class)
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- /**
- * @file Globals.java
- * @brief
- * File containing the Globals class, a helper class for the
- * vector based evaluation system
- *
- * @author Christos Choutouridis 8997 cchoutou@ece.auth.gr
- * @author Konstantina Tsechelidou 8445 konstsec@ece.auth.gr
- */
-
- package gr.auth.ee.dsproject.node;
-
- /**
- * @class Globals
- * @brief
- * Contains constants and factors to trick
- * the Node evaluation algorithm
- */
- public class Globals {
- /*
- * Global constants
- */
- public static final int NO_PLACE = -1; // out of region square
- //public static final int NO_MOVE = -1;
- public static final int INVALID_MOVE = -1; // invalid move marker
-
- public static final int EVAL_MAX = 100; // out max evaluation value
- public static final int EVAL_MIN = -100; // our minimum evaluation value
- public static final int NO_EVAL = EVAL_MIN-1; // mark the invalid move or no evaluation
-
-
- /*
- * Evaluation settings
- */
- /**
- * Mixing factor for the minimum distance for life algorithm
- */
- public static final double EVAL_LIFE_MIN_FACTOR = 0.8;
- /**
- * mixing factor for the average distances for live algorithm
- * @note the factor is the complementary of the EVAL_LIFE_MIN_FACTOR
- */
- public static final double EVAL_LIFE_AVER_FACTOR = 1 - EVAL_LIFE_MIN_FACTOR;
-
-
- /**
- * Evaluation mixing factor representing how mutch of life will be
- * in the final evaluation value
- */
- public static final double EVAL_LIFE_FACTOR = 0.35;
- /**
- * Evaluation mixing factor representing how mutch of goal will be
- * in the final evaluation value
- * @note the factor is the complementary of the EVAL_LIFE_FACTOR
- */
- public static final double EVAL_GOAL_FACTOR = 1 - EVAL_LIFE_FACTOR;
- }
|