The greedy algorithm for maximum coverage chooses sets according to one rule: at each stage, choose a set which contains the largest number of uncovered elements. It can be shown that this algorithm achieves an approximation ratio of. ln-approximability results show that the greedy algorithm is essentially the best-possible polynomial timeapproximation algorithm for maximum coverage unless.
Known extensions
The inapproximability results apply to all extensions of the maximum coverage problem since they hold the maximum coverage problem as a special case. The Maximum Coverage Problem can be applied to road traffic situations; one such example is selecting which bus routes in a public transportation network should be installed with pothole detectors to maximise coverage, when only a limited number of sensors is available. This problem is a known extension of the Maximum Coverage Problem and was first explored in literature by Junade Ali and Vladimir Dyo.
Weighted version
In the weighted version every element has a weight . The task is to find a maximum coverage which has maximum weight. The basic version is a special case when all weights are. The greedy algorithm for the weighted maximum coverage at each stage chooses a set that contains the maximum weight of uncovered elements. This algorithm achieves an approximation ratio of.
Budgeted maximum coverage
In the budgeted maximum coverage version, not only does every element have a weight, but also every set has a cost. Instead of that limits the number of sets in the cover a budget is given. This budget limits the total cost of the cover that can be chosen. A greedy algorithm will no longer produce solutions with a performance guarantee. Namely, the worst case behavior of this algorithm might be very far from the optimal solution. The approximation algorithm is extended by the following way. First, define a modified greedy algorithm, that selects the set that has the best ratio of weighted uncovered elements to cost. Second, among covers of cardinality, find the best cover that does not violate the budget. Call this cover. Third, find all covers of cardinality that do not violate the budget. Using these covers of cardinality as starting points, apply the modified greedy algorithm, maintaining the best cover found so far. Call this cover. At the end of the process, the approximate best cover will be either or. This algorithm achieves an approximation ratio of for values of. This is the best possible approximation ratio unless.
Generalized maximum coverage
In the generalized maximum coverage version every set has a cost, element has a different weight and cost depending on which set covers it. Namely, if is covered by set the weight of is and its cost is. A budget is given for the total cost of the solution.
Generalized maximum coverage algorithm
The algorithm uses the concept of residual cost/weight. The residual cost/weight is measured against a tentative solution and it is the difference of the cost/weight from the cost/weight gained by a tentative solution. The algorithm has several stages. First, find a solution using greedy algorithm. In each iteration of the greedy algorithm the tentative solution is added the set which contains the maximum residual weight of elements divided by the residual cost of these elements along with the residual cost of the set. Second, compare the solution gained by the first step to the best solution which uses a small number of sets. Third, return the best out of all examined solutions. This algorithm achieves an approximation ratio of.
Related problems
Set cover problem is to cover all elements with as few sets as possible.