Professional Documents
Culture Documents
2 PDF
2 PDF
2 PDF
b) Exhaustive Search.
Answer:
Exhaustive Search is a technique for systematically cover all the
states through a state space to reach the goal.
c) Heuristics.
Answer:
Judgmental rules that limit the exploration of search space to
those portions of state space that seem somehow promising.
d) Path.
Answer:
Minders’21 AC
A path through a graph connects a sequence of nodes through
successive arcs.
e) Rooted Graph.
Answer:
A graph has a unique node, called the root, such that there is a
path from the root to all nodes within the graph.
f) Tree.
Answer:
Is a graph in which two nodes have at most one path between
them. Trees often have roots, in which case they are usually
drawn with the root at the top, like a rooted graph.
Answer:
“Konigsberg problem.” The city of Konigsberg occupied both
banks and two islands of a river. The islands and the riverbanks
were connected by seven bridges, as indicated in the following
photo:
Minders’21 AC
The bridges of Konigsberg problem asks if there is a walk around the
city that crosses each bridge exactly once. Although the residents had
failed to find such a walk and doubted that it was possible, no one had
proved its impossibility. Devising a form of graph theory, Euler created
an alternative representation for the map.
The riverbanks (rb1 and rb2) and islands (i1 and i2) are described by the
nodes of a graph; the bridges are represented by labeled arcs between
nodes (b1, b2, …. .., b7 ). The graph representation preserves the
essential structure of the bridge system, while ignoring extraneous
features such as bridge lengths, distances, and order of bridges in the
walk.
Minders’21 AC
4. Finds the
closest goal in
less time
Sort of
1. DFS is used to 1. BFS is used to
problem
find the path find the shortest
between two path between
nodes. two nodes.
2. It can be used to 2. It’s used to find
do topological neighboring
sorting, which locations in GPS
can be used to systems.
schedule the jobs 3. It’s also used in
from given finding all the
dependencies neighboring
among them. nodes in a peer-
3. It can be also be to-peer network
used to find the like Bit Torrent.
Minders’21 AC
solution to a
puzzle — e.g.,
finding a path
out of a maze,
with the path
stored in a stack.
D)How does the use of a closed node list reduce the amount
of search required in graph search?
Answer:
As the closed list is a collection of all expanded nodes. This means
that those are nodes that were already "searched".
So, this prevents the search from visiting nodes again so that we
reduce the amount of search required in graph search.
Each node on the second level, would further have as its children
nodes the states that can be reached from it by the opposing
player's moves. This is continued, level by level, until reaching
states where the game is over. In tic-tac-toe, this means that
either one of the players gets a line of three and wins, or the
board is full and the game ends in a tie.
Minders’21 AC