mirror of
https://github.com/RAIRLab/Spectra.git
synced 2024-11-08 10:40:37 -05:00
Matching the uninformed heuristic default
This commit is contained in:
parent
edde3cc8e5
commit
967b859ecc
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue