Package fr.uga.pddl4j.planners
Interface SearchStrategy
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
StateSpaceSearch
- All Known Implementing Classes:
AbstractStateSpaceSearch,AStar,BreadthFirstSearch,DepthFirstSearch,EnforcedHillClimbing,GreedyBestFirstSearch,HillClimbing
This interface is used to define all the common methods of the search strategies.
- Since:
- 4.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classThe name of the search strategy. -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic List<SearchStrategy.Name>toSearchStrategies(String str)Converts string in a list of search strategies.
-
Method Details
-
toSearchStrategies
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
-