1 Graph Transitive Closure and BMM
نویسنده
چکیده
Proof. Consider a graph like the one below, where there are three rows of n vertices. Given two boolean matrices A and B, we can create such a graph by adding an edge between the i vertex of the first row and the j of the second row iff Aij == 1. Construct edges between the second and third rows in a similar fashion for B. Thus, the product AB can be computed by taking the transitive closure of this graph. It is equivalent to BMM by simply taking the ∧ of ij → jk. Since the graph has 3n nodes, given a T (n) algorithm for TC, we have an O(T (3n)) algorithm for BMM. (Of course, it takes n time to create the graph, but this is subsumed by T (n) as T (n) ≥ n as one must at least print the output of AB.)
منابع مشابه
The Serial Transitive Closure Problem for Trees
The serial transitive closure problem is the problem of, given a directed graph G and a list of edges, called closure edges, which are in the transitive closure of the graph, to generate all the closure edges from edges in G . We give a nearly linear upper bound on the number of steps in optimal solutions to the serial transitive closure problem for the case of graphs which are trees. “Nearly l...
متن کاملTransitive-Closure Spanners: A Survey
We survey results on transitive-closure spanners and their applications. Given a directed graph G = (V,E) and an integer k ≥ 1, a k-transitive-closure-spanner (k-TC-spanner) of G is a directed graph H = (V,EH) that has (1) the same transitive-closure as G and (2) diameter at most k. These spanners were studied implicitly in different areas of computer science, and properties of these spanners h...
متن کاملEstimating the Size of the Transitive Closure in Linear Time
Computing transitive closure and reachability information in directed graphs is a fundamental graph problem with many applications. The fastest known algorithms run in O(sm) time for computing all nodes reachable from each of 1 <_ s 5 n source nodes, or, using fast matrix multiplication, in O(n2.38) time for computing the transitive closure, where n is the number of nodes and m the number of ed...
متن کاملThe Effect of Transitive Closure on the Calibration of Logistic Regression for Entity Resolution
This paper describes a series of experiments in using logistic regression machine learning as a method for entity resolution. From these experiments the authors concluded that when a supervised ML algorithm is trained to classify a pair of entity references as linked or not linked pair, the evaluation of the model’s performance should take into account the transitive closure of its pairwise lin...
متن کاملPerfect Matchings in Edge-Transitive Graphs
We find recursive formulae for the number of perfect matchings in a graph G by splitting G into subgraphs H and Q. We use these formulas to count perfect matching of P hypercube Qn. We also apply our formulas to prove that the number of perfect matching in an edge-transitive graph is , where denotes the number of perfect matchings in G, is the graph constructed from by deleting edges with an en...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2017