Interface SearchStrategy

All Superinterfaces:
Serializable
All Known Subinterfaces:
StateSpaceSearch
All Known Implementing Classes:
AbstractStateSpaceSearch, AStar, BreadthFirstSearch, DepthFirstSearch, EnforcedHillClimbing, GreedyBestFirstSearch, HillClimbing

public interface SearchStrategy extends Serializable
This interface is used to define all the common methods of the search strategies.
Since:
4.0
  • Method Details

    • toSearchStrategies

      static List<SearchStrategy.Name> toSearchStrategies(String str) throws IllegalArgumentException
      Converts string in a list of search strategies.
      Parameters:
      str - the input string in the form [s1,..., sn]. The delimiter can be any space and s must be valid name of strategy.
      Returns:
      a list of search strategies.
      Throws:
      IllegalArgumentException - if the string str as input is not valide