2018-01-10 19:28:29 +02:00

53 lines
819 B
Java
Executable File

package gr.auth.ee.dsproject.node;
import gr.auth.ee.dsproject.pacman.Room;
import java.util.ArrayList;
public class Node
{
int nodeX;
int nodeY;
int depth;
int nodeMove;
double nodeEvaluation;
int[][] currentGhostPos;
int[][] flagPos;
boolean[] currentFlagStatus;
Node parent;
ArrayList<Node> children = new ArrayList<Node>();
// Constructor
public Node ()
{
// TODO Fill This
}
private int[][] findGhosts (Room[][] Maze)
{
// TODO Fill This
}
private int[][] findFlags (Room[][] Maze)
{
// TODO Fill This
}
private boolean[] checkFlags (Room[][] Maze)
{
// TODO Fill This
}
private double evaluate ()
{
double evaluation = (200 * Math.random()) - 100;
return evaluation;
}
}