| Bird - Pearls of Functional Algorithm Design (Computer Science) - 2010.pdf | 1.4 MB |

Книги и журналы » Компьютерная литература » Программирование (книги)
Pearls of Functional Algorithm Design / Жемчужины Функционального Дизайна Алгоритмов
Год: 2010
Автор: Richard Bird / Ричард Бёрд
Жанр: computer science
Издательство: Cambridge University Press
ISBN: 0521513383
Язык: Английский
Формат: PDF
Качество: Изначально компьютерное (eBook)
Количество страниц: 290
Описание: Richard Bird takes a radically new approach to algorithm design, namely, design by calculation. These 30 short chapters each deal with a particular programming problem drawn from sources as diverse as games and puzzles, intriguing combinatorial tasks, and more familiar areas such as data compression and string matching. Each pearl starts with the statement of the problem expressed using the functional programming language Haskell, a powerful yet succinct language for capturing algorithmic ideas clearly and simply. The novel aspect of the book is that each solution is calculated from an initial formulation of the problem in Haskell by appealing to the laws of functional programming. Pearls of Functional Algorithm Design will appeal to the aspiring functional programmer, students and teachers interested in the principles of algorithm design, and anyone seeking to master the techniques of reasoning about programs in an equational style.
[spoiler="Примеры страниц"]
![]()
[/spoiler]
[spoiler="Оглавление"]
1 The smallest free number 1
2 A surpassing problem 7
3 Improving on saddleback search 12
4 A selection problem 21
5 Sorting pairwise sums 27
6 Making a century 33
7 Building a tree with minimum height 41
8 Unravelling greedy algorithms 50
9 Finding celebrities 56
10 Removing duplicates 64
11 Not the maximum segment sum 73
12 Ranking suffixes 79
13 The Burrows–Wheeler transform 91
14 The last tail 102
15 All the common prefixes 112
16 The Boyer–Moore algorithm 117
17 The Knuth–Morris–Pratt algorithm 127
18 Planning solves the Rush Hour problem 136
19 A simple Sudoku solver 147
20 The Countdown problem 156
21 Hylomorphisms and nexuses 168
22 Three ways of computing determinants 180
23 Inside the convex hull 188
24 Rational arithmetic coding 198
25 Integer arithmetic coding 208
26 The Schorr–Waite algorithm 221
27 Orderly insertion 231
28 Loopless functional algorithms 242
29 The Johnson–Trotter algorithm 251
30 Spider spinning for dummies 258
Index 275
[/spoiler]
| torrent name | size | uploader | age | seed | leech |
|---|---|---|---|---|---|
| 183.02 MB | nightowlpete1 | 3 months | 1 | 1 | |
| 56.48 MB | dittle68 | 1 year | 5 | 1 | |
|
Reedman R. Lapwings, Loons and Lousy Jacks. The How and Why of Bird Names 2016 Posted by
andryold1 in Books
> Non-Fiction
|
66.41 MB | andryold1 | 3 years | 8 | 0 |
| 56.51 MB | dittle68 | 5 years | 1 | 1 | |
| 2.16 MB | andryold1 | 6 years | 0 | 1 |
All Comments