MapFunctionFactory.getActionsFunction(romaniaMap),
MapFunctionFactory.getResultFunction(), new DefaultGoalTest(
SimplifiedRoadMapOfPartOfRomania.BUCHAREST),
new MapStepCostFunction(romaniaMap));
Search search = new GreedyBestFirstSearch(new GraphSearch(),
new StraightLineDistanceHeuristicFunction(
SimplifiedRoadMapOfPartOfRomania.BUCHAREST, romaniaMap));
SearchAgent agent = new SearchAgent(problem, search);
Assert.assertEquals(
"[Action[name==moveTo, location==Sibiu], Action[name==moveTo, location==Fagaras], Action[name==moveTo, location==Bucharest]]",