Skip to main content
Log in

Spiders can be Recognized by Counting Their Legs

  • Published:
Mathematics in Computer Science Aims and scope Submit manuscript

Abstract

Spiders are arthropods that can be distinguished from their closest relatives, the insects, by counting their legs. Spiders have eight, insects just six. Spider graphs are a very restricted class of graphs that naturally appear in the context of cograph editing. The vertex set of a spider (or its complement) is naturally partitioned into a clique (the body), an independent set (the legs), and a rest (serving as the head). Here we show that spiders can be recognized directly from their degree sequences through the number of their legs (vertices with degree 1). Furthermore, we completely characterize the degree sequences of spiders.

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.

Similar content being viewed by others

References

  1. Erdős P., Gallai T.: Gráfok előírt fokszámú pontokkal. Mat. Lapok 11, 264–274 (1960)

    Google Scholar 

  2. Hakimi S.L.: On realizability of a set of integers as degrees of the vertices of a linear graph. J. Soc. Ind. Appl. Math. 10, 496–506 (1962)

    Article  MathSciNet  MATH  Google Scholar 

  3. Havel V.: A remark on the existence of finite graphs. Časopis Pro pěstování Matematiky (in Czech) 80, 477–480 (1955)

    MathSciNet  MATH  Google Scholar 

  4. Hellmuth M., Hernandez-Rosales M., Huber K.T., Moulton V., Stadler P.F., Wieseke N.: Orthology relations, symbolic ultrametrics, and cographs. J. Math. Biol. 66(1–2), 399–420 (2013)

    Article  MathSciNet  MATH  Google Scholar 

  5. Hellmuth M., Wieseke N., Lechner M., Lenhof H.-P., Middendorf M., Stadler P.F.: Phylogenomics with paralogs. PNAS 112(7), 2058–2063 (2015)

    Article  Google Scholar 

  6. Hernandez-Rosales M., Hellmuth M., Wieseke N., Huber K.T., Moulton P.F., Stadler V.: From event-labeled gene trees to species trees. BMC Bioinform. 13(Suppl 19), S6 (2012)

    Google Scholar 

  7. Hoàng, C.T.: Perfect graphs. PhD thesis, School of Computer Science, McGill University, Montreal (1985)

  8. Jamison B., Olariu S.: P4-reducible-graphs—a class of uniquely tree of uniquely tree-representable graphs. Stud. Appl. Math. 81, 79–87 (1989)

    Article  MathSciNet  MATH  Google Scholar 

  9. Jamison B., Olariu S.: Recognizing P4-sparse graphs in linear time. SIAM J. Comput. 21, 381–406 (1992)

    Article  MathSciNet  MATH  Google Scholar 

  10. Liu, Y., Wang, J., Guo, J., Chen, J.: Cograph editing: complexity and parametrized algorithms. In: Fu, B., Du, D.Z. (eds.) COCOON 2011. Lect. Notes Comp. Sci., vol. 6842, pp. 110–121. Springer, Berlin (2011)

  11. Liu, Y., Wang, J., Guo, J., Chen, J.: Complexity and parameterized algorithms for cograph editing. Theor. Comput. Sci. 461(0), 45–54 (2012)

  12. Nastos J., Gao Y.: Bounded search tree algorithms for parameterized cograph deletion: efficient branching rules by exploiting structures of special graph classes. Discret. Math. Algorithms Appl. 4, 1250008 (2012)

    Article  MathSciNet  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Marc Hellmuth.

Additional information

To all arachnophobic mathematicians.

This work was funded in part by the German Research Foundation (DFG) (Proj. No. MI439/14-1).

MHR is supported by the program “Cátedras Jóvenes Investigadores, CONACYT, México”.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Berkemer, S.J., Chaves, R.R.C., Fritz, A. et al. Spiders can be Recognized by Counting Their Legs. Math.Comput.Sci. 9, 437–441 (2015). https://doi.org/10.1007/s11786-015-0233-1

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11786-015-0233-1

Keywords

Mathematics Subject Classification

Navigation