aMap.addBidirectionalLink("2,2", "2,3", 1.0);
aMap.addBidirectionalLink("3,2", "3,3", 1.0);
aMap.addBidirectionalLink("2,3", "1,3", 1.0);
MapEnvironment me = new MapEnvironment(aMap);
OnlineDFSAgent agent = new OnlineDFSAgent(new OnlineSearchProblem(
MapFunctionFactory.getActionsFunction(aMap),
new DefaultGoalTest("3,3"), new MapStepCostFunction(aMap)),
MapFunctionFactory.getPerceptToStateFunction());
me.addAgent(agent, "1,1");
me.addEnvironmentView(new TestEnvironmentView());