Package edu.uky.ai.planning.ss
Class StateSpaceSearch
java.lang.Object
edu.uky.ai.planning.Search
edu.uky.ai.planning.ss.StateSpaceSearch
- Direct Known Subclasses:
BackwardSearch
,ForwardSearch
Represents a search through the space of states.
- Author:
- Stephen G. Ware
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal StateSpaceProblem
The state space problem being solvedfinal StateSpaceRoot
The root node of the search space (i.e. -
Constructor Summary
ConstructorsConstructorDescriptionStateSpaceSearch
(StateSpaceProblem problem, SearchBudget budget, StateSpaceRoot root) Creates a state space search for a given problem. -
Method Summary
Methods inherited from class edu.uky.ai.planning.Search
countGenerated, countVisited, solve
-
Field Details
-
problem
The state space problem being solved -
root
The root node of the search space (i.e. a plan with 0 steps)
-
-
Constructor Details
-
StateSpaceSearch
Creates a state space search for a given problem.- Parameters:
problem
- the problem whose state space will be searchedbudget
- the maximum number of states that may be searched and theroot
- the root node of the search space maximum number of milliseconds the search may take
-