Skip to main content

Dynamic Programming with Tabling

  • Chapter
  • First Online:
Constraint Solving and Planning with Picat

Part of the book series: SpringerBriefs in Intelligent Systems ((BRIEFSINSY))

  • 564 Accesses

Abstract

Tabling is a kind of memoization technique that caches the results of certain calculations in memory and reuses them in subsequent calculations through a quick table lookup. Tabling makes declarative dynamic programming possible. Users only need to describe how to break a problem into subproblems; they do not need to implement the data structures and algorithms for storing and looking up subproblems and their answers. This chapter describes the syntax and semantics of tabling in Picat, and demonstrates several dynamic programming examples.

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

Institutional subscriptions

Notes

  1. 1.

    A minimal model is the semantics given to programs that do not contain negation. There are several proposed definitions for the semantics of logic programs that contain negation. Since none of the examples presented in this book contains negation, the semantics of negation is not discussed in this book.

  2. 2.

    Taken with permission from http://people.cs.clemson.edu/~bcdean/dp_practice.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Neng-Fa Zhou .

Rights and permissions

Reprints and permissions

Copyright information

© 2015 The Author(s)

About this chapter

Cite this chapter

Zhou, NF., Kjellerstrand, H., Fruhman, J. (2015). Dynamic Programming with Tabling. In: Constraint Solving and Planning with Picat. SpringerBriefs in Intelligent Systems. Springer, Cham. https://doi.org/10.1007/978-3-319-25883-6_4

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-25883-6_4

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-25881-2

  • Online ISBN: 978-3-319-25883-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics