We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06b412e commit 0604a6eCopy full SHA for 0604a6e
src/aima/gui/applications/search/map/RoutePlanningAgentAppDemo.java
@@ -230,7 +230,7 @@ protected void startAgent() {
230
* Returns always the heuristic value 0.
231
*/
232
static class H1 extends AdaptableHeuristicFunction {
233
- @Override
+
234
public double getHeuristicValue(Object state) {
235
return 0.0;
236
}
@@ -242,7 +242,7 @@ public double getHeuristicValue(Object state) {
242
* between them as heuristic value.
243
244
static class H2 extends AdaptableHeuristicFunction {
245
246
247
return map.getStraightLineDistance((String) state, (String) goal);
248
0 commit comments