Skip to main content
Log in

Exploiting a hypergraph model for finding Golomb rulers

  • Original Article
  • Published:
Acta Informatica Aims and scope Submit manuscript

Abstract

Golomb rulers are special rulers where for any two marks it holds that the distance between them is unique. They find applications in radio frequency selection, radio astronomy, data encryption, communication networks, and bioinformatics. An important subproblem in constructing “compact” Golomb rulers is Golomb Subruler  (GSR), which asks whether it is possible to make a given ruler Golomb by removing at most \(k\) marks. We initiate a study of GSR from a parameterized complexity perspective. In particular, we consider a natural hypergraph characterization of rulers and investigate the construction and structure of the corresponding hypergraphs. We exploit their properties to derive polynomial-time data reduction rules that reduce a given instance of GSR to an equivalent one with \({{\mathrm{O}}}(k^3)\) marks. Finally, we complement a recent computational complexity study of GSR by providing a simplified reduction that shows NP-hardness even when all integers are bounded by a polynomial in the input length.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5

Similar content being viewed by others

Notes

  1. The definition of Golomb rulers is equivalent to the one for Sidon sets in the group \(({\mathbb {Z}}, +)\). Sidon sets in Abelian groups \((G, +)\) are subsets of \(G\) such that for any four elements \(a, b, c, d\) it holds that \(a + b \ne c + d\). Some upper and lower bounds are known for the size of Sidon sets, see the works of Dimitromanolakis [10], Drakakis [15] and references therein.

  2. For brevity we reformulated the problem slightly. The original problem is to find a Golomb subruler containing at least a given number of marks. Clearly, this problem and our reformulation are equivalent under polynomial-time many-one reductions.

References

  1. Abu-Khzam, F.N.: A kernelization algorithm for \(d\)-hitting set. J. Comput. Syst. Sci. 76(7), 524–531 (2010)

    Article  MathSciNet  MATH  Google Scholar 

  2. Alon, N., Babai, L., Itai, A.: A fast and simple randomized parallel algorithm for the maximal independent set problem. J. Algorithms 7(4), 567–583 (1986)

    Article  MathSciNet  MATH  Google Scholar 

  3. Babcock, W.: Intermodulation interference in radio systems. Bell Syst. Tech. J. 32, 63–73 (1953)

    Article  Google Scholar 

  4. Bertram-Kretzberg, C., Lefmann, H.: The algorithmic aspects of uncrowded hypergraphs. SIAM J. Comput. 29(1), 201–230 (1999)

    Article  MathSciNet  MATH  Google Scholar 

  5. Bloom, G., Golomb, S.: Applications of numbered undirected graphs. Proc. IEEE 65(4), 562–570 (1977)

    Article  Google Scholar 

  6. Blum, E., Biraud, F., Ribes, J.: On optimal synthetic linear arrays with applications to radioastronomy. IEEE Trans. Antennas Propag. 22, 108–109 (1974)

    Article  Google Scholar 

  7. Bodlaender, H.L.: Kernelization: new upper and lower bound techniques. In: Proceedings of the 4th International Workshop on Parameterized and Exact Computation (IWPEC ’09). Lecture Notes in Computer Science, vol. 5917, pp. 17–37. Springer, Berlin (2009)

  8. Cotta, C., Dotú, I., Fernández, A.J., Hentenryck, P.V.: Local search-based hybrid algorithms for finding Golomb rulers. Constraints 12, 263–291 (2007)

    Article  MathSciNet  MATH  Google Scholar 

  9. Dell, H., van Melkebeek, D.: Satisfiability allows no nontrivial sparsification unless the polynomial-time hierarchy collapses. In: Proceedings of the 42th Annual ACM Symposium on Theory of Computing (STOC ’10), pp. 251–260. ACM. Journal version to appear in Journal of the ACM (2010)

  10. Dimitromanolakis, A.: Analysis of the Golomb Ruler and the Sidon Set Problems, and Determination of Large, Near-Optimal Golomb Rulers. Master’s thesis, Department of Electronic and Computer Engineering, Technical University of Crete (2002)

  11. Distributed.net. Home page. http://www.distributed.net/. Accessed May 2014

  12. Dollas, A., Rankin, W.T., McCracken, D.: A new algorithm for Golomb ruler derivation and proof of the 19 mark ruler. IEEE Trans. Inf. Theory 44(1), 379–382 (1998)

    Article  MathSciNet  MATH  Google Scholar 

  13. Dom, M., Guo, J., Hüffner, F., Niedermeier, R., Truss, A.: Fixed-parameter tractability results for feedback set problems in tournaments. J. Discrete Algorithms 8(1), 76–86 (2010)

    Article  MathSciNet  MATH  Google Scholar 

  14. Downey, R.G., Fellows, M.R.: Fundamentals of Parameterized Complexity. Springer, Berlin (2013)

    Book  MATH  Google Scholar 

  15. Drakakis, K.: A review of the available construction methods for Golomb rulers. Adv. Math. Commun. 3(3), 235–250 (2009)

    Article  MathSciNet  MATH  Google Scholar 

  16. Fellows, M.R., Jansen, B.M.P., Rosamond, F.A.: Towards fully multivariate algorithmics: Parameter ecology and the deconstruction of computational complexity. Eur. J. Comb. 34(3), 541–566 (2013)

    Article  MathSciNet  MATH  Google Scholar 

  17. Flum, J., Grohe, M.: Parameterized Complexity Theory. Springer, Heidelberg (2006)

    Google Scholar 

  18. Guo, J., Niedermeier, R.: Invitation to data reduction and problem kernelization. ACM SIGACT News 38(1), 31–45 (2007)

    Article  Google Scholar 

  19. Komusiewicz, C., Niedermeier, R., Uhlmann, J.: Deconstructing intractability—a multivariate complexity analysis of interval constrained coloring. J. Discrete Algorithms 9(1), 137–151 (2011)

    Article  MathSciNet  MATH  Google Scholar 

  20. Lokshtanov, D., Misra, N., Saurabh, S.: Kernelization—preprocessing with a guarantee. In: The Multivariate Algorithmic Revolution and Beyond—Essays Dedicated to Michael R. Fellows on the Occasion of His 60th Birthday. Lecture Notes in Computer Science, vol. 7370, pp. 129–161. Springer, Berlin (2012)

  21. Malakonakis, P., Sotiriades, E., Dollas, A.: GE3: a single FPGA client-server architecture for Golomb ruler derivation. In: Proceedings of the International Conference on Field-Programmable Technology (FPT ’10), pp. 470–473. IEEE (2010)

  22. Meyer, C., Papakonstantinou, P.A.: On the complexity of constructing Golomb rulers. Discrete Appl. Math. 157, 738–748 (2008)

    Article  MathSciNet  Google Scholar 

  23. Nicolas, F., Rivals, E.: Longest common subsequence problem for unoriented and cyclic strings. Theor. Comput. Sci. 370(1–3), 1–18 (2007)

    Article  MathSciNet  MATH  Google Scholar 

  24. Niedermeier, R.: Invitation to Fixed-Parameter Algorithms. Oxford University Press, Oxford (2006)

    Book  MATH  Google Scholar 

  25. Niedermeier, R.: Reflections on multivariate algorithmics and problem parameterization. In: Proceedings of the 27th International Symposium on Theoretical Aspects of Computer Science (STACS ’10), volume 5 of Dagstuhl Seminar Proceedings, pp. 17–32. IBFI Dagstuhl, Germany (2010)

  26. Pereira, F., Tavares, J., Costa, E.: Golomb rulers: the advantage of evolution. In: Proceedings of the 11th Portuguese Conference on Artificial Intelligence (EPIA ’03). Lecture Notes in Computer Science, vol. 2902, pp. 29–42. Springer, Berlin (2003)

  27. Rankin, W.T.: Optimal Golomb rulers: An Exhaustive Parallel Search Implementation. Master’s thesis, Department of Electrical Engineering, Duke University, Durham. Addendum by Aviral Singh (1993)

  28. Soliday, S.W., Homaifar, A., Lebby, G.L.: Genetic algorithm approach to the search for Golomb rulers. In: Proceedings of the 6th International Conference on Genetic Algorithms (ICGA ’95), pp. 528–535. Morgan Kaufmann, Burlington (1995)

  29. Sorge, M.: Algorithmic Aspects of Golomb Ruler Construction. Studienarbeit, Institut für Informatik, Friedrich-Schiller-Universität Jena, Germany, 2010. Available electronically. arXiv:1005.5395v2

  30. Sorge, M., Moser, H., Niedermeier, R., Weller, M.: Exploiting a hypergraph model for finding Golomb rulers. In: Proceedings of the 2nd International Symposium on Combinatorial Optimization (ISCO ’12). Lecture Notes in Computer Science, vol. 7422, pp. 368–379. Springer, Berlin (2012)

  31. Tavares, J., Pereira, F., Costa, E.: Golomb rulers: a fitness landscape analysis. In: Proceedings of the IEEE Congress on Evolutionary Computation (CEC ’08), pp. 3695–3701. IEEE (2008)

  32. van Bevern, R.: Towards optimal and expressive kernelization for \(d\)-hitting set. Algorithmica (2013)

  33. von zur Gathen, J., Sieveking, M.: A bound on solutions of linear integer equations and inequalities. Proc. Am. Math. Soc. 72, 155–158 (1978)

    Article  MATH  Google Scholar 

Download references

Acknowledgments

We thank Falk Hüffner for assistance with Sect. 3.3 and we are grateful to anonymous referees for their valuable feedback leading to significant improvements of the presentation.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Manuel Sorge.

Additional information

An extended abstract of this work appeared in the Proceedings of the 2nd International Symposium on Combinatorial Optimization (ISCO 2012), April 17–21, 2012, Athens, Greece, volume 7422 of Lecture Notes in Computer Science, pp. 368–379, Springer, 2012. Apart from providing missing proofs, the major changes in this article are extended observations on the structure of the considered hypergraphs, a partial improvement in the running time of the data reduction rules (Theorem 4), and a strengthened NP-hardness result (Theorem 5).

Manuel Sorge was supported by Deutsche Forschungsgemeinschaft, projects DARE (NI 369/11) and DAPA (NI 369/12).

Hannes Moser was supported by Deutsche Forschungsgemeinschaft, project AREG (NI 369/9).

Mathias Weller was supported by Deutsche Forschungsgemeinschaft, project DARE (NI 369/11).

Appendix: Further forbidden subgraphs

Appendix: Further forbidden subgraphs

Proposition 3

(Forbidden subgraph “large hand”) The graph shown in Fig. 2c is a forbidden subgraph in a conflict hypergraph.

Proof

In a 4-conflict there are two pairs of vertices that measure the same distance. We choose one unordered pair from \(\{a, b, c\}\) and, thus, define the distance that caused the conflict. Then, for the fourth mark, there are only two possible positions left. Multiplying this with the number of possible unordered pairs, one gets six as an upper bound for such edges intersecting in three marks.

In order to prove an upper bound of three, we show that in the previous argument every edge is actually counted twice. Assume \(a < b\) has been chosen as pair. Then a fourth mark \(d\) can assume only two values, given by

$$\begin{aligned} d = c - (b - a) \quad \text {or} \quad d = c + (b - a)\text {.} \end{aligned}$$

We can rewrite these conditions as

$$\begin{aligned} d = a + (c - b) \quad \text {or} \quad d = b + (c - a)\text {.} \end{aligned}$$

Now observe that the conditions correspond also to the case that the chosen pair is \(b < c\) or \(a < c\), respectively. That is, every possible location for \(d\) is counted twice. This means that there are at most three 4-conflicts that intersect in three marks. \(\square \)

Proposition 4

(Forbidden subgraph “rotor”) The graph shown in Fig. 2d is a forbidden subgraph in a conflict hypergraph.

Proof

First, by definition of the rotor graph, \(a, c, d\) are distinct. We fix a total ordering of the three marks in \(\{a, c, d\}\) and then try to position \(b\) in that ordering. We find that all possible locations lead to equality of two of the marks \(a, c, d\), a contradiction. Because of the symmetry of the graph we can look at one specific ordering without loss of generality. Hence, let \(a < c < d\). Now assume that \(b < c\). Because of the conflict \(\{b, c, d\}\), mark \(c\) is half-way between \(b\) and \(d\). The conflict \(\{a, b, d\}\) implies that either \(a = c\) (a contradiction) or \(a < b\). But in the latter case, because \(a, b\) are in one conflict with \(c\) and in one with \(d\), we have \(c = d\) which again is a contradiction. The case \(b > c\) is symmetric. \(\square \)

Proposition 5

(Forbidden induced subgraph “scissors”) The graph shown in Fig. 2e is a forbidden induced subgraph in a conflict hypergraph.

Proof

We show that, in the configuration shown in Fig. 2e, an edge comprising \(d_1, d_2\) and one mark \(m \in \{a, b, c\}\) must also be present.

We again use the fact that 4-conflicts are due to two pairs of them having the same distances. Choose two pairs from \(\{a, b, c\}\) corresponding to the two conflicts and hence defining a distance each conflict arises from. If the chosen pairs comprise the same marks, then the proposition holds: If \(a, b\) is the pair measuring the same distance in both conflicts, then

$$\begin{aligned} |a - b| = |c - d_1| \quad \text {and} \quad |a - b| = |c - d_2|\text {,} \end{aligned}$$

and, hence, \(\{c, d_1, d_2\}\) is a conflict. The cases that \(a, c\), or \(b, c\) are chosen in both conflicts are similar. If the two chosen pairs are not equal, then the pairs must share one mark. Without loss of generality, let the pairs be \(a < b\) and \(b < c\). The equations

$$\begin{aligned} d = c \pm (b - a) \quad \text {and}\quad e = a \pm (c - b) \end{aligned}$$

hold for appropriate choices of \(+\) or \(-\) instead of \(\pm \). Note that the sign before \((b - a)\) cannot be negative at the same time with the sign of \((c - b)\) being positive. Otherwise this would imply that \(d = e\). In any other case, the two terms on the right-hand side of the equations differ only in the sign of exactly two variables. This means that there exists an \(m \in \{a, b, c\}\) such that the following equation holds:

$$\begin{aligned} |e - m| = |m - d|\text {.} \end{aligned}$$

Thus there is an additional conflict \(\{d, e, m\}\). \(\square \)

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Sorge, M., Moser, H., Niedermeier, R. et al. Exploiting a hypergraph model for finding Golomb rulers. Acta Informatica 51, 449–471 (2014). https://doi.org/10.1007/s00236-014-0202-1

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00236-014-0202-1

Navigation