Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <blockquote> <p>Is this correct, or am I missing something obvious?</p> </blockquote> <p>Two vertices having the same edge; e.g.,...</p> <pre><code>A -- B -- C Weights: B = 2; A = 1; C = 1 </code></pre> <p><code>{ A, C }</code> and <code>{ B }</code> are both weighted minimal vertex covers by your definition.</p> <p>Only <code>{ B }</code> is a standard minimal vertex cover.</p> <p><strong>EDIT:</strong>... a better example showing a different reason:</p> <pre><code>A -- B -- C -- D Weights: B = 2; C = 2; A = 1; D = 1 </code></pre> <p><code>{ A, C }</code>, <code>{ B, D }</code>, <code>{ B, C }</code> are all standard minimal vertex covers.</p> <p>Only <code>{ A, C }</code> and <code>{ B, D }</code> are weighted minimal vertex covers by your definition. Intuitively, this is because the <code>{ B, C }</code> vertex cover counts the <code>B -- C</code> edge twice.</p> <hr> <p>The first counter example disproves that all weighted MVCs (as per your definition) are standard MVCs. The second counter example disproves that all standard MVCs are weighted MVCs.</p> <p>After some thought... you are correct in that the weighted MVC for a tree is any VC with a cost equal to the number of edges. </p> <p>Finding a weighted MVC is actually quite simple. If you draw the tree out, and pick all the vertexes from every second level (doesn't matter if you start from the first or second level), you end up with a valid weighted MVC by your definition (since all edges are covered, no edge is counted twice).</p> <p>...more generally, the set of all weighted MVCs is the set of all VCs not containing neighbours. For example, in a tree where no child is a parent, the set of leaf nodes is also a valid weighted MVC.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload