-
Notifications
You must be signed in to change notification settings - Fork 5
/
classbtllib_1_1SeedRollingHash.html
168 lines (166 loc) · 14.7 KB
/
classbtllib_1_1SeedRollingHash.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>btllib: btllib::SeedRollingHash Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">btllib
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><b>btllib</b></li><li class="navelem"><a class="el" href="classbtllib_1_1SeedRollingHash.html">SeedRollingHash</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="classbtllib_1_1SeedRollingHash-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">btllib::SeedRollingHash Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for btllib::SeedRollingHash:</div>
<div class="dyncontent">
<div class="center">
<img src="classbtllib_1_1SeedRollingHash.png" usemap="#btllib::SeedRollingHash_map" alt=""/>
<map id="btllib::SeedRollingHash_map" name="btllib::SeedRollingHash_map">
<area href="classbtllib_1_1RollingHash.html" alt="btllib::RollingHash" shape="rect" coords="0,0,140,24"/>
</map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a1deecdc31f6ca3ea59b84629ab52a835"><td class="memItemLeft" align="right" valign="top"><a id="a1deecdc31f6ca3ea59b84629ab52a835"></a>
 </td><td class="memItemRight" valign="bottom"><b>SeedRollingHash</b> (const char *seq, size_t seq_len, unsigned k, const std::vector< SpacedSeed > &seeds, unsigned hash_num_per_seed)</td></tr>
<tr class="separator:a1deecdc31f6ca3ea59b84629ab52a835"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af7883885be50b879ad0bf83e5c9863bb"><td class="memItemLeft" align="right" valign="top"><a id="af7883885be50b879ad0bf83e5c9863bb"></a>
 </td><td class="memItemRight" valign="bottom"><b>SeedRollingHash</b> (const std::string &seq, unsigned k, const std::vector< SpacedSeed > &seeds, unsigned hash_num_per_seed)</td></tr>
<tr class="separator:af7883885be50b879ad0bf83e5c9863bb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab8d6249a4daac772d26aed38449813cf"><td class="memItemLeft" align="right" valign="top"><a id="ab8d6249a4daac772d26aed38449813cf"></a>
 </td><td class="memItemRight" valign="bottom"><b>SeedRollingHash</b> (const char *seq, size_t seq_len, unsigned k, const std::vector< std::string > &seeds, unsigned hash_num_per_seed)</td></tr>
<tr class="separator:ab8d6249a4daac772d26aed38449813cf"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae8a0bdbd5c69403e18000f34c757026d"><td class="memItemLeft" align="right" valign="top"><a id="ae8a0bdbd5c69403e18000f34c757026d"></a>
 </td><td class="memItemRight" valign="bottom"><b>SeedRollingHash</b> (const std::string &seq, unsigned k, const std::vector< std::string > &seeds, unsigned hash_num_per_seed)</td></tr>
<tr class="separator:ae8a0bdbd5c69403e18000f34c757026d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a69b616a580225b8c769a265021ecc629"><td class="memItemLeft" align="right" valign="top"><a id="a69b616a580225b8c769a265021ecc629"></a>
unsigned </td><td class="memItemRight" valign="bottom"><b>get_hash_num_per_seed</b> () const</td></tr>
<tr class="separator:a69b616a580225b8c769a265021ecc629"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4a0d033c2b3fff9db9fb1b7df5eea141"><td class="memItemLeft" align="right" valign="top"><a id="a4a0d033c2b3fff9db9fb1b7df5eea141"></a>
bool </td><td class="memItemRight" valign="bottom"><b>roll</b> ()</td></tr>
<tr class="separator:a4a0d033c2b3fff9db9fb1b7df5eea141"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classbtllib_1_1RollingHash"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classbtllib_1_1RollingHash')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classbtllib_1_1RollingHash.html">btllib::RollingHash</a></td></tr>
<tr class="memitem:a36e863f7d63bd1f1f4abbba0bc444ed9 inherit pub_methods_classbtllib_1_1RollingHash"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbtllib_1_1RollingHash.html#a36e863f7d63bd1f1f4abbba0bc444ed9">RollingHash</a> (const char *seq, size_t seq_len, unsigned k, unsigned hash_num)</td></tr>
<tr class="separator:a36e863f7d63bd1f1f4abbba0bc444ed9 inherit pub_methods_classbtllib_1_1RollingHash"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a353201439e0ad2d5756c10446f5d9d1c inherit pub_methods_classbtllib_1_1RollingHash"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbtllib_1_1RollingHash.html#a353201439e0ad2d5756c10446f5d9d1c">RollingHash</a> (const std::string &seq, unsigned k, unsigned hash_num)</td></tr>
<tr class="separator:a353201439e0ad2d5756c10446f5d9d1c inherit pub_methods_classbtllib_1_1RollingHash"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a49fd5e2e569084058d9548e851ed3b41 inherit pub_methods_classbtllib_1_1RollingHash"><td class="memItemLeft" align="right" valign="top"><a id="a49fd5e2e569084058d9548e851ed3b41"></a>
bool </td><td class="memItemRight" valign="bottom"><b>roll</b> ()</td></tr>
<tr class="separator:a49fd5e2e569084058d9548e851ed3b41 inherit pub_methods_classbtllib_1_1RollingHash"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a295b97e0f3d8cc400dce140a98dda053 inherit pub_methods_classbtllib_1_1RollingHash"><td class="memItemLeft" align="right" valign="top"><a id="a295b97e0f3d8cc400dce140a98dda053"></a>
const uint64_t * </td><td class="memItemRight" valign="bottom"><b>hashes</b> () const</td></tr>
<tr class="separator:a295b97e0f3d8cc400dce140a98dda053 inherit pub_methods_classbtllib_1_1RollingHash"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5ef8b9f0a9a07c23acad18bab7fa881a inherit pub_methods_classbtllib_1_1RollingHash"><td class="memItemLeft" align="right" valign="top"><a id="a5ef8b9f0a9a07c23acad18bab7fa881a"></a>
size_t </td><td class="memItemRight" valign="bottom"><b>get_pos</b> () const</td></tr>
<tr class="separator:a5ef8b9f0a9a07c23acad18bab7fa881a inherit pub_methods_classbtllib_1_1RollingHash"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:acb65ffa3813214c9f2edad2c6db8d037 inherit pub_methods_classbtllib_1_1RollingHash"><td class="memItemLeft" align="right" valign="top"><a id="acb65ffa3813214c9f2edad2c6db8d037"></a>
unsigned </td><td class="memItemRight" valign="bottom"><b>get_k</b> () const</td></tr>
<tr class="separator:acb65ffa3813214c9f2edad2c6db8d037 inherit pub_methods_classbtllib_1_1RollingHash"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af896887e64fc1f2d13f811b29fca2823 inherit pub_methods_classbtllib_1_1RollingHash"><td class="memItemLeft" align="right" valign="top"><a id="af896887e64fc1f2d13f811b29fca2823"></a>
unsigned </td><td class="memItemRight" valign="bottom"><b>get_hash_num</b> () const</td></tr>
<tr class="separator:af896887e64fc1f2d13f811b29fca2823 inherit pub_methods_classbtllib_1_1RollingHash"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_methods_classbtllib_1_1RollingHash"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classbtllib_1_1RollingHash')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classbtllib_1_1RollingHash.html">btllib::RollingHash</a></td></tr>
<tr class="memitem:a17f81625791b89011d40ab591cdf2ea7 inherit pro_methods_classbtllib_1_1RollingHash"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classbtllib_1_1RollingHash.html#a17f81625791b89011d40ab591cdf2ea7">init</a> ()</td></tr>
<tr class="separator:a17f81625791b89011d40ab591cdf2ea7 inherit pro_methods_classbtllib_1_1RollingHash"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pro_attribs_classbtllib_1_1RollingHash"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classbtllib_1_1RollingHash')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="classbtllib_1_1RollingHash.html">btllib::RollingHash</a></td></tr>
<tr class="memitem:a10237026164968818a44421d0587c62d inherit pro_attribs_classbtllib_1_1RollingHash"><td class="memItemLeft" align="right" valign="top"><a id="a10237026164968818a44421d0587c62d"></a>
const char * </td><td class="memItemRight" valign="bottom"><b>seq</b></td></tr>
<tr class="separator:a10237026164968818a44421d0587c62d inherit pro_attribs_classbtllib_1_1RollingHash"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a447e1ae4399619b04fa7842aa8dabd5e inherit pro_attribs_classbtllib_1_1RollingHash"><td class="memItemLeft" align="right" valign="top"><a id="a447e1ae4399619b04fa7842aa8dabd5e"></a>
const size_t </td><td class="memItemRight" valign="bottom"><b>seq_len</b></td></tr>
<tr class="separator:a447e1ae4399619b04fa7842aa8dabd5e inherit pro_attribs_classbtllib_1_1RollingHash"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a57abdbe8388cdaf789d947d627f29935 inherit pro_attribs_classbtllib_1_1RollingHash"><td class="memItemLeft" align="right" valign="top"><a id="a57abdbe8388cdaf789d947d627f29935"></a>
const unsigned </td><td class="memItemRight" valign="bottom"><b>k</b></td></tr>
<tr class="separator:a57abdbe8388cdaf789d947d627f29935 inherit pro_attribs_classbtllib_1_1RollingHash"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a70115d2d7225eff7c81d2f516018f4df inherit pro_attribs_classbtllib_1_1RollingHash"><td class="memItemLeft" align="right" valign="top"><a id="a70115d2d7225eff7c81d2f516018f4df"></a>
const unsigned </td><td class="memItemRight" valign="bottom"><b>hash_num</b></td></tr>
<tr class="separator:a70115d2d7225eff7c81d2f516018f4df inherit pro_attribs_classbtllib_1_1RollingHash"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7a19ef6884a18b329a79a3914dbc77f4 inherit pro_attribs_classbtllib_1_1RollingHash"><td class="memItemLeft" align="right" valign="top"><a id="a7a19ef6884a18b329a79a3914dbc77f4"></a>
size_t </td><td class="memItemRight" valign="bottom"><b>pos</b> = 0</td></tr>
<tr class="separator:a7a19ef6884a18b329a79a3914dbc77f4 inherit pro_attribs_classbtllib_1_1RollingHash"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af94af882e4579b9585a2b6ae9e62e334 inherit pro_attribs_classbtllib_1_1RollingHash"><td class="memItemLeft" align="right" valign="top"><a id="af94af882e4579b9585a2b6ae9e62e334"></a>
std::vector< uint64_t > </td><td class="memItemRight" valign="bottom"><b>hashes_vector</b></td></tr>
<tr class="separator:af94af882e4579b9585a2b6ae9e62e334 inherit pro_attribs_classbtllib_1_1RollingHash"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3c92444f40afb8a2f30f80edfc71084d inherit pro_attribs_classbtllib_1_1RollingHash"><td class="memItemLeft" align="right" valign="top"><a id="a3c92444f40afb8a2f30f80edfc71084d"></a>
uint64_t </td><td class="memItemRight" valign="bottom"><b>forward_hash</b> = 0</td></tr>
<tr class="separator:a3c92444f40afb8a2f30f80edfc71084d inherit pro_attribs_classbtllib_1_1RollingHash"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afad5cf99da83ff0fc52c65da446e5024 inherit pro_attribs_classbtllib_1_1RollingHash"><td class="memItemLeft" align="right" valign="top"><a id="afad5cf99da83ff0fc52c65da446e5024"></a>
uint64_t </td><td class="memItemRight" valign="bottom"><b>reverse_hash</b> = 0</td></tr>
<tr class="separator:afad5cf99da83ff0fc52c65da446e5024 inherit pro_attribs_classbtllib_1_1RollingHash"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>include/btllib/<a class="el" href="rolling__hash_8hpp_source.html">rolling_hash.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>