Special Topics in AI | Module 03: Searching Algorithms

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/92

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 3:40 PM on 4/5/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

93 Terms

1
New cards

Searching

The most commonly used technique of problem solving in artificial intelligence.

2
New cards

Problem Solving Agent

A goal-driven agent and focuses on satisfying the goal.

3
New cards

Problem Solving Agent

Generating the solution by keeping the different condition in mind.

4
New cards

Problem Solving Agent

It solves problem by finding sequences of actions that lead to desirable states (goals).

5
New cards

Problem Solving Agent

To solve a problem, its first step is the goal formulation, based on the current situation.

6
New cards

Goal Formulation

What is the first step of a problem solving agent to solve a problem based on the current situation?

7
New cards

Initial state, actions, transition model, goal test, path cost

Five (5) Components of a Problem

8
New cards

Initial State

The state from which agent start.

9
New cards

Initial State

Starting point of a problem; where to start.

10
New cards

Actions

A description of the possible actions available to the agent.

11
New cards

Actions

Possible rules or steps of how state moves.

12
New cards

Transition Model

A description of what each action does.

13
New cards

Transition Model

For formulating this in problem formulation, we take state 𝑠 and action 𝑎 for that state and then specify the resulting state 𝑠.

14
New cards

Transition Model

What happens after each specified action/s.

15
New cards

Goal Test

Determine whether the given state is goal state or not.

16
New cards

Path Cost

Sum of cost of each path from initial state to the given state.

17
New cards

Path Cost

Cost function; measures how good or efficient a solution is.

Varies between different factors.

18
New cards

Goal Formulation

Based on the current situation and the agent’s performance measure.

It organizes steps required to achieve that goal.

19
New cards

Goal Formulation

Intelligent agent maximize their performance measure by adapting a goal and aim at satisfying it.

20
New cards

Goal

Help organize behavior by limiting the objectives that the agent is trying to achieve and hence the actions it needs to consider.

21
New cards

Goal Formulation

It is the step where you specify what are the successful world states.

22
New cards

Problem Formulation

The process of deciding what actions should be taken to achieve the formulated goal.

23
New cards

Problem Formulation

The process of deciding what actions and states to consider, given a goal.

24
New cards

Problem Formulation

The agent’s task is to find out how to act, now and in the future, so that it reaches a goal state.

25
New cards

Problem Formulation

Before it can do this, it needs to decide what sorts of actions and states it should consider.

26
New cards

Search

Explore possible actions or paths.

27
New cards

Searching

The process of looking for a sequence of actions that reaches the goal.

28
New cards

Search Algorithm

Takes a problem as an input and returns a solution in the form of an action sequence.

29
New cards

Solution

Choose the best sequence of actions.

30
New cards

Execution

Once a solution is found, the actions it recommends can be carried out.

31
New cards

Execution

Once a solution has been executed, the agent will formulate a new goal.

32
New cards

Searching Algorithm

The agent can examine different possible sequences of actions, and choose the best.

33
New cards

Searching Algorithm

Defined as taking a problem and returns a solution.

34
New cards

Searching Algorithm

Once a solution is found, the agent follows the solution and carries out the list of actions – execution phase

35
New cards

Formulate, search, execute

What is the design of an agent?

36
New cards

Complete

A search algorithm is said to be ___ when it gives a solution or returns any solution for a given random input.

37
New cards

Completeness

It answers the question:

Is the strategy guaranteed to find a solution when there is one?

38
New cards

Optimal

If a solution found is best (lowest path cost) among all the solutions identified, then that solution is said to be an ___ one.

39
New cards

Optimality

It answers the question:

Does the strategy find the highest-quality solution when there are several different solutions?

40
New cards

Time Complexity

The time taken by an algorithm to complete its task.

41
New cards

Time Complexity

If the algorithm completes a task in a lesser amount of time, then it is an efficient one.

42
New cards

Time Complexity

It answers the question:
How long does it take to find a solution?

43
New cards

Space Complexity

It is the maximum storage or memory taken by the algorithm at any time while searching.

44
New cards

Space Complexity

It answers the question:

How much memory is needed to perform the search?

45
New cards

8 Queens Problem

Its goal is to place eight queens on a chessboard such that no queen attacks any other.

46
New cards

Uninformed Search Method

Does not have any domain knowledge such as closeness, location of the goal state etc.

47
New cards

Uninformed Search Method

It behaves in a brute-force way.

It only knows the information about how to traverse the given tree and how to find the goal state.

48
New cards

Blind Search Algorithm, Brute-Force Algorithm

Another term for Uninformed Search Method.

49
New cards

Informed Search Method

Requires details such as distance to reach the goal, steps to reach the goal, cost of the paths which makes this algorithm more efficient.

50
New cards

Heuristic Function

The goal state of an informed search method can be achieved by using this function.

51
New cards

Heuristic Function

This function is used to achieve the goal state with the lowest cost possible in informed search method.

52
New cards

Heuristic Function

This function estimates how close a state is to the goal in informed search method.

53
New cards

Heuristic Search, Directed Search

Another term for Informed Search Method.

54
New cards

Breadth First Search

One of the most common search strategies.

55
New cards

Breadth First Search

It generally starts from the root node and examines the neighbor nodes and then moves to the next level.

56
New cards

Breadth First Search

Uses First-in First-out (FIFO) strategy as it gives the shortest path to achieving the solution.

57
New cards

Breadth First Search

Used where the given problem is very small and space complexity is not considered.

58
New cards

Depth First Search

Uses Last-in, First-out (LIFO) strategy and it can be implemented by using stack.

59
New cards

Depth First Search

Uses backtracking.

Starts from the initial state and explores each path to its greatest depth before it moves to the next path.

60
New cards

Depth Limited Search

Has a pre-defined limit up to which it can traverse the nodes.

61
New cards

Depth Limited Search

Solves one of the drawbacks of DFS as it does not go to an infinite path.

62
New cards

Standard Failure

Denotes that the given problem does not have any solutions.

63
New cards

Cut off Failure Value

Indicates that there is no solution for the problem within the given limit.

64
New cards

Iterative Deepening Depth-First Search

A combination of depth-first search and breadth-first search.

65
New cards

Iterative Deepening Depth-First Search

Finds the best depth limit by gradually adding the limit until the defined goal state is reached.

66
New cards

Bidirectional Search

Completely different from all other search strategies.

67
New cards

Bidirectional Search

Executes two simultaneous searches called forward search and backwards-search and reaches the goal state.

68
New cards

Bidirectional Search

The graph is divided into two smaller sub-graphs.

In one graph, the search is started from the initial start state and in the other graph, the search is started from the goal state.

When these two nodes intersect each other, the search will be terminated.

69
New cards

Bidirectional Search

Requires both start and goal start to be well defined and the branching factor to be the same in the two directions.

70
New cards

Uniform Cost Search

It is considered the best search algorithm for a weighted graph or graph with costs.

71
New cards

Uniform Cost Search

It searches the graph by giving maximum priority to the lowest cumulative cost.

72
New cards

Uniform Cost Search

It can be implemented using a priority queue.

73
New cards

Greedy Best-First Search Algorithm

An informed search algorithm that uses the properties of both depth-first search and breadth-first search.

74
New cards

Greedy Best-First Search Algorithm

Traverses the node by selecting the path which appears best at the moment.

75
New cards

A* Search Algorithm

A combination of both uniform cost search and greedy best-first search algorithms.

76
New cards

A* Search Algorithm

Uses the advantages of both with better memory usage.

77
New cards

A* Search Algorithm

Uses the sum of both the cost and heuristic of the node to find the best path.

78
New cards

FIFO Queue

What data structure and strategy does breadth-first search use?

79
New cards

LIFO Stack

What data structure and strategy does depth-first search use?

80
New cards

LIFO Stack

What data structure and strategy does depth-limited search use?

81
New cards

Stack

What data structure does iterative deepening depth-first search use?

82
New cards

Two Queues

What data structure does bidirectional search use?

83
New cards

Priority Queue

What data structure does uniform cost search use?

84
New cards

O(b^d)

What is the time complexity of Breadth-First Search?

85
New cards

O(b^m)

What is the time complexity of Depth-First Search?

86
New cards

O(b^l)

What is the time complexity of Depth-Limited Search?

87
New cards

O(b^d)

What is the time complexity of Iterative Deepening Depth-First Search?

88
New cards

O(b^(d/2))

What is the time complexity of Bidirectional Search?

89
New cards

O(b^d)

What is the space complexity of Breadth-First Search?

90
New cards

O(bm)

What is the space complexity of Depth-First Search?

91
New cards

O(bl)

What is the space complexity of Depth-Limited Search?

92
New cards

O(bd)

What is the space complexity of Iterative Deepening Depth-First Search?

93
New cards

O(b^(d/2))

What is the space complexity of Bidirectional Search?

Explore top notes

note
Railroads Notes
Updated 772d ago
0.0(0)
note
2.1 Physical and Mental Health
Updated 1118d ago
0.0(0)
note
Spansih
Updated 527d ago
0.0(0)
note
AP GOV Unit 5
Updated 936d ago
0.0(0)
note
Unit 3 The Atom >
Updated 1048d ago
0.0(0)
note
Railroads Notes
Updated 772d ago
0.0(0)
note
2.1 Physical and Mental Health
Updated 1118d ago
0.0(0)
note
Spansih
Updated 527d ago
0.0(0)
note
AP GOV Unit 5
Updated 936d ago
0.0(0)
note
Unit 3 The Atom >
Updated 1048d ago
0.0(0)

Explore top flashcards

flashcards
Latin 1 Vocab Review
210
Updated 525d ago
0.0(0)
flashcards
Biology Exam Review
98
Updated 1209d ago
0.0(0)
flashcards
Fluid and Electrolytes
24
Updated 1095d ago
0.0(0)
flashcards
APUSH Period 5
110
Updated 556d ago
0.0(0)
flashcards
English Vocab 7
31
Updated 1037d ago
0.0(0)
flashcards
Latin 1 Vocab Review
210
Updated 525d ago
0.0(0)
flashcards
Biology Exam Review
98
Updated 1209d ago
0.0(0)
flashcards
Fluid and Electrolytes
24
Updated 1095d ago
0.0(0)
flashcards
APUSH Period 5
110
Updated 556d ago
0.0(0)
flashcards
English Vocab 7
31
Updated 1037d ago
0.0(0)