File tree 1 file changed +10
-5
lines changed
1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
2
Copyright (c) Marshall Clow 2010-2012.
3
-
3
+ Copyright (c) Jeremy W. Murphy 2016.
4
+
4
5
Distributed under the Boost Software License, Version 1.0. (See accompanying
5
6
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6
7
7
8
For more information, see http://www.boost.org
8
9
*/
9
10
11
+ /* *
12
+ * Search test 5 benchmarks how long it takes each algorithm to
13
+ * 1) initialize, and
14
+ * 2) find all occurences of a pattern in the corpus.
15
+ *
16
+ * The corpus (and thus patterns) are DNA sequences.
17
+ */
10
18
#include < boost/algorithm/searching/boyer_moore.hpp>
11
19
#include < boost/algorithm/searching/boyer_moore_horspool.hpp>
12
20
#include < boost/algorithm/searching/knuth_morris_pratt.hpp>
@@ -167,8 +175,5 @@ BOOST_AUTO_TEST_CASE( test_main )
167
175
std::cout << " --- " << m << " ---" << std::endl;
168
176
vec pat = ReadFromFile (dirent->path ().c_str ());
169
177
check_one ( c1, pat, -1 );
170
- }
171
-
172
- using boost::algorithm::musser_nishanov;
173
- musser_nishanov<vec::const_iterator>(c1.begin (), c1.end ());
178
+ }
174
179
}
You can’t perform that action at this time.
0 commit comments