File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change 11/*
22 Copyright (c) Marshall Clow 2010-2012.
3-
3+ Copyright (c) Jeremy W. Murphy 2016.
4+
45 Distributed under the Boost Software License, Version 1.0. (See accompanying
56 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
67
78 For more information, see http://www.boost.org
89*/
910
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+ */
1018#include < boost/algorithm/searching/boyer_moore.hpp>
1119#include < boost/algorithm/searching/boyer_moore_horspool.hpp>
1220#include < boost/algorithm/searching/knuth_morris_pratt.hpp>
@@ -167,8 +175,5 @@ BOOST_AUTO_TEST_CASE( test_main )
167175 std::cout << " --- " << m << " ---" << std::endl;
168176 vec pat = ReadFromFile (dirent->path ().c_str ());
169177 check_one ( c1, pat, -1 );
170- }
171-
172- using boost::algorithm::musser_nishanov;
173- musser_nishanov<vec::const_iterator>(c1.begin (), c1.end ());
178+ }
174179}
You can’t perform that action at this time.
0 commit comments