Urgent.News

What's breaking now, across thousands of outlets.

Tech

Search over Algebraic Graphs

In the ongoing pursuit of optimizing graph algorithms, a paper titled "Search over Algebraic Graphs" delves into the possibility of performing search operations directly on the algebraic graph representation. This approach would avoid the need to convert the graph into an adjacency map and thereby maintain the efficiency of algorithms that are sub-quadratic in the number of vertices.

The algebraic graph representation, as defined by the alga library, consists of labeled (weighted) edges and utilizes a specific constructor, Connect, to describe the relationship between child graphs in a parent graph. The Connect operation can be implemented with constant space and linear space for its children, ensuring that the algorithm runs in O(s log s) time, where s is the size of the algebraic graph expression.

The paper also highlights the concept of graph compression, specifically focusing on switching graphs, which are a type of graph data structure that enable efficient search operations. By converting an alga expression into a DAG compression, the authors outline a method to represent the graph in a compressed form, utilizing additional edge relations to complete the conversion.

The final step involves introducing the switching graph, which allows backward search through parent-child directed edges to establish reachability and distances between vertices in the original graph. This technique enables the efficient execution of search algorithms, such as Dijkstra's algorithm, directly on the algebraic graph representation.

Written by urgent.news from Lobsters's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at anekstein.com →

More in Tech

More from Tuesday 15 September →