Skip to main content

Research and Realization of N–Queens Problem Based on the Logic Language Prolog

  • Conference paper
Computational Intelligence and Intelligent Systems (ISICA 2012)

Part of the book series: Communications in Computer and Information Science ((CCIS,volume 316))

Included in the following conference series:

  • 2286 Accesses

Abstract

To solve the 8-queen problem in Chess is always the classical problem in mathematics and computer fields. Based on brief introduction of logic programming language Prolog, the author uses Prolog program to solve the 8-queen up to N-queen problem and improve running speed and simplify the algorithm complexity by the agency of features of Prolog logic language and through optimizing recursive algorithm.

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

Access this chapter

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 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

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Similar content being viewed by others

References

  1. Mai, Z., Lv, W.: Principles of programming languages. Beihang University press (February 2011)

    Google Scholar 

  2. Gu, B.: Multi-paradigm programming language. Science Press (June 2006)

    Google Scholar 

  3. Louden, K.C., Lambert, K.: Programming Languages Principles and Practice, 3rd edn. Course Technology (January 2011)

    Google Scholar 

  4. Pratt, T.W., Zelkowitz, M.V.: Programming Languages Design and Implementation, 4th edn. Prentice-Hall (September 2000)

    Google Scholar 

  5. Mitchell, J.C.: Concepts in Programming Languages. Cambridge Univ. Press (2003)

    Google Scholar 

  6. Lei, Y., Xing, Q.: Visual Prolog programming environment and interface. National Defence Industry Press (January 2004)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2012 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Gu, B. (2012). Research and Realization of N–Queens Problem Based on the Logic Language Prolog. In: Li, Z., Li, X., Liu, Y., Cai, Z. (eds) Computational Intelligence and Intelligent Systems. ISICA 2012. Communications in Computer and Information Science, vol 316. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-34289-9_6

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-34289-9_6

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-34288-2

  • Online ISBN: 978-3-642-34289-9

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics