/* Heuristic 3 * 1 / Sum of the number of tiles that can be covered with the current layout */ public static int Heuristic3(ZhedBoard board) { if (board.isOver) { return(0); } return(1000 / board.getBoardMaxValue()); }
public int Heuristic3(ZhedBoard board) { if (board.isOver) { return(0); } int a = 1000 / board.getBoardMaxValue(); //Console.WriteLine(a); return(a); }