Please enable JavaScript.
Coggle requires JavaScript to display documents.
Search techniques - Coggle Diagram
Search techniques
Informed search techniques
(Besides info from problem statement,
also got info about how close to the goal)
Heuristics only
-
Tabu Search
Record a few previous moves in the Tabu List so that can't immediately return to previous points. But after few iterations, all is well again
-
-
For all these, sort the nodes and explore orderly according to fitness/optimality
-
-
Uninformed search techniques
(No additional info except how many order and length of past actions we have taken)
Generic solution:
- Search thru solution space
- Take first solution
- Check if it is valid (meets constraints)
- Check if it is optimum (best solution till date)
(IRS-RS-Day1-Slide20)
DFS
- N is the initial nodes (if N is empty, then exit and signal failure)
- Set n to be first node in N, and remove n from N
- If n is a goal node, exit and signal failure
- If not, move children of n to front of N (then go to n)
-
Applications,
find things that only has on solution e.g., maze
BFS
- Same as DFS except 4
...
- If not, move children of n to back of N
Examples like web crawlers
(go to a webpage and get all the links, dunnid to go into the links), or find nearby places (like clinics etc)
For forward and backward chaining, we can also use BFS and DFS. Either go down one path exclusively, or go down multiple paths (exhaust all solutions here), then go one step down the paths