Skip to content

Commit 0604a6e

Browse files
author
magicindian
committed
removed extraneous @OverRide annotations from the last check in (which failed to compile)
1 parent 06b412e commit 0604a6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/aima/gui/applications/search/map/RoutePlanningAgentAppDemo.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ protected void startAgent() {
230230
* Returns always the heuristic value 0.
231231
*/
232232
static class H1 extends AdaptableHeuristicFunction {
233-
@Override
233+
234234
public double getHeuristicValue(Object state) {
235235
return 0.0;
236236
}
@@ -242,7 +242,7 @@ public double getHeuristicValue(Object state) {
242242
* between them as heuristic value.
243243
*/
244244
static class H2 extends AdaptableHeuristicFunction {
245-
@Override
245+
246246
public double getHeuristicValue(Object state) {
247247
return map.getStraightLineDistance((String) state, (String) goal);
248248
}

0 commit comments

Comments
 (0)