# Types of Search Algorithms

Search algorithms are essential tools in artificial intelligence, enabling agents to systematically explore a problem space to find solutions.

Search algorithms can be broadly categorized based on the nature of the problem and the availability of information into two main types: **Uninformed (Blind) Search** and **Informed (Heuristic) Search**. Additionally, they can also be classified as **Local Search** and **Global Search** depending on the scope of their exploration.

**Key Distinctions**

* **Uninformed Search**: Requires no additional information beyond the problem definition.
* **Informed Search**: Utilizes heuristics or additional knowledge to improve efficiency.
* **Global Search**: Explores the entire problem space systematically or with guidance (e.g., BFS, A\*). These algorithms are more exhaustive but computationally expensive.
* **Local Search**: Focuses on improving solutions in a specific area without exploring the entire space (e.g., Hill Climbing, Simulated Annealing). These algorithms are more efficient for large spaces but may miss the optimal solution.

<div align="left"><figure><img src="/files/TCabEKObk0jngZBAr5ZY" alt="" width="563"><figcaption></figcaption></figure></div>

Understanding the types of search algorithms in AI is crucial for selecting the right approach for a given problem. Uninformed search offers a straightforward, brute-force methodology suitable for simpler tasks, while informed search leverages domain knowledge to efficiently tackle complex challenges. Beyond these, advanced techniques open doors to solving real-world problems in diverse domains, from robotics to optimization and decision-making systems.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://apphp.gitbook.io/artificial-intelligence-with-php/artificial-intelligence/theoretical-foundations-of-ai/problem-solving-in-ai/types-of-search-algorithms.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
