From 967b859ecc351f61d6bc2e7dd12575051102871d Mon Sep 17 00:00:00 2001 From: Brandon Rozek Date: Thu, 2 Nov 2023 16:54:40 -0400 Subject: [PATCH] Matching the uninformed heuristic default --- .../java/org/rairlab/planner/heuristics/ConstantHeuristic.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/rairlab/planner/heuristics/ConstantHeuristic.java b/src/main/java/org/rairlab/planner/heuristics/ConstantHeuristic.java index f4bb132..6132121 100644 --- a/src/main/java/org/rairlab/planner/heuristics/ConstantHeuristic.java +++ b/src/main/java/org/rairlab/planner/heuristics/ConstantHeuristic.java @@ -3,7 +3,8 @@ package org.rairlab.planner.heuristics; import org.rairlab.planner.State; public class ConstantHeuristic { + // Uninformed heuristic public static int h(State s) { - return 1; + return 0; } }