Reader small image

You're reading from  Hands-On Artificial Intelligence for Search

Product typeBook
Published inAug 2018
Reading LevelIntermediate
PublisherPackt
ISBN-139781789611151
Edition1st Edition
Languages
Right arrow
Author (1)
Devangini Patel
Devangini Patel
author image
Devangini Patel

Devangini Patel is a PhD student at the National University of Singapore, Singapore. Her research interests include deep learning, computer vision, machine learning, and artificial intelligence. She has completed a master's in artificial intelligence at the University of Southampton, UK. She has over 5 years, experience in the field of AI and has worked on various industrial and research projects in AI, including facial expression analysis, robotics, virtual try-on, object recognition and detection, and advertisement ranking.
Read more about Devangini Patel

Right arrow

Greedy BFS

In the Revisiting the navigation application section, you learned that a heuristic value is a property of the node, and it is a guess, or estimate, of which node will lead to the goal state quicker than others. It is a strategy used to reduce the nodes explored and reach the goal state quicker. In greedy BFS, the heuristic function computes an estimated cost to reach the goal state. For our application, the heuristic function can compute the straight-line distance to the goal state, as follows:

Figure 11

As you can see, in the preceding diagram the initial state is the Bus Stop. From the Bus Stop node, we have one channel, which is the Library node. Let's suppose that we're at the Library now; from the Library node, there are three child nodes: the Car Park, the Bus Stop, and the Student Center. In real life, we'd prefer to go to the Car Park, because...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Hands-On Artificial Intelligence for Search
Published in: Aug 2018Publisher: PacktISBN-13: 9781789611151

Author (1)

author image
Devangini Patel

Devangini Patel is a PhD student at the National University of Singapore, Singapore. Her research interests include deep learning, computer vision, machine learning, and artificial intelligence. She has completed a master's in artificial intelligence at the University of Southampton, UK. She has over 5 years, experience in the field of AI and has worked on various industrial and research projects in AI, including facial expression analysis, robotics, virtual try-on, object recognition and detection, and advertisement ranking.
Read more about Devangini Patel