public class ManhattanHeuristicFunction extends java.lang.Object implements HeuristicFunction
Constructor and Description |
---|
ManhattanHeuristicFunction(java.util.Set<Room> goals) |
Modifier and Type | Method and Description |
---|---|
double |
h(java.lang.Object state) |
public ManhattanHeuristicFunction(java.util.Set<Room> goals)
public double h(java.lang.Object state)
h
in interface HeuristicFunction