词条 | Cop-win graph |
释义 |
In graph theory, a cop-win graph is an undirected graph on which the pursuer (cop) can always win a pursuit-evasion game in which he chases a robber, the players alternately moving along an edge of a graph or staying put, until the cop lands on the robber's vertex.[1] Finite cop-win graphs are also called dismantlable graphs or constructible graphs, because they can be dismantled by repeatedly removing a dominated vertex (one whose closed neighborhood is a subset of another vertex's neighborhood) or constructed by repeatedly adding such a vertex. The cop-win graphs can be recognized in polynomial time by a greedy algorithm that constructs a dismantling order. They include the chordal graphs, and the graphs that contain a universal vertex. DefinitionsPursuit-evasionCop-win graphs (and the complementary class of graphs, robber-win graphs) were introduced by {{harvtxt|Nowakowski|Winkler|1983}} in the context of the following pursuit-evasion game, whose invention they credit to G. Gabor and A. Quilliot. Two players, a cop and a robber, are positioned at different initial vertices of a given graph. They play in turns; on each player's turn, the player may either move to an adjacent vertex or stay put. The game ends, and the cop wins, if the cop can end his turn on the same vertex as the robber. The robber wins by indefinitely evading the cop. A cop-win graph is a graph with the property that, no matter where the two players start, the cop can always force a win.[2] DismantlingThe closed neighborhood {{math|N[v]}} of a vertex {{mvar|v}} in a given graph is the set of vertices consisting of {{mvar|v}} itself and all other vertices adjacent to {{mvar|v}}. The vertex {{mvar|v}} is said to be dominated by another vertex {{mvar|w}} when {{math|N[v] ⊂ N[w]}}. That is, {{mvar|v}} and {{mvar|w}} are adjacent, and every other neighbor of {{mvar|v}} is also a neighbor of {{mvar|w}}.[3] {{harvtxt|Nowakowski|Winkler|1983}} call a vertex that is dominated by another vertex an irreducible vertex.[2] A dismantling order or domination elimination ordering of a given graph is an ordering of the vertices such that, if the vertices are removed one-by-one in this order, each vertex (except the last) is dominated. A graph is dismantlable if and only if it has a dismantling order.[2][3] Closure properties{{Chess diagram|tright | | | | | | | | |kd | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |kl| | | | | | | |The white king (cop) can beat the black king (robber) on a chessboard, so the king's graph is a cop-win graph. }} The family of cop-win graphs is closed under strong products of graphs. The cop can win in a strong product of cop-win graphs by playing to win one of the factors of the product, and after doing so playing in the remaining factors in the same way while continuing to stay on the same vertex as the robber in the already-won factor.[2] For instance, the king's graph, a strong product of two path graphs, is cop-win.[4] It is not true that every induced subgraph of a cop-win graph is cop-win. However, certain special induced subgraphs do remain cop-win. {{harvtxt|Nowakowski|Winkler|1983}} define a retraction of a graph {{mvar|G}} onto one of its induced subgraphs {{mvar|H}} to be a mapping from the vertices of {{mvar|G}} to the vertices of {{mvar|H}} that maps each vertex of {{mvar|H}} to itself, and that maps each two adjacent vertices of {{mvar|G}} either to the same vertex as each other or to a pair of adjacent vertices in {{mvar|H}}. Then, as they argue, the family of cop-win graphs is closed under retraction. For, a cop can win in {{mvar|H}} by simulating a game in {{mvar|G}}. Whenever the winning strategy in {{mvar|G}} would call for the cop to stay put, or to follow an edge whose endpoints are mapped to the same vertex of {{mvar|H}}, the cop stays put in {{mvar|H}}. And in all other cases, the cop follows the edge in {{mvar|H}} that is the image under the retraction of a winning edge in {{mvar|G}}.[2]Equivalence of cop-win and dismantlabilityEvery dismantlable graph is cop-win. A winning strategy for the cop is to find a dominated vertex {{mvar|v}}, and to follow (by induction) an optimal strategy on the graph formed by removing {{mvar|v}}, pretending that the robber is on the vertex that dominates {{mvar|v}} whenever he is actually on {{mvar|v}}. This will result either in an actual win of the game, or in a position where the robber is on {{mvar|v}} and the cop is on the dominating vertex, from which the cop can win in one more move.[2] This strategy can be used as the basis for a proof by induction of the fact that, in an {{mvar|n}}-vertex graph, the cop can force a win in at most {{math|n − 4}} moves.[5][6] Conversely, every cop-win graph has a dominated vertex. For, if the robber plays optimally to make the game last as long as possible and the last position of the game before the cop wins has the cop at vertex c and the robber at r, then r must be dominated by c, else the robber could prolong the game for at least one move. The function that maps r onto c and leaves every other vertex in place is a retraction, so the graph formed by removing the dominated vertex must remain cop-win. By induction, it follows that every cop-win graph is dismantlable.[2] The same argument shows that, in a graph with no dominated vertices, the robber can never lose: there is always a move to a vertex that is not adjacent to the cop. In an arbitrary graph that is not cop-win, the robber can win by removing all dominated vertices and playing within the remaining subgraph, which must be non-empty else the graph would be dismantlable. Recognition algorithms and the family of all dismantling ordersIf a vertex in a cop-win graph is dominated, then (as other dominated vertices are removed) it remains dominated until it is either removed itself or it becomes the final vertex of a dismantling order. Therefore, the collection of valid dismantling orders has the structure of an antimatroid, and a dismantling order can be found by a simple greedy algorithm that repeatedly finds and removes any dominated vertex. The process succeeds if and only if the graph is cop-win, so as well as providing an algorithm for finding dismantling orders this method provides an algorithm for testing whether a given graph is cop-win. One way to find each successive vertex to remove is to perform the following steps:
In a graph with {{mvar|n}} vertices, {{mvar|m}} edges, and degeneracy {{mvar|d}}, this process can be carried out in time {{math|O(dm)}}.[7]An alternative and more complicated algorithm by {{harvtxt|Spinrad|2004}} involves maintaining a number called the deficit for each adjacent pair of vertices {{math|(x, y)}}, which counts the number of neighbors of {{mvar|x}} that are not neighbors of {{mvar|y}}. It constructs and maintains the actual deficit set (neighbors of {{mvar|x}} that are not neighbors of {{mvar|y}}) only when the deficit is small. To speed up its computations, it uses decision trees that classify vertices according to their adjacencies with small blocks of {{math|log2 n}} vertices. It performs the following steps:
The time for this procedure is {{math|O(n2 + mn/log n)}}.[8] Related families of graphsEvery finite chordal graph is a dismantlable graph, and every elimination ordering of a chordal graph (an ordering of the vertices in which the later neighbors of each vertex form a clique) is a valid dismantling order. However, there exist infinite chordal graphs that are not cop-win.[9] Every graph that has a universal vertex is dismantlable, for every other vertex is dominated by the universal vertex, and any vertex ordering that places the universal vertex last is a valid dismantling order. Conversely, almost all dismantlable graphs have a universal vertex, in the sense that, among all {{mvar|n}}-vertex dismantlable graphs, the fraction of these graphs that have a universal vertex goes to one in the limit as {{mvar|n}} goes to infinity.[10] The hereditarily cop-win graphs are the graphs in which every isometric subgraph is cop-win. This is not true for all cop-win graphs; for instance, the five-vertex wheel graph is cop-win but contains an isometric 4-cycle, which is not cop-win, so this wheel graph is not hereditarily cop-win. The hereditarily cop-win graphs are the same as the bridged graphs, graphs in which every cycle of length four or more has a shortcut, a pair of vertices closer in the graph than they are in the cycle.[11] A cop-win graph is hereditarily cop-win if and only if it has neither the 4-cycle nor 5-cycle as induced cycles. For a hereditarily cop-win graph, the reversal of any breadth-first traversal is a valid dismantling order, from which it follows that any vertex can be chosen as the last vertex of a dismantling order.[12] A similar game with larger numbers of cops can be used to define the cop number of a graph, the smallest number of cops needed to win the game. The cop-win graphs are exactly the graphs of cop number equal to one.[13] References1. ^{{citation | last1 = Bonato | first1 = Anthony | last2 = Nowakowski | first2 = Richard J. | doi = 10.1090/stml/061 | isbn = 978-0-8218-5347-4 | mr = 2830217 | publisher = American Mathematical Society | location = Providence, RI | series = Student Mathematical Library | title = The Game of Cops and Robbers on Graphs | volume = 61 | year = 2011}}. 2. ^1 2 3 4 5 6 {{citation | last1 = Nowakowski | first1 = Richard | last2 = Winkler | first2 = Peter | author2-link = Peter Winkler | doi = 10.1016/0012-365X(83)90160-7 | issue = 2-3 | journal = Discrete Mathematics | mr = 685631 | pages = 235–239 | title = Vertex-to-vertex pursuit in a graph | volume = 43 | year = 1983}}. 3. ^1 {{citation | last = Chepoi | first = Victor | doi = 10.1137/S0895480195291230 | issue = 3 | journal = SIAM Journal on Discrete Mathematics | mr = 1628110 | pages = 414–436 | title = On distance-preserving and domination elimination orderings | volume = 11 | year = 1998}}. 4. ^For the fact that a strong product of paths is cop-win, see {{harvtxt|Nowakowski|Winkler|1983}}. For the fact that the king's graph is a strong product of paths, see {{citation | last1 = Berend | first1 = Daniel | last2 = Korach | first2 = Ephraim | last3 = Zucker | first3 = Shira | contribution = Two-anticoloring of planar and related graphs | contribution-url = http://www.emis.ams.org/journals/DMTCS/pdfpapers/dmAD0130.pdf | location = Nancy | mr = 2193130 | pages = 335–341 | publisher = Association for Discrete Mathematics & Theoretical Computer Science | series = Discrete Mathematics & Theoretical Computer Science Proceedings | title = 2005 International Conference on Analysis of Algorithms | year = 2005}}. 5. ^{{citation | last1 = Bonato | first1 = A. | last2 = Golovach | first2 = P. | last3 = Hahn | first3 = G. | last4 = Kratochvíl | first4 = J. | author4-link = Jan Kratochvíl | doi = 10.1016/j.disc.2008.04.004 | issue = 18 | journal = Discrete Mathematics | mr = 2567962 | pages = 5588–5595 | title = The capture time of a graph | volume = 309 | year = 2009}}. 6. ^{{citation | last = Gavenčiak | first = Tomáš | doi = 10.1016/j.disc.2010.01.015 | issue = 10-11 | journal = Discrete Mathematics | mr = 2601265 | pages = 1557–1563 | title = Cop-win graphs with maximum capture-time | volume = 310 | year = 2010}}. 7. ^{{citation | last1 = Lin | first1 = Min Chih | last2 = Soulignac | first2 = Francisco J. | last3 = Szwarcfiter | first3 = Jayme L. | doi = 10.1016/j.tcs.2011.12.006 | journal = Theoretical Computer Science | mr = 2891574 | pages = 75–90 | title = Arboricity, {{mvar|h}}-index, and dynamic algorithms | volume = 426/427 | year = 2012}}. 8. ^{{citation | last = Spinrad | first = Jeremy P. | doi = 10.1016/S0166-218X(03)00295-6 | issue = 1-2 | journal = Discrete Applied Mathematics | mr = 2057611 | pages = 203–213 | title = Recognizing quasi-triangulated graphs | volume = 138 | year = 2004}}. Spinrad gives a simpler but less tight time analysis of {{math|O(n3/log n)}}. The total time spent in the step that removes {{mvar|x}} from deficit sets is {{math|O(m log n)}}, dominated by the other terms in the time bound. 9. ^{{citation | last1 = Hahn | first1 = Geňa | last2 = Laviolette | first2 = François | last3 = Sauer | first3 = Norbert | last4 = Woodrow | first4 = Robert E. | doi = 10.1016/S0012-365X(02)00260-1 | issue = 1-3 | journal = Discrete Mathematics | mr = 2002070 | pages = 27–41 | title = On cop-win graphs | volume = 258 | year = 2002}}. 10. ^{{citation | last1 = Bonato | first1 = Anthony | last2 = Kemkes | first2 = Graeme | last3 = Prałat | first3 = Paweł | doi = 10.1016/j.disc.2012.02.018 | issue = 10 | journal = Discrete Mathematics | mr = 2901161 | pages = 1652–1657 | title = Almost all cop-win graphs contain a universal vertex | volume = 312 | year = 2012}}. 11. ^{{citation | last1 = Anstee | first1 = R. P. | last2 = Farber | first2 = M. | doi = 10.1016/0095-8956(88)90093-7 | issue = 1 | journal = Journal of Combinatorial Theory | mr = 923263 | pages = 22–28 | series = Series B | title = On bridged graphs and cop-win graphs | volume = 44 | year = 1988}}. 12. ^{{citation | last = Chepoi | first = Victor | doi = 10.1006/jctb.1996.1726 | issue = 1 | journal = Journal of Combinatorial Theory | mr = 1426753 | pages = 97–100 | series = Series B | title = Bridged graphs are cop-win graphs: an algorithmic proof | volume = 69 | year = 1997}}. 13. ^{{citation | last1 = Aigner | first1 = M. | last2 = Fromme | first2 = M. | issue = 1 | journal = Discrete Applied Mathematics | mr = 739593 | pages = 1–11 | title = A game of cops and robbers | doi = 10.1016/0166-218X(84)90073-8 | volume = 8 | year = 1984}} External links
2 : Graph families|Pursuit-evasion |
随便看 |
|
开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。