aMap.addBidirectionalLink("B", "C", 5.0);
aMap.addUnidirectionalLink("D", "C", 5.0);
aMap.addUnidirectionalLink("E", "D", 5.0);
MapEnvironment me = new MapEnvironment(aMap);
MapAgent ma = new MapAgent(me.getMap(), me, bidirectionalSearch,
new String[] { "E" });
me.addAgent(ma, "A");
me.addEnvironmentView(new BDSEnvironmentView());
me.stepUntilDone();