Package javaff.search

Examples of javaff.search.EnforcedHillClimbingSearch.search()


  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");
   
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.