Graph algorithms | Search algorithms

Fringe search

In computer science, fringe search is a graph search algorithm that finds the least-cost path from a given initial node to one goal node. In essence, fringe search is a middle ground between A* and the iterative deepening A* variant (IDA*). If g(x) is the cost of the search path from the first node to the current, and h(x) is the heuristic estimate of the cost from the current node to the goal, then ƒ(x) = g(x) + h(x), and h* is the actual path cost to the goal. Consider IDA*, which does a recursive left-to-right depth-first search from the root node, stopping the recursion once the goal has been found or the nodes have reached a maximum value ƒ. If no goal is found in the first threshold ƒ, the threshold is then increased and the algorithm searches again. I.E. It iterates on the threshold. There are three major inefficiencies with IDA*. First, IDA* will repeat states when there are multiple (sometimes non-optimal) paths to a goal node - this is often solved by keeping a cache of visited states. IDA* thus altered is denoted as memory-enhanced IDA* (ME-IDA*), since it uses some storage. Furthermore, IDA* repeats all previous operations in a search when it iterates in a new threshold, which is necessary to operate with no storage. By storing the leaf nodes of a previous iteration and using them as the starting position of the next, IDA*'s efficiency is significantly improved (otherwise, in the last iteration it would always have to visit every node in the tree). Fringe search implements these improvements on IDA* by making use of a data structure that is more or less two lists to iterate over the frontier or fringe of the search tree. One list now, stores the current iteration, and the other list later stores the immediate next iteration. So from the root node of the search tree, now will be the root and later will be empty. Then the algorithm takes one of two actions: If ƒ(head) is greater than the current threshold, remove head from now and append it to the end of later; i.e. save head for the next iteration. Otherwise, if ƒ(head) is less than or equal to the threshold, expand head and discard head, consider its children, adding them to the beginning of now. At the end of an iteration, the threshold is increased, the later list becomes the now list, and later is emptied. An important difference here between fringe and A* is that the contents of the lists in fringe do not necessarily have to be sorted - a significant gain over A*, which requires the often expensive maintenance of order in its open list. Unlike A*, however, fringe will have to visit the same nodes repeatedly, but the cost for each such visit is constant compared to the worst-case logarithmic time of sorting the list in A*. (Wikipedia).

Video thumbnail

Can you identify this substance?

via YouTube Capture

From playlist Random

Video thumbnail

Conducting an Online Job Search

In this video, you’ll learn more about conducting an online job search. Visit https://www.gcflearnfree.org/jobsearchandnetworking/find-a-job-online/1/ to learn even more. We hope you enjoy!

From playlist Searching for a Job

Video thumbnail

Privacy Matters

http://privacymatters.nl/

From playlist awareness

Video thumbnail

A Deep Dive Into Infinity

A subject extensively studied by philosophers, mathematicians, and now recently, physicists, infinity is a uniquely universal enigma within the academic world. Thinkers clash over questions such as: Does infinity exist? What types of infinity are there? Watch the Full Program Here: https:

From playlist Mathematics

Video thumbnail

Dots On A Circle

Sign up for our newsletter at http://www.theglobalmathproject.org

From playlist Recreational Math Videos

Video thumbnail

The Hide&Seek Games Festival 2009

A personal video, what I did last weekend. The Hide&Seek Games Festival 2009, games for grown-ups. http://hideandseekfest.co.uk/

From playlist My Other Videos

Video thumbnail

Lecture 13 - Minimum Spanning Trees

This is Lecture 13 of the CSE373 (Analysis of Algorithms) taught by Professor Steven Skiena [http://www.cs.sunysb.edu/~skiena/] at Stony Brook University in 1997. The lecture slides are available at: http://www.cs.sunysb.edu/~algorith/video-lectures/1997/lecture17.pdf

From playlist CSE373 - Analysis of Algorithms - 1997 SBU

Video thumbnail

Have theorists predicted particles that were later found experimentally?

Subscribe to our YouTube Channel for all the latest from World Science U. Visit our Website: http://www.worldscienceu.com/ Like us on Facebook: https://www.facebook.com/worldscienceu Follow us on Twitter: https://twitter.com/worldscienceu

From playlist Science Unplugged: Particle Physics

Video thumbnail

What is particle physics?

Subscribe to our YouTube Channel for all the latest from World Science U. Visit our Website: http://www.worldscienceu.com/ Like us on Facebook: https://www.facebook.com/worldscienceu Follow us on Twitter: https://twitter.com/worldscienceu

From playlist Science Unplugged: Particle Physics

Video thumbnail

27.5 Diffraction

This video covers Section 27.5 of Cutnell & Johnson Physics 10e, by David Young and Shane Stadler, published by John Wiley and Sons. The lecture is part of the course General Physics - Life Sciences I and II, taught by Dr. Boyd F. Edwards at Utah State University. This video was produced

From playlist Lecture 27. Interference and the Wave Nature of Light

Video thumbnail

Google Searches May Be the Best Measure of Human Nature Yet | Seth Stephens-Davidowitz | Big Think

Google Searches May Be the Best Measure of Human Nature Yet Watch the newest video from Big Think: https://bigth.ink/NewVideo Join Big Think Edge for exclusive videos: https://bigth.ink/Edge ---------------------------------------------------------------------------------- Seth Stephens-

From playlist Best Videos | Big Think

Video thumbnail

CSE373 2012 - Lecture 15 - Graph Algorithms (con't 2)

This is Lecture 15 of the CSE373 (Analysis of Algorithms) course taught by Professor Steven Skiena [http://www.cs.sunysb.edu/~skiena/] at Stony Brook University in 2012.

From playlist CSE373 - Analysis of Algorithms - 2012 SBU

Video thumbnail

Graph Algorithms I - Topological Sorting, Prim's Algorithm - Lecture 6

All rights reserved for http://www.aduni.org/ Published under the Creative Commons Attribution-ShareAlike license http://creativecommons.org/licenses/by-sa/2.0/ Tutorials by Instructor: Shai Simonson. http://www.stonehill.edu/compsci/shai.htm Visit the forum at: http://www.coderisland.c

From playlist ArsDigita Algorithms by Shai Simonson

Video thumbnail

In search of multi-path interference using large m by Joseph Paul Cotter

21 November 2016 to 10 December 2016 VENUE Ramanujan Lecture Hall, ICTS Bangalore Quantum Theory has passed all experimental tests, with impressive accuracy. It applies to light and matter from the smallest scales so far explored, up to the mesoscopic scale. It is also a necessary ingredie

From playlist Fundamental Problems of Quantum Physics

Video thumbnail

Why Skepticism Is the Right Approach to the Afterlife, Immortality, and Utopia | Michael Shermer

Why Skepticism Is the Right Approach to the Afterlife, Immortality, and Utopia New videos DAILY: https://bigth.ink Join Big Think Edge for exclusive video lessons from top thinkers and doers: https://bigth.ink/Edge ---------------------------------------------------------------------------

From playlist Best Videos | Big Think

Video thumbnail

Suicide Space Robots

Viewers like you help make PBS (Thank you 😃) . Support your local PBS Member Station here: https://to.pbs.org/DonateSPACE Let’s take a moment to remember the selfless sacrifices made by some amazing robotic explorers. And be sure to learn more about your personal DNA story by going to htt

From playlist Space Time!

Video thumbnail

Announcement: Your Daily Equation with Brian Greene

Join us for #YourDailyEquation - Brian Greene will offer brief and breezy discussions of pivotal equations. Even if your math is a bit rusty, tune in for accessible and exciting stories of nature and numbers that will allow you to see the universe in a new way. The World Science Festival

From playlist Your Daily Equation with Brian Greene

Video thumbnail

Mapping Disasters from Space (live public talk)

Original air date: Thursday, Oct. 4 at 7 p.m. PT (10 p.m. ET, 0200 UTC) Space-based radar and GPS are helping us understand and map the damage caused by earthquakes, volcanoes, landslides, hurricanes and floods. Being able to see through clouds to detect changes on the ground was valuable

From playlist Earth

Video thumbnail

Lecture 14 - Minimum Spanning Trees II

This is Lecture 14 of the CSE373 (Analysis of Algorithms) course taught by Professor Steven Skiena [http://www3.cs.stonybrook.edu/~skiena/] at Stony Brook University in 2016. The lecture slides are available at: https://www.cs.stonybrook.edu/~skiena/373/newlectures/lecture13.pdf More inf

From playlist CSE373 - Analysis of Algorithms 2016 SBU

Related pages

A* search algorithm | Iterative deepening A* | Depth-first search | Recursion (computer science)