/ THE IDEA
In the mathematical network, junctions are vertices and links are edges. A vertex cover is a set of vertices touching every edge. A simple approximation repeatedly selects any uncovered edge, chooses both its endpoints, and removes all edges those endpoints already cover. Selected edges never share endpoints: edges touching an earlier selection have been removed. Every valid cover must choose at least one endpoint for each selected edge. Our procedure chooses two. This gives a lower bound on the unknown optimum and an upper bound on our cost without solving the exact optimisation problem.
THE FORMAL IDEA
OPT ≤ C ≤ 2 × OPT
| OPT = the smallest possible number of selected vertices; C = the number chosen by this procedure. | | The first inequality says a valid answer cannot beat the optimum. The second is the factor-two approximation guarantee for this unweighted vertex-cover problem. |
|
RUN THE TINY EXAMPLE
Change one thing. Predict what happens.
Network: A—B—C. Select edge A—B, taking vertices {A,B}. Every edge is covered. C = 2, while the optimum {B} has OPT = 1. Change one input by adding edge C—D. After selecting A—B, C—D remains: select both ends too. C = 4; optimum {B,C} has OPT = 2.
|
The changed network doubles both this run’s cost and the optimum, preserving the factor-two bound. It does not promise the output always costs exactly twice the optimum: a triangle, for example, needs two vertices and this procedure can return exactly two.
/ SO WHAT?
A guarantee differs from a heuristic’s encouraging track record. The proof identifies a structural reason that bad cases remain bounded. If the operational cost of one extra monitor is acceptable, that bound can be more useful than a long-running exact search with no timely answer.
ONE CAVEAT |
| The model gives every vertex equal cost and assumes endpoint monitoring is the complete requirement. Unequal installation costs or extra coverage rules require different algorithms and proofs. A factor-two guarantee is relative to the optimum, not a claim of fifty-percent accuracy or a probability of success. |
KEEP THIS
A useful approximate answer comes with a proven worst-case quality bound tied to the exact problem you actually modelled.
|
NEXT: How tiny repeated grooves let us measure a colour
|