词条 | Implicit graph |
释义 |
In the study of graph algorithms, an implicit graph representation (or more simply implicit graph) is a graph whose vertices or edges are not represented as explicit objects in a computer's memory, but rather are determined algorithmically from some more concise input. Neighborhood representationsThe notion of an implicit graph is common in various search algorithms which are described in terms of graphs. In this context, an implicit graph may be defined as a set of rules to define all neighbors for any specified vertex.[1] This type of implicit graph representation is analogous to an adjacency list, in that it provides easy access to the neighbors of each vertex. For instance, in searching for a solution to a puzzle such as Rubik's Cube, one may define an implicit graph in which each vertex represents one of the possible states of the cube, and each edge represents a move from one state to another. It is straightforward to generate the neighbors of any vertex by trying all possible moves in the puzzle and determining the states reached by each of these moves; however, an implicit representation is necessary, as the state space of Rubik's Cube is too large to allow an algorithm to list all of its states.[2] In computational complexity theory, several complexity classes have been defined in connection with implicit graphs, defined as above by a rule or algorithm for listing the neighbors of a vertex. For instance, PPA is the class of problems in which one is given as input an undirected implicit graph (in which vertices are {{mvar|n}}-bit binary strings, with a polynomial time algorithm for listing the neighbors of any vertex) and a vertex of odd degree in the graph, and must find a second vertex of odd degree. By the handshaking lemma, such a vertex exists; finding one is a problem in NP, but the problems that can be defined in this way may not necessarily be NP-complete, as it is unknown whether PPA = NP. PPAD is an analogous class defined on implicit directed graphs that has attracted attention in algorithmic game theory because it contains the problem of computing a Nash equilibrium.[3] The problem of testing reachability of one vertex to another in an implicit graph may also be used to characterize space-bounded nondeterministic complexity classes including NL (the class of problems that may be characterized by reachability in implicit directed graphs whose vertices are {{math|O(log n)}}-bit bitstrings), SL (the analogous class for undirected graphs), and PSPACE (the class of problems that may be characterized by reachability in implicit graphs with polynomial-length bitstrings). In this complexity-theoretic context, the vertices of an implicit graph may represent the states of a nondeterministic Turing machine, and the edges may represent possible state transitions, but implicit graphs may also be used to represent many other types of combinatorial structure.[4] PLS, another complexity class, captures the complexity of finding local optima in an implicit graph.[5] Implicit graph models have also been used as a form of relativization in order to prove separations between complexity classes that are stronger than the known separations for non-relativized models. For instance, Childs et al. used neighborhood representations of implicit graphs to define a graph traversal problem that can be solved in polynomial time on a quantum computer but that requires exponential time to solve on any classical computer.[6] Adjacency labeling schemesIn the context of efficient representations of graphs, J. H. Muller defined a local structure or adjacency labeling scheme for a graph {{mvar|G}} in a given family {{mvar|F}} of graphs to be an assignment of an {{math|O(log n)}}-bit identifier to each vertex of {{mvar|G}}, together with an algorithm (that may depend on {{mvar|F}} but is independent of the individual graph {{mvar|G}}) that takes as input two vertex identifiers and determines whether or not they are the endpoints of an edge in {{mvar|G}}. That is, this type of implicit representation is analogous to an adjacency matrix: it is straightforward to check whether two vertices are adjacent but finding the neighbors of any vertex may involve looping through all vertices and testing which ones are neighbors.[7] Graph families with adjacency labeling schemes include:
The implicit graph conjecture{{unsolved|mathematics|Does every slowly-growing hereditary family of graphs have an implicit representation?}}Not all graph families have local structures. For some families, a simple counting argument proves that adjacency labeling schemes do not exist: only {{math|O(n log n)}} bits may be used to represent an entire graph, so a representation of this type can only exist when the number of {{mvar|n}}-vertex graphs in the given family {{mvar|F}} is at most {{math|2O(n log n)}}. Graph families that have larger numbers of graphs than this, such as the bipartite graphs or the triangle-free graphs, do not have adjacency labeling schemes.[8][12] However, even families of graphs in which the number of graphs in the family is small might not have an adjacency labeling scheme; for instance, the family of graphs with fewer edges than vertices has {{math|2O(n log n)}} {{mvar|n}}-vertex graphs but does not have an adjacency labeling scheme, because one could transform any given graph into a larger graph in this family by adding a new isolated vertex for each edge, without changing its labelability.[7][12] Kannan et al. asked whether having a forbidden subgraph characterization and having at most {{math|2O(n log n)}} {{mvar|n}}-vertex graphs are together enough to guarantee the existence of an adjacency labeling scheme; this question, which Spinrad restated as a conjecture, remains open.[8][12] Among the families of graphs which satisfy the conditions of the conjecture and for which there is no known adjacency labeling scheme are the family of disk graphs and line segment intersection graphs. Labeling schemes and induced universal graphsIf a graph family {{mvar|F}} has an adjacency labeling scheme, then the {{mvar|n}}-vertex graphs in {{mvar|F}} may be represented as induced subgraphs of a common induced universal graph of polynomial size, the graph consisting of all possible vertex identifiers. Conversely, if an induced universal graph of this type can be constructed, then the identities of its vertices may be used as labels in an adjacency labeling scheme.[13] For this application of implicit graph representations, it is important that the labels use as few bits as possible, because the number of bits in the labels translates directly into the number of vertices in the induced universal graph. Alstrup and Rauhe showed that any tree has an adjacency labeling scheme with {{math|log2 n + O({{log-star}} n)}} bits per label, from which it follows that any graph with arboricity k has a scheme with {{math|k log2 n + O({{log-star}} n)}} bits per label and a universal graph with {{math|nk2O({{log-star}} n)}} vertices. In particular, planar graphs have arboricity at most three, so they have universal graphs with a nearly-cubic number of vertices.[14] This bound was improved by Gavoille and Labourel who showed that planar graphs and minor-closed graph families have a labeling scheme with {{math|2 log2 n + O(log log n)}} bits per label, and that graphs of bounded treewidth have a labeling scheme with {{math|log2 n + O(log log n)}} bits per label.[15] EvasivenessThe Aanderaa–Karp–Rosenberg conjecture concerns implicit graphs given as a set of labeled vertices with a black-box rule for determining whether any two vertices are adjacent. This definition differs from an adjacency labeling scheme in that the rule may be specific to a particular graph rather than being a generic rule that applies to all graphs in a family. Because of this difference, every graph has an implicit representation. For instance, the rule could be to look up the pair of vertices in a separate adjacency matrix. However, an algorithm that is given as input an implicit graph of this type must operate on it only through the implicit adjacency test, without reference to how the test is implemented. A graph property is the question of whether a graph belongs to a given family of graphs; the answer must remain invariant under any relabeling of the vertices. In this context, the question to be determined is how many pairs of vertices must be tested for adjacency, in the worst case, before the property of interest can be determined to be true or false for a given implicit graph. Rivest and Vuillemin proved that any deterministic algorithm for any nontrivial graph property must test a quadratic number of pairs of vertices.[16] The full Aanderaa–Karp–Rosenberg conjecture is that any deterministic algorithm for a monotonic graph property (one that remains true if more edges are added to a graph with the property) must in some cases test every possible pair of vertices. Several cases of the conjecture have been proven to be true—for instance, it is known to be true for graphs with a prime number of vertices[17]—but the full conjecture remains open. Variants of the problem for randomized algorithms and quantum algorithms have also been studied. Bender and Ron have shown that, in the same model used for the evasiveness conjecture, it is possible in only constant time to distinguish directed acyclic graphs from graphs that are very far from being acyclic. In contrast, such a fast time is not possible in neighborhood-based implicit graph models,[18] See also
References1. ^{{citation | last = Korf | first = Richard E. | at = Article 26, 40pp | doi = 10.1145/1455248.1455250 | issue = 6 | journal = Journal of the ACM | mr = 2477486 | title = Linear-time disk-based implicit graph search | volume = 55 | year = 2008}}. 2. ^{{citation|last=Korf|first=Richard E.|contribution=Minimizing disk I/O in two-bit breadth-first search|title=Proc. 23rd AAAI Conf. on Artificial Intelligence|year=2008|url=http://www.aaai.org/Papers/AAAI/2008/AAAI08-050.pdf|pages=317–324|quotation=The standard 3×3×3 Rubik’s Cube contains 4.3252 × 1019 states, and is too large to search exhaustively.}} 3. ^{{citation | first = Christos | last = Papadimitriou | authorlink = Christos Papadimitriou | year = 1994 | title = On the complexity of the parity argument and other inefficient proofs of existence | journal = Journal of Computer and System Sciences | volume = 48 | issue = 3 | pages = 498–532 | url = http://www.cs.berkeley.edu/~christos/papers/On%20the%20Complexity.pdf | doi = 10.1016/S0022-0000(05)80063-7}} 4. ^{{citation|title=Descriptive Complexity|contribution=Exercise 3.7 (Everything is a Graph)|first=Neil|last=Immerman|authorlink=Neil Immerman|page=48|url=https://books.google.com/books?id=kWSZ0OWnupkC&pg=PA48|series=Graduate Texts in Computer Science|year=1999|publisher=Springer-Verlag|isbn= 978-0-387-98600-5}}. 5. ^{{Citation | last1=Yannakakis | first1=Mihalis | author1-link=Mihalis Yannakakis | title=Equilibria, fixed points, and complexity classes | year=2009 | journal=Computer Science Review | volume=3 | issue=2 | pages=71–85 | doi=10.1016/j.cosrev.2009.03.004| arxiv=0802.2831 }}. 6. ^{{citation | last1 = Childs | first1 = Andrew M. | last2 = Cleve | first2 = Richard | last3 = Deotto | first3 = Enrico | last4 = Farhi | first4 = Edward | last5 = Gutmann | first5 = Sam | last6 = Spielman | first6 = Daniel A. | contribution = Exponential algorithmic speedup by a quantum walk | doi = 10.1145/780542.780552 | location = New York | mr = 2121062 | pages = 59–68 | publisher = ACM | title = Proceedings of the Thirty-Fifth Annual ACM Symposium on Theory of Computing | year = 2003| arxiv = quant-ph/0209131}}. 7. ^1 {{citation | last = Muller | first = John Harold | publisher = Georgia Institute of Technology | series = Ph.D. thesis | title = Local structure in graph classes | year = 1988}}. 8. ^{{citation | last1 = Chrobak | first1 = Marek | last2 = Eppstein | first2 = David | author2-link = David Eppstein | doi = 10.1016/0304-3975(91)90020-3 | issue = 2 | journal = Theoretical Computer Science | pages = 243–266 | title = Planar orientations with low out-degree and compaction of adjacency matrices | url = http://www.ics.uci.edu/~eppstein/pubs/ChrEpp-TCS-91.pdf | volume = 86 | year = 1991}}. 9. ^{{citation|url=http://homepages.cwi.nl/~mueller/Papers/SphericityDotproduct.pdf|last1=Kang|first1=Ross J.|last2=Müller|first2=Tobias|title=Sphere and dot product representations of graphs|year=2011}}. 10. ^{{citation | last1 = Ma | first1 = Tze Heng | last2 = Spinrad | first2 = Jeremy P. | doi = 10.1007/BF00385814 | issue = 1 | journal = Order | mr = 1129614 | pages = 49–61 | title = Cycle-free partial orders and chordal comparability graphs | volume = 8 | year = 1991}}. 11. ^{{citation | last1 = Curtis | first1 = Andrew R. | last2 = Izurieta | first2 = Clemente | last3 = Joeris | first3 = Benson | last4 = Lundberg | first4 = Scott | last5 = McConnell | first5 = Ross M. | doi = 10.1016/j.dam.2010.01.005 | issue = 8 | journal = Discrete Applied Mathematics | mr = 2602811 | pages = 869–875 | title = An implicit representation of chordal comparability graphs in linear time | volume = 158 | year = 2010}}. 12. ^1 2 3 {{citation|first=Jeremy P.|last=Spinrad|title=Efficient Graph Representations|year=2003|isbn=0-8218-2815-0|chapter=2. Implicit graph representation|pages=17–30|url=https://books.google.com/books?id=RrtXSKMAmWgC&pg=PA17}}. 13. ^1 2 3 4 {{citation | last1 = Kannan | first1 = Sampath | last2 = Naor | first2 = Moni | author2-link = Moni Naor | last3 = Rudich | first3 = Steven | author3-link = Steven Rudich | doi = 10.1137/0405049 | issue = 4 | journal = SIAM Journal on Discrete Mathematics | mr = 1186827 | pages = 596–603 | title = Implicit representation of graphs | volume = 5 | year = 1992}}. 14. ^{{citation | last1 = Alstrup | first1 = Stephen | last2 = Rauhe | first2 = Theis | doi = 10.1109/SFCS.2002.1181882 | journal = Proceedings of the 43rd Annual IEEE Symposium on Foundations of Computer Science | pages = 53–62 | title = Small induced-universal graphs and compact implicit graph representations | url = http://www.it-c.dk/research/algorithms/Kurser/AD/2002E/Uge7/parent.pdf | year = 2002}}. 15. ^{{citation | last1 = Arnaud | first1 = Labourel | last2 = Gavoille | first2 = Cyril | doi = 10.1007/978-3-540-75520-3_52 | journal = Proceedings of the 15th annual European Symposium on Algorithms | pages = 582–593 | title = Shorter Implicit Representation for Planar Graphs and Bounded Treewidth Graphs | url = http://dept-info.labri.fr/~gavoille/article/GL07.pdf | year = 2007}}. 16. ^{{Citation| doi = 10.1145/800116.803747| pages = 6–11| last1 = Rivest| first1 = Ronald L.| authorlink = Ron Rivest| first2 = Jean | last2 = Vuillemin| contribution = A generalization and proof of the Aanderaa-Rosenberg conjecture| title = Proc. 7th ACM Symposium on Theory of Computing| location = Albuquerque, New Mexico, United States| year = 1975}}. 17. ^{{Citation| publisher = IEEE Computer Society| doi = 10.1109/SFCS.1983.4| pages = 31–33| last1 = Kahn| first1 = Jeff| author2-link = Michael Saks (mathematician) | first2 = Michael | last2 = Saks| first3 = Dean | last3 = Sturtevant| contribution = A topological approach to evasiveness| title = Symposium on Foundations of Computer Science| location = Los Alamitos, CA, USA| year = 1983}}. 18. ^{{citation | last1 = Bender | first1 = Michael A. | last2 = Ron | first2 = Dana | author2-link = Dana Ron | contribution = Testing acyclicity of directed graphs in sublinear time | doi = 10.1007/3-540-45022-X_68 | location = Berlin | mr = 1795937 | pages = 809–820 | publisher = Springer | series = Lecture Notes in Comput. Sci. | title = Automata, languages and programming (Geneva, 2000) | volume = 1853 | year = 2000}}. 2 : Graph theory|Graph data structures |
随便看 |
|
开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。