stem/AI/Searching/Uninformed.md
andy 3606944190 vault backup: 2023-06-08 17:52:08
Affected files:
.obsidian/graph.json
.obsidian/workspace-mobile.json
.obsidian/workspace.json
Food/Meal Plan.md
Lab/Linux/Alpine.md
Lab/Linux/KDE.md
Lab/Scratch Domain.md
Lab/Windows/Active Directory.md
Languages/Spanish/README.md
Languages/Spanish/Spanish.md
Money/Accounts.md
Money/Monthly/23-04.md
Money/Monthly/23-05.md
Money/Monthly/23-06.md
Projects/Mixonomer.md
Projects/NoteCrawler.md
Projects/Projects.md
Projects/README.md
Projects/Selector.md
Projects/To Do App.md
Projects/img/selector-arch.png
STEM/AI/Classification/Supervised/SVM.md
STEM/AI/Neural Networks/CNN/FCN/Super-Resolution.md
STEM/AI/Neural Networks/CNN/GAN/GAN.md
STEM/AI/Neural Networks/CNN/GAN/cGAN.md
STEM/AI/Neural Networks/CNN/Interpretation.md
STEM/AI/Neural Networks/Deep Learning.md
STEM/AI/Neural Networks/MLP/MLP.md
STEM/AI/Neural Networks/Properties+Capabilities.md
STEM/AI/Neural Networks/RNN/Representation Learning.md
STEM/AI/Pattern Matching/Markov/Markov.md
STEM/AI/Searching/Informed.md
STEM/AI/Searching/README.md
STEM/AI/Searching/Searching.md
STEM/AI/Searching/Uninformed.md
STEM/CS/Languages/Javascript.md
STEM/CS/Languages/Python.md
STEM/CS/Languages/dotNet.md
STEM/CS/Resources.md
STEM/IOT/Cyber-Physical Systems.md
STEM/IOT/Networking/Networking.md
STEM/IOT/Networking/README.md
STEM/IOT/Software Services.md
STEM/img/cyberphysical-social-data.png
STEM/img/cyberphysical-system-types.png
STEM/img/cyberphysical-systems.png
STEM/img/depth-first-cons.png
STEM/img/depth-first.png
STEM/img/iot-mesh-network.png
STEM/img/iot-network-radar.png
STEM/img/iot-network-types 1.png
STEM/img/iot-network-types.png
STEM/img/markov-start-end-matrix.png
STEM/img/markov-start-end-probs.png
STEM/img/markov-start-end.png
STEM/img/markov-state-duration.png
STEM/img/markov-state.png
STEM/img/markov-weather.png
STEM/img/search-bidirectional.png
STEM/img/search-breadth-first.png
STEM/img/search-lim-goal.png
STEM/img/search-lim1.png
STEM/img/search-lim2.png
STEM/img/search-lim3-2.png
STEM/img/search-lim3.png
STEM/img/search-lim4.png
STEM/img/searching-graph-tree.png
STEM/img/searching-graph.png
Work/Freelancing.md
2023-06-08 17:52:09 +01:00

45 lines
1.1 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Breadth First
- Uniform cost with cost function proportional to depth
- All of each layer
- Max nodes before solution
- $=1+b+b^2+b^3+b^4+...+b^n$
- Time, space complexity = $O(b)^d$
- Exponential
- Lots of time but complete and optimal
- Goal at depth, $d1$
- $1+b+b^2+b^3+b^4+...+b^{d-1}=\frac{b^d-1}{b-1}$
- Average at $\frac{1+b^d}{2}$ terminal nodes
![](../../img/search-breadth-first.png)
# Depth First
- Between $(1+d)$ and $(\frac{b^{d+1}-1}{b-1})$  
- If at left hand side or right hand side
- Much less memory space than BFS
- Non-optimal, non-complete
![](../../img/depth-first.png)
![](../../img/depth-first-cons.png)
## Depth Limited
- Predetermined max depth
- Only complete if max depth is sufficiently large
- Hard to determine
# Bi-Directional
- Out from start and goal until they meet
- If done with heuristics
- May not crossover
![](../../img/search-bidirectional.png)
# Iterative Deepening
- Combine BFS and DFS
![](../../img/search-lim1.png)
![](../../img/search-lim2.png)
![](../../img/search-lim3.png)
![](../../img/search-lim3-2.png)
![](../../img/search-lim4.png)
![](../../img/search-lim-goal.png)