Talk:Cop-win graph

Latest comment: 2 years ago by Eviolite in topic GA Review

There is a problem with the paragraph about hereditarily cop-win graphs. If they are defined as the graphs in which every induced subgraph is cop-win (as it is now), then they do not correspond to bridged graphs (consider a cycle of length 6 plus a universal vertex). In the abstract of the paper of Anstee and Farber, it is written that "a connected graph is bridged if and only if every isometric subgraph is a cop-win graph".

So one need either to change the definition of hereditarily cop-win graphs by replacing induced by isometric, or to rephrase/remove the subsequent sentences.

Looking at ISGCI [1] it seems you are right, it should be isometric not just induced. —David Eppstein (talk) 20:20, 4 April 2018 (UTC)Reply


The article states that the king's graph is cop-win, but that can't be true. The 2 by 2 version of the king's graph is the complete graph of order 4, which isn't cop win. 100.1.249.103 (talk) 02:10, 14 June 2018 (UTC)Reply

Huh? Every complete graph is an immediate win for the cop. —David Eppstein (talk) 05:44, 14 June 2018 (UTC)Reply

Something wrong...

edit

In section Recognition algorithms and the family of all dismantling orders read:

Repeatedly find a vertex v that is an endpoint of an edge participating in a number of triangles equal to the degree of v, delete v, and decrement the triangles per edge of each remaining edge that formed a triangle with v.

Diamond graph has 2 triangles. 2 vertex has degree 2, but number of triangles equal 1. 2 vertex has degree 3, but number of triangles equal 2. So number of triangles equal to the degree of v never holds...

Another case. Take any path. There are no triangles at all. So number of triangles equal to the degree of v again does not held. Jumpow (talk) 09:54, 3 April 2019 (UTC)Reply

There are two issues here, one with your article but the other with your misreading of it. (1) There's an off-by-one error; it should be degree minus one. (2) It's not the number of triangles v belongs to, and it's not the number of triangles in the whole graph; it's whether there's an edge vw that participates in deg(v)-1 triangles. —David Eppstein (talk) 17:01, 3 April 2019 (UTC)Reply
Ok, 1. Agree 2. Not agree. What about missing triangles in graph? For example - lattice. So number of triangles equal to the degree of v minus one again does not held (triangles = 0, min degree = 2). It looks like I something missed... Every dismantling graph has triangles? And why exist vertex with property deg(v)-1 = # triangles? Jumpow (talk) 18:06, 3 April 2019 (UTC)Reply
The square lattice is not a cop-win graph. The example in the article that looks like a lattice is actually a King's graph, a different graph with many triangles. And in a cop-win graph, if v is a dominated vertex, it must have a neighbor w that dominates it, in which case edge vw participates in exactly deg(v)-1 triangles, one with each other neighbor of v. —David Eppstein (talk) 19:23, 3 April 2019 (UTC)Reply

GA Review

edit
This review is transcluded from Talk:Cop-win graph/GA1. The edit link for this section can be used to add comments to the review.

Reviewer: Eviolite (talk · contribs) 05:11, 23 April 2022 (UTC)Reply

I will review this nomination within the next ~2 days; please ping me if I do not get back by then. eviolite (talk) 05:11, 23 April 2022 (UTC)Reply

GA review (see here for what the criteria are, and here for what they are not)
  1. It is reasonably well written.
    a (prose, spelling, and grammar):   b (MoS for lead, layout, word choice, fiction, and lists):  
    Prose comments below
  2. It is factually accurate and verifiable.
    a (reference section):   b (citations to reliable sources):   c (OR):   d (copyvio and plagiarism):  
    Passes spotchecks
  3. It is broad in its coverage.
    a (major aspects):   b (focused):  
    Doesn't miss anything obvious
  4. It follows the neutral point of view policy.
    Fair representation without bias:  
    Tone is good
  5. It is stable.
    No edit wars, etc.:  
    No edits by other people in years (only bots)
  6. It is illustrated by images and other media, where possible and appropriate.
    a (images are tagged and non-free content have non-free use rationales):   b (appropriate use with suitable captions):  
    All free with clear pertinence to the article and captions
  7. Overall:
    Pass/Fail:  

Prose comments

edit

Lead

edit
  • Citation should be removed per MOS:LEADCITE and that the information is present in the Definitions section

Definitions

edit

Closure properties

edit

Recognition algorithms

edit
  • Link degree (graph theory) as the term may not be familiar to readers
  • The whole decrementing thing seems equivalent to just re-calculating the number of triangles for each edge, so maybe remove "repeatedly" and that clause, instead saying "and repeat these steps for the now-smaller graph". I don't know if that constitutes OR, though, since it seems the original paper also used the "updating" wording, so it's your call.
    • Um, no, this would be a problem. Finding and counting all triangles is slow, so you don't want to do that over and over again every time you remove one vertex. Counting them once and updating the counts avoids this slow recalculation. —David Eppstein (talk) 07:44, 30 April 2022 (UTC)Reply
  • It's not immediately clear where the alternative time complexity comes from, perhaps because it's not made explicit where the original n^3/log n comes from either (without digging through the source), so I'd treat this as OR and fall back on the time from the paper, perhaps with an in-text attribution though.
    • The analysis parts of the bullet points in this section were more or less my notes to myself at trying to figure out where the n^3/log n comes from and concluding that the analysis was sloppy and it's really mn/log n. But I suppose without a source we can't actually say that; it's not simple enough for WP:CALC. So I jjust removed it and quoted the n^3/log n. It makes less difference than you might think, because this algorithm is only an improvement on the O(dm) one when mn is within a logarithmic factor of n^3 (another thing we probably shouldn't say without sourcing). —David Eppstein (talk) 08:05, 1 May 2022 (UTC)Reply
  • In the "In infinite graphs" section, it's not really clear to me what differentiates "algorithmically" from having unbounded computing power; is it that any finite algorithm can't beat the robber? A clarification might be warranted though I might just be missing something.
    • This is a basic point about computation rather than anything specific to this article's topic. Computers, even theoretical ones, are (like people) not omniscient. There are plenty of things we might want them to compute but we can prove are uncomputable. There is an answer but no algorithm can find one. Testing whether a given computer program contains an infinite loop, for instance. You can program up heuristics that sometimes find infinite loops, but there will always be an input that they fail on (by giving the wrong answer or getting into an infinite loop themselves). That background was the point of linking computability at the start of this section. Anyway, I changed "with unbounded computing power" to "omniscient" in hope that this will be less confusing. —David Eppstein (talk) 07:30, 1 May 2022 (UTC)Reply
edit

@David Eppstein: Placing on hold for now. eviolite (talk) 03:04, 25 April 2022 (UTC)Reply

Thanks! My time is tight for the next few days but I'll see what I can do. —David Eppstein (talk) 05:31, 25 April 2022 (UTC)Reply
@Eviolite: Ok, I think I've responded to everything — please take another look. —David Eppstein (talk) 16:42, 1 May 2022 (UTC)Reply
Thank you for the response. I see you have also done some other copy-edits to the Recognition algorithms section, which I appreciate. Happy to promote now; great work. eviolite (talk) 05:19, 2 May 2022 (UTC)Reply