1[library The Boost Algorithm Library
2    [quickbook 1.5]
3    [id algorithm]
4    [dirname algorithm]
5    [purpose Library of useful algorithms]
6    [category algorithms]
7    [authors [Clow, Marshall]]
8    [copyright 2010-2012 Marshall Clow]
9    [source-mode c++]
10    [license
11		Distributed under the Boost Software License, Version 1.0.
12		(See accompanying file LICENSE_1_0.txt or copy at
13		[@http://www.boost.org/LICENSE_1_0.txt])
14    ]
15]
16
17[section Description and Rationale]
18
19Boost.Algorithm is a collection of general purpose algorithms. While Boost contains many libraries of data structures, there is no single library for general purpose algorithms. Even though the algorithms are generally useful, many tend to be thought of as "too small" for Boost.
20
21An implementation of Boyer-Moore searching, for example, might take a developer a week or so to implement, including test cases and documentation. However, scheduling a review to include that code into Boost might take several months, and run into resistance because "it is too small". Nevertheless, a library of tested, reviewed, documented algorithms can make the developer's life much easier, and that is the purpose of this library.
22
23[heading Future plans]
24
25I will be soliciting submissions from other developers, as well as looking through the literature for existing algorithms to include. The Adobe Source Library, for example, contains many useful algorithms that already have documentation and test cases. Knuth's _The Art of Computer Programming_ is chock-full of algorithm descriptions, too.
26
27My goal is to run regular algorithm reviews, similar to the Boost library review process, but with smaller chunks of code.
28
29[heading Dependencies]
30
31Boost.Algorithm uses Boost.Range, Boost.Assert, Boost.Array, Boost.TypeTraits, and Boost.StaticAssert.
32
33
34[heading Acknowledgements]
35
36Thanks to all the people who have reviewed this library and made suggestions for improvements. Steven Watanabe and Sean Parent, in particular, have provided a great deal of help.
37
38[endsect]
39
40[/ include toc.qbk]
41
42
43[section:Searching Searching Algorithms]
44[include boyer_moore.qbk]
45[include boyer_moore_horspool.qbk]
46[include knuth_morris_pratt.qbk]
47[endsect]
48
49[section:CXX11 C++11 Algorithms]
50[include all_of.qbk]
51[include any_of.qbk]
52[include none_of.qbk]
53[include one_of.qbk]
54[include ordered-hpp.qbk]
55[include is_partitioned.qbk]
56[include is_permutation.qbk]
57[include partition_point.qbk]
58[endsect]
59
60[section:CXX14 C++14 Algorithms]
61[include equal.qbk]
62[include mismatch.qbk]
63[endsect]
64
65[section:Misc Other Algorithms]
66[include clamp-hpp.qbk]
67[include gather.qbk]
68[include hex.qbk]
69[endsect]
70
71
72
73[xinclude autodoc.xml]
74
75
76