ScholarQuill logoScholarQuillUniversity Notes
  • Notes
  • Past Papers
  • Blogs
  • Todo
Login
ScholarQuill logoScholarQuillUniversity Notes
Login
NotesPast PapersBlogsTodo
More
SubjectsDiscussionCGPA CalculatorGPA CalculatorStudent PortalCourse Outline
About
About usPrivacy PolicyReportContact
Notes
Past Papers
Blogs
Todo
Analytics
    Current Subject
    🧩
    Artificial Intelligence
    COMP2121
    Progress0 / 19 topics
    Topics
    1. An Introduction to Artificial Intelligence and its applications towards Knowledge Based Systems2. Introduction to Reasoning and Knowledge Representation3. Problem Solving by Searching: Informed searching4. Problem Solving by Searching: Uninformed searching5. Heuristics in Problem Solving6. Local searching algorithms7. Minimax algorithm8. Alpha-beta pruning9. Game-playing in AI10. Case Study: General Problem Solver11. Case Study: ELIZA12. Case Study: Student13. Case Study: Macsyma14. Learning from examples15. Artificial Neural Networks (ANN)16. Natural Language Processing17. Recent trends and applications of AI algorithms18. Python programming for AI19. Implementation of AI techniques in Python
    COMP2121›Problem Solving by Searching: Uninformed searching
    Artificial IntelligenceTopic 4 of 19Regular Notes

    Problem Solving by Searching: Uninformed searching

    2 minread
    372words
    Beginnerlevel

    📘 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 load past papers

    Click on Show Past Papers to see past papers.
    On This Page
      Reading Stats
      Est. reading time2 min
      Word count372
      Code examples0
      DifficultyBeginner