2504 J. Chen et al. / Theoretical Computer Science 412 (2011) 2503–2512
Table 1
Comparison of deterministic algorithms for matching.
References Time complexity 3DM rDM W3DM WrDM Remark
[4] O
∗
((rk)!(rk)
3rk
) X X X X
[5] O
∗
(2
5rk−4k
6(r−1)k+k
rk
) X X X X
[11] O
∗
(12.8
rk
) X X X X
[2] O
∗
(4
rk+o(k)
) X X X X
Our result O
∗
(4
(r−1)k+o(k)
) X X X X
[15] O
∗
(432
k+o(k)
) X X r = 3 only
Our result O
∗
(16
k+o(k)
) X X r = 3
[1] O
∗
((r − 1)
k
((r − 1)k/e)
k(r−2)
) X X × ×
[9] O
∗
(2
O(rk)
) X X × ×
[16] O
∗
(43.62
k+o(k)
) X × r = 3 only
[12] O
∗
(21.26
k
) X × r = 3 only
[10] O
∗
(8
k
) (randomized) X × r = 3 only
problem is a general extension of the rd-matching problem. Therefore, all parameterized algorithms for r-set packing can
also be used to solve rd-matching. The weighted rd-matching and weighted r-set packing problems were first studied by
Downey and Fellows [4], where a deterministic parameterized algorithm of time complexity O
∗
((rk)!(rk)
3rk
) was presented.
1
An improved deterministic algorithm for the weighted rd-matching and weighted r-set packing problems was proposed by
Fellows et al. [5] with running time O
∗
(2
5rk−4k
6(r−1)k+k
rk
). Liu et al. [11] further reduced the time complexity to O
∗
(12.8
rk
).
For weighted 3d-matching, Wang and Feng [15] gave a more efficient algorithm of time complexity O
∗
(7.56
3k+o(k)
) =
O
∗
(432
k+o(k)
). Currently, the best deterministic algorithms for the weighted rd-matching and weighted r-set packing
problems are due to Chen et al. [2] with time complexity O
∗
(4
rk+o(k)
).
We remark that there is also a very active research line on parameterized algorithms for unweighted versions of the
problems. Using the technique of Greedy Localization, Chen et al. [1] and Jia et al. [8] presented deterministic algorithms
for the unweighted rd-matching and r-set packing problems of time O
∗
((r − 1)
k
((r − 1)k/e)
k(r−2)
). Koutis [9] gave an
improved deterministic algorithm of time O
∗
(2
O(rk)
). For the case of r = 3, Liu et al. [12] presented a deterministic algorithm
of time O
∗
(21.26
k
) for the unweighted 3d-matching problem, which is currently the best deterministic algorithm for the
unweighted 3d-matching problem. For the unweighted 3-set packing problem, Liu et al. [12] gave a deterministic algorithm
of time O
∗
(97.98
k
), which was further improved by Wang and Feng [16] with an algorithm of time O
∗
(43.62
k+o(k)
). This is
currently the best deterministic algorithm for the unweighted 3-set packing problem. It should be pointed out that all these
algorithms [1,8,9,12,16] seem to work only for unweighted versions and cannot be applied to solve the weighted versions.
Very recently, Koutis [10] proposed a randomized algorithm of time complexity O
∗
(8
k
) for the unweighted 3d-matching
and 3-set packing problems. However, as remarked in [17], the algorithms in [10] only work for unweighted case and do
not appear to extend to the weighted versions. Moreover, whether the algorithms can be extended to rd-matching and
r-set packing for r > 3, and whether the randomized algorithms can be derandomized are still unknown.
In this paper, we study the weighted versions of rd-matching and r-set packing, and develop a different algorithmic
approach to the problems. In particular, after further analyzing the structure of the problems and using (n, k)-universal
sets and the divide-and-conquer methods, we are able to develop a deterministic algorithm of time O
∗
(4
(r−1)k+o(k)
) for the
weighted rd-matching problem, improving the previous best result O
∗
(4
rk+o(k)
). In fact, our deterministic algorithms for
the weighted cases are even better than the previous best deterministic algorithm for the unweighted cases. For example,
our algorithm for weighted 3d-matching runs in time O
∗
(16
k+o(k)
), which is much better than the previous best algorithm
of time O
∗
(21.26
k
) for unweighted 3d-matching.
Table 1 provides a comprehensive comparison of deterministic algorithms for the rd-matching problems, where ‘‘X’’
denotes that the algorithm can be applied to the problem, ‘‘×’’ denotes that the algorithm is not applicable to the problem,
and 3DM, W3DM, rDM, and WrDM denote unweighted 3d-matching, weighted 3d-matching, unweighted rd-matching,
and weighted rd-matching, respectively. We have partitioned the algorithms into three groups. In the first group (the
first 5 rows in the table), we compare our algorithm with previous algorithms that are applicable to rd-matching for a
general integer r ≥ 3 and for both weighted and unweighted versions. In the second group, consisting of rows 6–7 in the
table, we compare our algorithm with the best previous algorithm for 3d-matching for both weighted and unweighted
versions. Finally, the last group, consisting of rows 8–12 in the table, lists all previous algorithms that are only applicable
to unweighted version of rd-matching. As we can see, our algorithm improves all previous algorithms significantly, except
the last row, which, as we have mentioned above, seems difficult to be derandomized and/or extended to general integer
r > 3.
For the weighted r-set packing problem, we also develop an improved deterministic algorithm. By further analyzing
the structure of the problem, we present an algorithm of time O
∗
(2
(2r−1)k+o(k)
) for weighted r-set packing, improving the
1
Following the recent convention, for a given function f , we will use the notion O
∗
(f ) for O(f · n
O(1)
).