|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Creates and returns common search techniques that can be used to traverse a search tree when attempting to locate solutions for a CSP problem
Method Summary | |
SearchTechnique |
bfs()
Creates a new breadth first search technique |
SearchAction |
changeSearch(SearchGoal goal,
SearchAction action)
Special action that changes the goal being used at this point in the search tree |
SearchAction |
changeSearch(SearchGoal goal,
SearchTechnique technique,
SearchAction action)
Special action that changes the goal and search technique being used at this point in the search tree |
SearchAction |
changeSearch(SearchTechnique technique,
SearchAction action)
Special action that changes the search technique being used at this point in the search tree |
SearchTechnique |
dfs()
Creates a new depth first search technique |
Search |
search(SearchAction action)
Creates a search object that can be used to search for a problem solution as an alternative to the solve methods in the CspSolver
the uses a default DFS search technique |
Search |
search(SearchAction action,
SearchTechnique technique)
Creates a search object that can be used to search for a problem solution as an alternative to the solve methods in the CspSolver |
Method Detail |
public Search search(SearchAction action)
CspSolver
the uses a default DFS search technique
action
- Action that will generate the tree to be searchedpublic Search search(SearchAction action, SearchTechnique technique)
CspSolver
action
- Action that will generate the tree to be searchedtechnique
- Technique used to iterate over the treepublic SearchTechnique bfs()
public SearchTechnique dfs()
public SearchAction changeSearch(SearchTechnique technique, SearchAction action)
technique
- Search technique used to iterate over this part of the sub-treeaction
- Action that will generate the tree to be searchedpublic SearchAction changeSearch(SearchGoal goal, SearchAction action)
goal
- New goal for this part of the sub-treeaction
- Action that will generate the tree to be searchedpublic SearchAction changeSearch(SearchGoal goal, SearchTechnique technique, SearchAction action)
goal
- New goal to for this part of the sub-treetechnique
- Search technique used to iterate over this part of the sub-treeaction
- Action that will generate the tree to be searched
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |