Skip to content
START WITH A QUESTION

What would you like to understand?

Find an answer. See the moment it becomes clear. Follow the idea further.

← Concept directory

Answers for “为什么贪心匹配算法能保证顶点覆盖问题的 2-近似?”

2 keyword matches

Understanding your question. You can explore the search results below now.

Understand why

↗

The algorithm selects a set of disjoint edges M. The optimal cover must include at least one vertex per edge in M, so optimal cost >= |M|.

Conditions: The algorithm selects arbitrary edges and adds both endpoints until no edges remain

Meet the concept

↗

FPTAS and PTAS allow arbitrarily close approximation. APX allows constant-factor approximation.

Conditions: Comparing standard approximation classes for optimization problems.