I saw a question about a 2-approximation algorithm for the Vertex-Cap problem (VC, the famous Np-Complete problem), and I don't know the answer. The problem is this: Find a 2-approximation algorithm for the vertex problem using the "Spanning Tree". Well, many greedy approaches are already presented for VC, but the special algorithm using the "Spanning Tree" is complicated. Any ideas?
You are just looking for the maximum match in the given graph, and the solution is a set of nodes that create the maximum match.
Source: https://habr.com/ru/post/1337810/More articles:Comparing arrays of different sizes - c ++How to scale vector path created in raphaeljs with browser size? - responsive-designDeny HttpHandler WCF request processing - wcfstring identity comparison in CPython - pythonAre there any good (functional) neural network simulators for Windows? - windowsUISearchDisplayController - Pressing an overlay called method? - iosMake hierarchy in PHP array in loop - arraysWhere is the emulator control located in IntelliJ? - androidEntity Framework 4 returns a garbled mess if the underlying data does not reflect the primary key of Entity - stored-proceduresUISearchbar Analysis Delay - objective-cAll Articles