Skip to main content

Solving the N-Queens Puzzle by Using Few Membranes

  • Chapter
  • First Online:

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 11270))

Abstract

The N-queens puzzle is a topic of several articles written by Mario Pérez-Jiménez and his collaborators. In this paper we present a family of polarizationless P systems with active membranes and 2-cooperation that provides all the possible solutions for this puzzle. The novelty consists in the method allowing a rather important reduction on the number of required membranes and computational steps for obtaining all the solutions of the N-queens problem.

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

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

References

  1. Alhazov, A., Pan, L.: Polarizationless P systems with active membranes. Grammars 7, 141–159 (2004)

    Google Scholar 

  2. Aman, B., Ciobanu, G.: Solving a weak NP-complete problem in polynomial time by using mutual mobile membrane systems. Acta Inform. 48(7–8), 409–415 (2011)

    Article  MathSciNet  Google Scholar 

  3. Aman, B., Ciobanu, G.: Efficiently solving the bin packing problem through bio-inspired mobility. Acta Inform. 54(4), 435–445 (2017)

    Article  MathSciNet  Google Scholar 

  4. Aman, B., Ciobanu, G.: Turing completeness using three mobile membranes. In: Calude, C.S., Costa, J.F., Dershowitz, N., Freire, E., Rozenberg, G. (eds.) UC 2009. LNCS, vol. 5715, pp. 42–55. Springer, Heidelberg (2009). https://doi.org/10.1007/978-3-642-03745-0_12

    Chapter  Google Scholar 

  5. Aman, B., Ciobanu, G.: Describing the immune system using enhanced mobile membranes. Electron. Notes Theor. Comput. Sci. 194(3), 5–18 (2008)

    Article  Google Scholar 

  6. Bell, J., Stevens, B.: A survey of known results and research areas for N-queens. Discrete Math. 309(1), 1–31 (2009)

    Article  MathSciNet  Google Scholar 

  7. Bezzel, M.: Proposal of 8-queens problem. Berl. Schachzeitung 3, 363 (1848). Submitted under the author name “Schachfreund”

    Google Scholar 

  8. Buño, K.C., Cabarle, F.G.C., Calabia, M.D., Adorna, H.N.: Solving the N-queens problem using dP systems with active membranes. Theor. Comput. Sci. 736, 1–14 (2018)

    Article  MathSciNet  Google Scholar 

  9. Gutiérrez-Naranjo, M.A., Martínez-del Amor, M.A., Pérez-Hurtado, I., Pérez-Jiménez, M.J.: Solving the N-queens puzzle with P systems. In: Gutiérrez-Escudero, R., Gutiérrez-Naranjo, M.A., Păun, G., Pérez-Hurtado, I., Riscos-Núñez, A. (eds.) 7th Brainstorming Week on Membrane Computing, pp. 199–210. Fénix Editora, São Paulo (2009)

    Google Scholar 

  10. Gutiérrez-Naranjo, M.A., Pérez-Jiménez, M.J.: Depth-first search with P systems. In: Gheorghe, M., Hinze, T., Păun, G., Rozenberg, G., Salomaa, A. (eds.) CMC 2010. LNCS, vol. 6501, pp. 257–264. Springer, Heidelberg (2010). https://doi.org/10.1007/978-3-642-18123-8_20

    Chapter  MATH  Google Scholar 

  11. Gutiérrez-Naranjo, M.A., Pérez-Jiménez, M.J.: Local search with P systems - a case study. Int. J. Nat. Comput. Res. 2, 47–55 (2011)

    Article  Google Scholar 

  12. Ionescu, M., Păun, Gh., Yokomori, T.: Spiking neural P systems. Fundam. Inform. 71, 279–308 (2006)

    Google Scholar 

  13. Maroosi, A., Muniyandi, R.C.: Accelerated execution of P systems with active membranes to solve the N-queens problem. Theor. Comput. Sci. 551, 39–54 (2014)

    Article  MathSciNet  Google Scholar 

  14. Martín-Vide, C., Păun, Gh., Pazos, J., Rodríguez-Patón, A.: Tissue P systems. Theor. Comput. Sci. 296, 295–326 (2003)

    Article  MathSciNet  Google Scholar 

  15. Păun, Gh.: Computing with membranes. J. Comput. Syst. Sci. 61, 108–143 (2000)

    Article  MathSciNet  Google Scholar 

  16. Păun, Gh.: Active membranes. In: [17], pp. 282–301

    Google Scholar 

  17. Păun, Gh., Rozenberg, G., Salomaa, A. (eds.): The Oxford Handbook of Membrane Computing. Oxford University Press, Oxford (2010)

    Google Scholar 

  18. Peng, H., Wang, J., Shi, P., Pérez-Jiménez, M.J., Riscos-Núñez, A.: Fault diagnosis of power systems using fuzzy tissue-like P systems. Integr. Comput.-Aided Eng. 24(4), 401–411 (2017)

    Article  Google Scholar 

  19. Pérez-Jiménez, M.J., Riscos-Núñez, A., Romero-Jiménez, A., Woods, D.: Complexity-membrane division, membrane creation. In: [17], pp. 302–336 (2010)

    Google Scholar 

  20. Valencia-Cabrera, L., Orellana-Martín, D., Riscos-Núñez, A., Pérez-Jiménez, M.J.: Counting membrane systems. In: Gheorghe, M., Rozenberg, G., Salomaa, A., Zandron, C. (eds.) CMC 2017. LNCS, vol. 10725, pp. 74–87. Springer, Cham (2018). https://doi.org/10.1007/978-3-319-73359-3_5

    Chapter  MATH  Google Scholar 

  21. Zandron, C., Ferretti, C., Mauri, G.: Solving NP-complete problems using P systems with active membranes. In: Antoniou, I., Calude, C.S., Dinneen, M.J. (eds.) Unconventional Models of Computation, pp. 289–301. Springer, Heidelberg (2001). https://doi.org/10.1007/978-1-4471-0313-4_21

    Chapter  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Bogdan Aman .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Springer Nature Switzerland AG

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Aman, B., Ciobanu, G. (2018). Solving the N-Queens Puzzle by Using Few Membranes. In: Graciani, C., Riscos-Núñez, A., Păun, G., Rozenberg, G., Salomaa, A. (eds) Enjoying Natural Computing. Lecture Notes in Computer Science(), vol 11270. Springer, Cham. https://doi.org/10.1007/978-3-030-00265-7_2

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-00265-7_2

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-00264-0

  • Online ISBN: 978-3-030-00265-7

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics