227228229230231232233234235236237
// ... change to using the 'all actions' neighbourhood (a null filter, as it removes nothing) BFS.setFilter(NullFilter.getInstance()); // and use that goalState = BFS.search(); } return goalState; // return the plan }