The depth first search (DFS) tree is a fundamental data structure used for solving various graph problems. For a given graph G = (V, E) on n vertices and m edges, a DFS tree can be built in O(m + n) time. In the last 20 years, a few algorithms have been designed for maintaining a DFS tree efficiently under insertion of edges. For undirected graphs, there are two prominent algorithms, namely, ADFS1 and ADFS2 [ICALP14] that achieve total update time of O(n 3/2 √ m) and O(n 2 ) respectively. For directed acyclic graphs, the only non-trivial algorithm, namely, FDFS [IPL97] requires total O(mn) update time. However, even after 20 years of this result, there does not exist any non-trivial incremental algorithm for maintaining a DFS tree in directed graphs with o(m 2 ) worst case bound. In this paper, we carry out extensive experimental and theoretical evaluation of the existing incremental DFS algorithms in random graphs and real world graphs and derive the following results.1. For insertion of a uniformly random sequence of n 2 edges, each of ADFS1, ADFS2 and FDFS perform equally well and are found to take Θ(n 2 ) time experimentally. This is quite surprising because the worst case bounds of ADFS1 and FDFS are greater than Θ(n 2 ) by a factor of m/n and m/n respectively, which are also proven to be tight. We complement this experimental result with a probabilistic analysis of these algorithms establishingÕ(n 2 ) 1 bound on their time complexity. For this purpose, we derive results about the structure of a DFS tree in a random graph. These results are of independent interest in the domain of random graphs. 2. The insight that we developed about DFS tree in random graphs leads us to design an extremely simple algorithm for incremental DFS that works for both undirected and directed graphs. Moreover, this algorithm theoretically matches and experimentally outperforms the state-of-the-art algorithm in dense random graphs. Furthermore, it can also be used as a single-pass semi-streaming algorithm for computing incremental DFS and strong connectivity for random graphs using O(n log n) space. 3. Even for real world graphs, which are usually sparse, both ADFS1 and FDFS turn out to be much better than their theoretical bounds. Here again, we present two simple algorithms for incremental DFS for directed and undirected graphs respectively, which perform very well on real graphs. In fact our proposed algorithm for directed graphs almost always matches the performance of FDFS.
This paper shows continuous examination done on the advancement of Road Cleaning and Scrap Collecting Robotic Vehicle and its uses on different surfaces. As neatness of our condition has its own ideal conditions which makes it a basic topic of research nowadays as it goes under Swacchh Bharat Abhiyan, an activity taken by the legislature of India additionally it favors green collecting structures and we pointed conveying cleaner streets by utilizing least endeavors. This paper in like manner gives a compact idea in regards to the end which the maker should be appeared in his/her paper. In the coming days these vehicles will be utilized to diminish contamination and improve tidiness in our area.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.
customersupport@researchsolutions.com
10624 S. Eastern Ave., Ste. A-614
Henderson, NV 89052, USA
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Copyright © 2024 scite LLC. All rights reserved.
Made with 💙 for researchers
Part of the Research Solutions Family.