Matching the uninformed heuristic default

This commit is contained in:
Brandon Rozek 2023-11-02 16:54:40 -04:00
parent edde3cc8e5
commit 967b859ecc
No known key found for this signature in database
GPG key ID: 26E457DA82C9F480

View file

@ -3,7 +3,8 @@ package org.rairlab.planner.heuristics;
import org.rairlab.planner.State; import org.rairlab.planner.State;
public class ConstantHeuristic { public class ConstantHeuristic {
// Uninformed heuristic
public static int h(State s) { public static int h(State s) {
return 1; return 0;
} }
} }