Abstract

Implicit graph algorithms deal with the characteristic function χE of the edge set E of a graph G=(V,E). Encoding the nodes by binary vectors, χE can be represented by an Ordered Binary Decision Diagram (OBDD) which is a well known data structure for Boolean functions. OBDD-based graph algorithms solve graph optimization problems by mainly using functional operations and are a heuristic approach to cope with massive graphs. These algorithms heavily rely on a compact representation of the underlying Boolean functions which is why all previously known OBDD-based algorithms are deterministic since random functions are not compressible in general. Here, the first randomized OBDD-based algorithms are presented where random functions with limited independence are used to overcome the large representation size. On the theoretical part, we investigate the size of OBDDs representing k-wise independent random functions. In addition, we give a construction of almost k-wise independent random functions by means of a random OBDD generation and show an almost matching lower bound of the OBDD size representing such random functions. On the algorithmic part, randomization often facilitates the design of simple algorithms which in the context of OBDD-based algorithms means a small number of functional operations and as few input variables of the used Boolean functions as possible. We present two randomized implicit algorithms: A randomized minimum spanning tree algorithm and a maximal matching algorithm. The matching algorithm needs O(log3⁡|V|) functional operations in expectation and uses functions with at most 3log⁡|V| variables which is both better than the best known deterministic algorithms w.r.t. functional operations and variables. The algorithm may be of independent interest. The experimental evaluation of the algorithms shows that they outperform known OBDD-based algorithms for the maximal matching problem and the minimum spanning tree problem.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.