map.addBidirectionalLink("c", "e", 1.0);
map.addBidirectionalLink("d", "goal", 1.0);
map.addBidirectionalLink("e", "goal", 5.0);
Problem problem = new Problem("start",
MapFunctionFactory.getActionsFunction(map),
MapFunctionFactory.getResultFunction(), new DefaultGoalTest(
"goal"), new MapStepCostFunction(map));
HeuristicFunction hf = new HeuristicFunction() {
public double h(Object state) {
return 0; // Don't have one for this test