The Art of Computer Programming, Volume 4, Fascicle 7: Constraint Satisfaction
暫譯: 計算機程式設計的藝術,第4卷,第7部分:約束滿足問題

Knuth, Donald

  • 出版商: Addison Wesley
  • 出版日期: 2025-02-15
  • 售價: $1,500
  • 貴賓價: 9.5$1,425
  • 語言: 英文
  • 頁數: 304
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 0135328241
  • ISBN-13: 9780135328248
  • 相關分類: R 語言
  • 海外代購書籍(需單獨結帳)

商品描述

The Art of Computer Programming is a multivolume work on the analysis of algorithms and has long been recognized as the definitive description of classical computer science. The five volumes published to date--Volumes 1, 2, 3, 4A, and 4B--already comprise a unique and invaluable resource in programming theory and practice. Countless readers have spoken about the profound personal influence of Knuth's writings. Scientists have marveled at the beauty and elegance of his analysis, while practicing programmers have successfully applied his "cookbook" solutions to their day-to-day problems. All have admired Knuth for the breadth, clarity, accuracy, and good humor found in his books.

To continue the set, and to update parts of the existing volumes, Knuth has created a series of small books called fascicles, which are published at regular intervals. Each fascicle encompasses a section or more of wholly new or revised material. Ultimately, the content of these fascicles will be rolled up into the comprehensive, final versions of each volume, and the enormous undertaking that began in 1962 will be complete.

Volume 4, Fascicle 7, which is brimming with lively examples, forms the first third of what will eventually become hardcover Volume 4C. It introduces and explores an important general framework for modeling and solving combinatorial problems, called the Constraint Satisfaction Problem (CSP). The concluding sections of Volume 4B contain expositions of two analogous frameworks, namely XCC ("exact covering with colors") and SAT ("Boolean satisfiability"); the XCC solvers and SAT solvers are now joined by CSP solvers, completing a powerful trio of techniques. Each member of the trio has its own strengths, while separately helping to understand the other two.

This fascicle illuminates how the CSP framework is tied to dozens of other parts of computer science: Scene analysis (computer vision); efficient algorithms that embed one graph in another; fascinating instances of "graceful graphs"; new ways to look ahead when backtracking; new heuristics to guide a search that backtracks through a massive space of possibilities; situations when backtracking isn't necessary.

New sparse-set data structures are introduced, leading to a technique called "dancing cells"--which often is even better than "dancing links"! Recreational topics appear throughout, including some new takes on the classic problem of a knight's tour, as well as modern puzzles such as fillomino.

Nearly 500 exercises are provided, arranged carefully for self-instruction, together with detailed answers (in fact, sometimes also with answers to the answers). All the while, the author pays significant attention to the history of the subject and its human dimensions.

商品描述(中文翻譯)

《計算機程式設計的藝術》是一部多卷本的著作,專注於算法分析,長期以來被認為是經典計算機科學的權威描述。迄今為止已出版的五卷——第1卷、第2卷、第3卷、第4A卷和第4B卷——已經構成了編程理論和實踐中獨特且無價的資源。無數讀者談到克努斯(Knuth)著作對他們的深遠個人影響。科學家們驚嘆於他分析的美麗和優雅,而實踐中的程序員則成功地將他的“食譜”解決方案應用於日常問題。所有人都讚賞克努斯的著作在廣度、清晰度、準確性和幽默感方面的卓越表現。

為了繼續這套書籍並更新現有卷的部分內容,克努斯創建了一系列稱為小冊子的書籍,這些小冊子會定期出版。每本小冊子涵蓋一個或多個全新或修訂的材料部分。最終,這些小冊子的內容將匯總成每卷的綜合最終版本,這項自1962年開始的龐大工程將會完成。

《第4卷,第7冊》充滿了生動的例子,構成了最終將成為精裝版第4C卷的三分之一。它介紹並探討了一個重要的通用框架,用於建模和解決組合問題,稱為約束滿足問題(Constraint Satisfaction Problem, CSP)。第4B卷的結尾部分包含了兩個類似框架的闡述,即XCC(“精確著色覆蓋”)和SAT(“布爾可滿足性”);現在,XCC求解器和SAT求解器已經加入了CSP求解器,形成了一個強大的三重技術組合。這三者各有其優勢,同時也有助於理解其他兩者。

這本小冊子闡明了CSP框架如何與計算機科學的其他數十個部分相關聯:場景分析(計算機視覺);嵌入一個圖形到另一個圖形中的高效算法;迷人的“優雅圖形”實例;在回溯時的新前瞻性觀點;指導在龐大可能性空間中回溯搜索的新啟發式方法;以及不需要回溯的情況。

介紹了新的稀疏集合數據結構,導致了一種稱為“舞動單元”(dancing cells)的技術——這通常甚至比“舞動鏈接”(dancing links)更好!休閒主題貫穿始終,包括對騎士巡遊這一經典問題的新詮釋,以及現代謎題如填字遊戲(fillomino)。

提供了近500道練習題,精心安排以便自學,並附有詳細答案(事實上,有時還包括對答案的解釋)。同時,作者對該主題的歷史及其人文維度給予了重要關注。

作者簡介

Donald E. Knuth is known throughout the world for his pioneering work on algorithms and programming techniques, for his invention of the TeX and METAFONT systems for computer typesetting, and for his prolific and influential writing (26 books, 161 papers). Professor Emeritus of The Art of Computer Programming at Stanford University, he currently devotes full time to the completion of his seminal multivolume series on classical computer science, begun in 1962 when he was a graduate student at California Institute of Technology. Professor Knuth is the recipient of numerous awards and honors, including the ACM Turing Award, the Medal of Science presented by President Carter, the AMS Steele Prize for expository writing, and, in November, 1996, the prestigious Kyoto Prize for advanced technology. He lives on the Stanford campus with his wife, Jill.

作者簡介(中文翻譯)

唐納德·克努斯(Donald E. Knuth)因其在演算法和程式設計技術方面的開創性工作而聞名於世,還因其發明的 TeX 和 METAFONT 系統用於電腦排版,以及他多產且具影響力的著作(26 本書,161 篇論文)。他是史丹佛大學計算機程式設計藝術的名譽教授,目前全心投入於他自1962年在加州理工學院攻讀研究生時開始的經典計算機科學多卷系列的完成。克努斯教授獲得了眾多獎項和榮譽,包括 ACM 圖靈獎、卡特總統頒發的科學獎章、AMS 斯蒂爾獎(Steele Prize)以表彰其解說性寫作,以及在1996年11月獲得的著名京都獎(Kyoto Prize)以表彰其在先進技術方面的貢獻。他與妻子吉爾(Jill)住在史丹佛校園內。