ScholarQuill logoScholarQuillUniversity Notes
My Semester
Explore Notes
Past Papers12 New
Video CoursesNew
Search
Settings
Study Tools
GPA/CGPA Calculator
Schedule & To-Do
Student Portal
Contact
Contact
ScholarQuill logo
My Semester
Explore Notes
Past Papers12 New
Video CoursesNew
Search
Settings
GPA/CGPA Calculator
Schedule & To-Do
Student Portal
Contact
ScholarQuill logoScholarQuillUniversity Notes
Study PortalCOMP2121Uninformed Search
Ctrl + K
Login
Explore
Search
Semester
Papers
CGPA
    COMP2121

    Artificial Intelligence

    Progress0 / 19 done
    Topics19
    1An Introduction to Artificial Intelligence and its applications towards Knowledge Based Systems2Introduction to Reasoning and Knowledge Representation
    3Informed searching4Uninformed searching5Heuristics in Problem Solving6Local searching algorithms7Minimax algorithm8Alpha-beta pruning9Game-playing in AI
    10General Problem Solver11ELIZA12Student13Macsyma14Learning from examples15Artificial Neural Networks (ANN)16Natural Language Processing17Recent trends and applications of AI algorithms18Python programming for AI19Implementation of AI techniques in Python
    2 min read
    Topic 4 of 19
    Topic Study Note Illustration
    04

    Problem Solving by Searching: Uninformed searching

    In AI, problem solving by searching involves exploring a search space (all possible states or actions) to find a solution path from the initial state to the...

    📘 Problem Solving by Searching: Uninformed Search


    1. What is Problem Solving by Searching?

    In AI, problem solving by searching involves exploring a search space (all possible states or actions) to find a solution path from the initial state to the goal state.

    This is used in games, pathfinding, planning, and more.


    2. What is Uninformed Search (Blind Search)?

    Uninformed Search is a type of search strategy where the algorithm has no knowledge about the goal's location other than how to generate next states from current states.

    It doesn't use any domain-specific knowledge or heuristics.


    3. Components of a Search Problem

    Every search problem can be defined by:

    • Initial state: Where the agent starts.
    • Goal state: Desired end point.
    • Actions: Possible moves.
    • Transition model: What happens when an action is taken.
    • Path cost: Numeric cost of a solution path (e.g., distance, time).

    4. Types of Uninformed Search Algorithms

    Search Type Description Complete? Optimal? Time Complexity
    Breadth-First Search (BFS) Explores all nodes at the current depth before going deeper ✅ Yes ✅ Yes (if cost = 1) O(b^d)
    Depth-First Search (DFS) Explores as far as possible along a branch before backtracking ✅ (if finite) ❌ No O(b^m)
    Uniform Cost Search (UCS) Expands node with lowest path cost first ✅ Yes ✅ Yes O(b^c*/ε)
    Depth-Limited Search DFS with a depth limit to prevent infinite loops ❌ Not always ❌ No O(b^l)
    Iterative Deepening DFS (IDDFS) Repeated DFS with increasing depth limit ✅ Yes ✅ Yes (if cost = 1) O(b^d)

    Where:

    • b = branching factor (average number of successors)
    • d = depth of the shallowest goal node
    • m = maximum depth of the tree
    • c* = cost of the optimal solution
    • ε = smallest cost of any step

    5. Example: Maze Problem

    Imagine a maze:

    • Initial state: Entrance of the maze
    • Goal state: Exit
    • Uninformed search: The algorithm explores paths without knowing where the exit is.

    ✅ Summary of Key Uninformed Search Algorithms

    Algorithm Use When
    BFS You want the shortest path (cost = 1)
    DFS Memory is limited and solution is deep
    UCS Path cost varies and optimality is important
    IDDFS You want completeness + low memory usage
    Depth-Limited Infinite-depth problem; limit known

    ← Previous topic 3
    Problem Solving by Searching: Informed searching
    Next topic 5 →
    Heuristics in Problem Solving

    Past Papers

    Open this section to view and download past papers

    Click on Show Past Papers to load available exam papers.

    Reading Progress
    0%
    2mremaining
    372words
    Beginnerlevel
    On This Page

    No headings found

    Study Toolkit

    Subject Portal

    Artificial Intelligence