PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
February 20, 2022Algorithms3 citationsOpen Access

Adjacency Maps and Efficient Graph Algorithms

GVGabriel Valiente

Key Points

Key points are not available for this paper at this time.

Abstract

Graph algorithms that test adjacencies are usually implemented with an adjacency-matrix representation because the adjacency test takes constant time with adjacency matrices, but it takes linear time in the degree of the vertices with adjacency lists. In this article, we review the adjacency-map representation, which supports adjacency tests in constant expected time, and we show that graph algorithms run faster with adjacency maps than with adjacency lists by a small constant factor if they do not test adjacencies and by one or two orders of magnitude if they perform adjacency tests.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Gabriel Valiente (2022) studied this question.

synapsesocial.com/papers/6a8401269c773709530b958fhttps://doi.org/10.3390/a15020067
Ask AI
Helpful
Bookmark
Share
View Full Paper