EnforcedHillClimbingSearch EHCS = new EnforcedHillClimbingSearch(initialState);
EHCS.setFilter(HelpfulFilter.getInstance()); // and use the helpful actions neighbourhood
// Try and find a plan using EHC
State goalState = EHCS.search();
if (goalState == null) // if we can't find one
{
infoOutput.println("EHC failed, using best-first search, with all actions");