public StraightLineDistanceHeuristicFunction(Object goal, Map map) { this.goal = goal; this.map = map; }