File: structbm_1_1bv__statistics.html

package info (click to toggle)
bmagic 6.3.0-1
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 49,956 kB
  • sloc: cpp: 84,298; ansic: 9,703; sh: 1,664; makefile: 742
file content (460 lines) | stat: -rwxr-xr-x 31,787 bytes parent folder | download
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
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
<!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>BitMagic-C++: bm::bv_statistics Struct 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="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">BitMagic-C++
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<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&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','Search');
});
/* @license-end */</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacebm.html">bm</a></li><li class="navelem"><a class="el" href="structbm_1_1bv__statistics.html">bv_statistics</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">bm::bv_statistics Struct Reference<div class="ingroups"><a class="el" href="group__bmagic.html">BitMagic Library</a> &raquo; <a class="el" href="group__bvector.html">bvector&lt;&gt; container</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>Structure with statistical information about memory allocation footprint, serialization projection, number of vectors.  
 <a href="structbm_1_1bv__statistics.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="bmfunc_8h_source.html">bmfunc.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for bm::bv_statistics:</div>
<div class="dyncontent">
<div class="center"><img src="structbm_1_1bv__statistics__inherit__graph.png" border="0" usemap="#bm_1_1bv__statistics_inherit__map" alt="Inheritance graph"/></div>
<map name="bm_1_1bv__statistics_inherit__map" id="bm_1_1bv__statistics_inherit__map">
<area shape="rect" title="Structure with statistical information about memory allocation footprint, serialization projection,..." alt="" coords="5,111,125,138"/>
<area shape="rect" href="structbm_1_1bvector_1_1statistics.html" title="Statistical information about bitset&#39;s memory allocation details." alt="" coords="199,5,330,47"/>
<area shape="rect" href="structbm_1_1rsc__sparse__vector_1_1statistics.html" title=" " alt="" coords="188,71,341,112"/>
<area shape="rect" href="structbm_1_1sparse__vector_1_1statistics.html" title=" " alt="" coords="193,136,337,177"/>
<area shape="rect" href="structbm_1_1str__sparse__vector_1_1statistics.html" title=" " alt="" coords="173,202,356,258"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></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:ae350d1a1b069f4c1fbfa1d4516e6493a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbm_1_1bv__statistics.html#ae350d1a1b069f4c1fbfa1d4516e6493a">add_bit_block</a> () <a class="el" href="bmdef_8h.html#a40d7d3c011d2128b1f0c392127d7d61e">BMNOEXCEPT</a></td></tr>
<tr class="memdesc:ae350d1a1b069f4c1fbfa1d4516e6493a"><td class="mdescLeft">&#160;</td><td class="mdescRight">cound bit block  <a href="structbm_1_1bv__statistics.html#ae350d1a1b069f4c1fbfa1d4516e6493a">More...</a><br /></td></tr>
<tr class="separator:ae350d1a1b069f4c1fbfa1d4516e6493a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a94cd93ee1aca6e8307855678e3a90827"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbm_1_1bv__statistics.html#a94cd93ee1aca6e8307855678e3a90827">add_gap_block</a> (unsigned capacity, unsigned length) <a class="el" href="bmdef_8h.html#a40d7d3c011d2128b1f0c392127d7d61e">BMNOEXCEPT</a></td></tr>
<tr class="memdesc:a94cd93ee1aca6e8307855678e3a90827"><td class="mdescLeft">&#160;</td><td class="mdescRight">count gap block  <a href="structbm_1_1bv__statistics.html#a94cd93ee1aca6e8307855678e3a90827">More...</a><br /></td></tr>
<tr class="separator:a94cd93ee1aca6e8307855678e3a90827"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad6839fba618edbeeb0ba3252f0df892f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbm_1_1bv__statistics.html#ad6839fba618edbeeb0ba3252f0df892f">reset</a> () <a class="el" href="bmdef_8h.html#a40d7d3c011d2128b1f0c392127d7d61e">BMNOEXCEPT</a></td></tr>
<tr class="memdesc:ad6839fba618edbeeb0ba3252f0df892f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reset statisctics.  <a href="structbm_1_1bv__statistics.html#ad6839fba618edbeeb0ba3252f0df892f">More...</a><br /></td></tr>
<tr class="separator:ad6839fba618edbeeb0ba3252f0df892f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aec3cf562ff1da341b972f7cf4407a60d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbm_1_1bv__statistics.html#aec3cf562ff1da341b972f7cf4407a60d">add</a> (const <a class="el" href="structbm_1_1bv__statistics.html">bv_statistics</a> &amp;st) <a class="el" href="bmdef_8h.html#a40d7d3c011d2128b1f0c392127d7d61e">BMNOEXCEPT</a></td></tr>
<tr class="memdesc:aec3cf562ff1da341b972f7cf4407a60d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sum data from another sttructure.  <a href="structbm_1_1bv__statistics.html#aec3cf562ff1da341b972f7cf4407a60d">More...</a><br /></td></tr>
<tr class="separator:aec3cf562ff1da341b972f7cf4407a60d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:a7be7eba0cd58b422085b2c8c75c7e188"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbm_1_1bv__statistics.html#a7be7eba0cd58b422085b2c8c75c7e188">bit_blocks</a></td></tr>
<tr class="memdesc:a7be7eba0cd58b422085b2c8c75c7e188"><td class="mdescLeft">&#160;</td><td class="mdescRight">Number of bit blocks.  <a href="structbm_1_1bv__statistics.html#a7be7eba0cd58b422085b2c8c75c7e188">More...</a><br /></td></tr>
<tr class="separator:a7be7eba0cd58b422085b2c8c75c7e188"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a68582594950732906ddea7a99f8cd0b7"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbm_1_1bv__statistics.html#a68582594950732906ddea7a99f8cd0b7">gap_blocks</a></td></tr>
<tr class="memdesc:a68582594950732906ddea7a99f8cd0b7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Number of GAP blocks.  <a href="structbm_1_1bv__statistics.html#a68582594950732906ddea7a99f8cd0b7">More...</a><br /></td></tr>
<tr class="separator:a68582594950732906ddea7a99f8cd0b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1ee259f62a9623db8aaa127d9ab18da0"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbm_1_1bv__statistics.html#a1ee259f62a9623db8aaa127d9ab18da0">ptr_sub_blocks</a></td></tr>
<tr class="memdesc:a1ee259f62a9623db8aaa127d9ab18da0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Number of sub-blocks.  <a href="structbm_1_1bv__statistics.html#a1ee259f62a9623db8aaa127d9ab18da0">More...</a><br /></td></tr>
<tr class="separator:a1ee259f62a9623db8aaa127d9ab18da0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8c0fd41b15db3a4647012fcc2b5d74c2"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbm_1_1bv__statistics.html#a8c0fd41b15db3a4647012fcc2b5d74c2">bv_count</a></td></tr>
<tr class="memdesc:a8c0fd41b15db3a4647012fcc2b5d74c2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Number of bit-vectors.  <a href="structbm_1_1bv__statistics.html#a8c0fd41b15db3a4647012fcc2b5d74c2">More...</a><br /></td></tr>
<tr class="separator:a8c0fd41b15db3a4647012fcc2b5d74c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf1547fe85bf8562dde286488d567f35"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbm_1_1bv__statistics.html#acf1547fe85bf8562dde286488d567f35">max_serialize_mem</a></td></tr>
<tr class="memdesc:acf1547fe85bf8562dde286488d567f35"><td class="mdescLeft">&#160;</td><td class="mdescRight">estimated maximum memory for serialization  <a href="structbm_1_1bv__statistics.html#acf1547fe85bf8562dde286488d567f35">More...</a><br /></td></tr>
<tr class="separator:acf1547fe85bf8562dde286488d567f35"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb3cae5be872eed7fbe4191a8d710e42"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbm_1_1bv__statistics.html#aeb3cae5be872eed7fbe4191a8d710e42">memory_used</a></td></tr>
<tr class="memdesc:aeb3cae5be872eed7fbe4191a8d710e42"><td class="mdescLeft">&#160;</td><td class="mdescRight">memory usage for all blocks and service tables  <a href="structbm_1_1bv__statistics.html#aeb3cae5be872eed7fbe4191a8d710e42">More...</a><br /></td></tr>
<tr class="separator:aeb3cae5be872eed7fbe4191a8d710e42"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a082ddd9ebb4680b68d576c2f2e92a66b"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbm_1_1bv__statistics.html#a082ddd9ebb4680b68d576c2f2e92a66b">gap_cap_overhead</a></td></tr>
<tr class="memdesc:a082ddd9ebb4680b68d576c2f2e92a66b"><td class="mdescLeft">&#160;</td><td class="mdescRight">gap memory overhead between length and capacity  <a href="structbm_1_1bv__statistics.html#a082ddd9ebb4680b68d576c2f2e92a66b">More...</a><br /></td></tr>
<tr class="separator:a082ddd9ebb4680b68d576c2f2e92a66b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc08d9637cc25d02d3a50c061ba221e1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacebm.html#ac654d6319039a86546d235a236fc7cf6">gap_word_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbm_1_1bv__statistics.html#acc08d9637cc25d02d3a50c061ba221e1">gap_levels</a> [bm::gap_levels]</td></tr>
<tr class="memdesc:acc08d9637cc25d02d3a50c061ba221e1"><td class="mdescLeft">&#160;</td><td class="mdescRight">GAP block lengths in the bvect.  <a href="structbm_1_1bv__statistics.html#acc08d9637cc25d02d3a50c061ba221e1">More...</a><br /></td></tr>
<tr class="separator:acc08d9637cc25d02d3a50c061ba221e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a49d8dfb8dfd472081eedf66cb2863553"><td class="memItemLeft" align="right" valign="top">unsigned long long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbm_1_1bv__statistics.html#a49d8dfb8dfd472081eedf66cb2863553">gaps_by_level</a> [<a class="el" href="namespacebm.html#a773e9f5341919d58000bd54d50038733">bm::gap_levels</a>]</td></tr>
<tr class="memdesc:a49d8dfb8dfd472081eedf66cb2863553"><td class="mdescLeft">&#160;</td><td class="mdescRight">number of GAP blocks at each level  <a href="structbm_1_1bv__statistics.html#a49d8dfb8dfd472081eedf66cb2863553">More...</a><br /></td></tr>
<tr class="separator:a49d8dfb8dfd472081eedf66cb2863553"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Structure with statistical information about memory allocation footprint, serialization projection, number of vectors. </p>

<p class="definition">Definition at line <a class="el" href="bmfunc_8h_source.html#l00054">54</a> of file <a class="el" href="bmfunc_8h_source.html">bmfunc.h</a>.</p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="aec3cf562ff1da341b972f7cf4407a60d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aec3cf562ff1da341b972f7cf4407a60d">&#9670;&nbsp;</a></span>add()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void bm::bv_statistics::add </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structbm_1_1bv__statistics.html">bv_statistics</a> &amp;&#160;</td>
          <td class="paramname"><em>st</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Sum data from another sttructure. </p>

<p class="definition">Definition at line <a class="el" href="bmfunc_8h_source.html#l00105">105</a> of file <a class="el" href="bmfunc_8h_source.html">bmfunc.h</a>.</p>

<p class="reference">References <a class="el" href="bmfunc_8h_source.html#l00056">bit_blocks</a>, <a class="el" href="bmfunc_8h_source.html#l00059">bv_count</a>, <a class="el" href="bmfunc_8h_source.html#l00057">gap_blocks</a>, <a class="el" href="bmfunc_8h_source.html#l00062">gap_cap_overhead</a>, <a class="el" href="bmfunc_8h_source.html#l00060">max_serialize_mem</a>, <a class="el" href="bmfunc_8h_source.html#l00061">memory_used</a>, and <a class="el" href="bmfunc_8h_source.html#l00058">ptr_sub_blocks</a>.</p>

<p class="reference">Referenced by <a class="el" href="bmbmatrix_8h_source.html#l01375">bm::base_sparse_vector&lt; Val, BV, 1 &gt;::calc_stat()</a>, <a class="el" href="bmbmatrix_8h_source.html#l01082">bm::basic_bmatrix&lt; bm::bvector&lt;&gt; &gt;::optimize()</a>, <a class="el" href="bmbmatrix_8h_source.html#l01345">bm::base_sparse_vector&lt; Val, BV, 1 &gt;::optimize()</a>, <a class="el" href="bmstrsparsevec_8h_source.html#l01323">bm::str_sparse_vector&lt; CharType, BV, MAX_STR_SIZE &gt;::optimize()</a>, and <a class="el" href="bmsparsevec_8h_source.html#l01728">bm::sparse_vector&lt; unsigned, bm::bvector&lt;&gt; &gt;::optimize()</a>.</p>

</div>
</div>
<a id="ae350d1a1b069f4c1fbfa1d4516e6493a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae350d1a1b069f4c1fbfa1d4516e6493a">&#9670;&nbsp;</a></span>add_bit_block()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void bm::bv_statistics::add_bit_block </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>cound bit block </p>

<p class="definition">Definition at line <a class="el" href="bmfunc_8h_source.html#l00067">67</a> of file <a class="el" href="bmfunc_8h_source.html">bmfunc.h</a>.</p>

<p class="reference">References <a class="el" href="bmfunc_8h_source.html#l00056">bit_blocks</a>, <a class="el" href="bmfunc_8h_source.html#l00060">max_serialize_mem</a>, <a class="el" href="bmfunc_8h_source.html#l00061">memory_used</a>, and <a class="el" href="bmconst_8h_source.html#l00054">bm::set_block_size</a>.</p>

</div>
</div>
<a id="a94cd93ee1aca6e8307855678e3a90827"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a94cd93ee1aca6e8307855678e3a90827">&#9670;&nbsp;</a></span>add_gap_block()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void bm::bv_statistics::add_gap_block </td>
          <td>(</td>
          <td class="paramtype">unsigned&#160;</td>
          <td class="paramname"><em>capacity</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned&#160;</td>
          <td class="paramname"><em>length</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>count gap block </p>

<p class="definition">Definition at line <a class="el" href="bmfunc_8h_source.html#l00076">76</a> of file <a class="el" href="bmfunc_8h_source.html">bmfunc.h</a>.</p>

<p class="reference">References <a class="el" href="bmdef_8h_source.html#l00130">BM_ASSERT</a>, <a class="el" href="bmfunc_8h_source.html#l00057">gap_blocks</a>, <a class="el" href="bmfunc_8h_source.html#l00062">gap_cap_overhead</a>, <a class="el" href="bmfunc_8h_source.html#l00063">gap_levels</a>, <a class="el" href="bmconst_8h_source.html#l00084">bm::gap_levels</a>, <a class="el" href="bmfunc_8h_source.html#l00064">gaps_by_level</a>, <a class="el" href="bmfunc_8h_source.html#l00060">max_serialize_mem</a>, and <a class="el" href="bmfunc_8h_source.html#l00061">memory_used</a>.</p>

</div>
</div>
<a id="ad6839fba618edbeeb0ba3252f0df892f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad6839fba618edbeeb0ba3252f0df892f">&#9670;&nbsp;</a></span>reset()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void bm::bv_statistics::reset </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Reset statisctics. </p>

<p class="definition">Definition at line <a class="el" href="bmfunc_8h_source.html#l00096">96</a> of file <a class="el" href="bmfunc_8h_source.html">bmfunc.h</a>.</p>

<p class="reference">References <a class="el" href="bmfunc_8h_source.html#l00056">bit_blocks</a>, <a class="el" href="bmfunc_8h_source.html#l00059">bv_count</a>, <a class="el" href="bmfunc_8h_source.html#l00057">gap_blocks</a>, <a class="el" href="bmfunc_8h_source.html#l00062">gap_cap_overhead</a>, <a class="el" href="bmconst_8h_source.html#l00084">bm::gap_levels</a>, <a class="el" href="bmfunc_8h_source.html#l00064">gaps_by_level</a>, <a class="el" href="bmfunc_8h_source.html#l00060">max_serialize_mem</a>, <a class="el" href="bmfunc_8h_source.html#l00061">memory_used</a>, and <a class="el" href="bmfunc_8h_source.html#l00058">ptr_sub_blocks</a>.</p>

<p class="reference">Referenced by <a class="el" href="bmbmatrix_8h_source.html#l01082">bm::basic_bmatrix&lt; bm::bvector&lt;&gt; &gt;::optimize()</a>, and <a class="el" href="bmsparsevec_8h_source.html#l01728">bm::sparse_vector&lt; unsigned, bm::bvector&lt;&gt; &gt;::optimize()</a>.</p>

</div>
</div>
<h2 class="groupheader">Field Documentation</h2>
<a id="a7be7eba0cd58b422085b2c8c75c7e188"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7be7eba0cd58b422085b2c8c75c7e188">&#9670;&nbsp;</a></span>bit_blocks</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t bm::bv_statistics::bit_blocks</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Number of bit blocks. </p>
<dl class="section examples"><dt>Examples</dt><dd><a class="el" href="sample11_8cpp-example.html#a15">sample11.cpp</a>, <a class="el" href="sample3_8cpp-example.html#a8">sample3.cpp</a>, and <a class="el" href="sample4_8cpp-example.html#a8">sample4.cpp</a>.</dd>
</dl>

<p class="definition">Definition at line <a class="el" href="bmfunc_8h_source.html#l00056">56</a> of file <a class="el" href="bmfunc_8h_source.html">bmfunc.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="bmfunc_8h_source.html#l00105">add()</a>, <a class="el" href="bmfunc_8h_source.html#l00067">add_bit_block()</a>, <a class="el" href="bmstrsparsevec_8h_source.html#l01338">bm::str_sparse_vector&lt; CharType, BV, MAX_STR_SIZE &gt;::calc_stat()</a>, <a class="el" href="sample11_8cpp_source.html#l00057">generate_bvector()</a>, <a class="el" href="sample3_8cpp_source.html#l00059">print_statistics()</a>, <a class="el" href="bmfunc_8h_source.html#l00096">reset()</a>, and <a class="el" href="sample4_8cpp_source.html#l00076">serialize_bvector()</a>.</p>

</div>
</div>
<a id="a8c0fd41b15db3a4647012fcc2b5d74c2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8c0fd41b15db3a4647012fcc2b5d74c2">&#9670;&nbsp;</a></span>bv_count</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t bm::bv_statistics::bv_count</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Number of bit-vectors. </p>

<p class="definition">Definition at line <a class="el" href="bmfunc_8h_source.html#l00059">59</a> of file <a class="el" href="bmfunc_8h_source.html">bmfunc.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="bmfunc_8h_source.html#l00105">add()</a>, <a class="el" href="bmstrsparsevec_8h_source.html#l01338">bm::str_sparse_vector&lt; CharType, BV, MAX_STR_SIZE &gt;::calc_stat()</a>, and <a class="el" href="bmfunc_8h_source.html#l00096">reset()</a>.</p>

</div>
</div>
<a id="a68582594950732906ddea7a99f8cd0b7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a68582594950732906ddea7a99f8cd0b7">&#9670;&nbsp;</a></span>gap_blocks</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t bm::bv_statistics::gap_blocks</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Number of GAP blocks. </p>
<dl class="section examples"><dt>Examples</dt><dd><a class="el" href="sample11_8cpp-example.html#a14">sample11.cpp</a>, <a class="el" href="sample3_8cpp-example.html#a9">sample3.cpp</a>, and <a class="el" href="sample4_8cpp-example.html#a9">sample4.cpp</a>.</dd>
</dl>

<p class="definition">Definition at line <a class="el" href="bmfunc_8h_source.html#l00057">57</a> of file <a class="el" href="bmfunc_8h_source.html">bmfunc.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="bmfunc_8h_source.html#l00105">add()</a>, <a class="el" href="bmfunc_8h_source.html#l00076">add_gap_block()</a>, <a class="el" href="bmstrsparsevec_8h_source.html#l01338">bm::str_sparse_vector&lt; CharType, BV, MAX_STR_SIZE &gt;::calc_stat()</a>, <a class="el" href="sample11_8cpp_source.html#l00057">generate_bvector()</a>, <a class="el" href="sample3_8cpp_source.html#l00059">print_statistics()</a>, <a class="el" href="bmfunc_8h_source.html#l00096">reset()</a>, and <a class="el" href="sample4_8cpp_source.html#l00076">serialize_bvector()</a>.</p>

</div>
</div>
<a id="a082ddd9ebb4680b68d576c2f2e92a66b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a082ddd9ebb4680b68d576c2f2e92a66b">&#9670;&nbsp;</a></span>gap_cap_overhead</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t bm::bv_statistics::gap_cap_overhead</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>gap memory overhead between length and capacity </p>

<p class="definition">Definition at line <a class="el" href="bmfunc_8h_source.html#l00062">62</a> of file <a class="el" href="bmfunc_8h_source.html">bmfunc.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="bmfunc_8h_source.html#l00105">add()</a>, <a class="el" href="bmfunc_8h_source.html#l00076">add_gap_block()</a>, <a class="el" href="bmstrsparsevec_8h_source.html#l01338">bm::str_sparse_vector&lt; CharType, BV, MAX_STR_SIZE &gt;::calc_stat()</a>, and <a class="el" href="bmfunc_8h_source.html#l00096">reset()</a>.</p>

</div>
</div>
<a id="acc08d9637cc25d02d3a50c061ba221e1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acc08d9637cc25d02d3a50c061ba221e1">&#9670;&nbsp;</a></span>gap_levels</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacebm.html#ac654d6319039a86546d235a236fc7cf6">gap_word_t</a> bm::bv_statistics::gap_levels[bm::gap_levels]</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>GAP block lengths in the bvect. </p>

<p class="definition">Definition at line <a class="el" href="bmfunc_8h_source.html#l00063">63</a> of file <a class="el" href="bmfunc_8h_source.html">bmfunc.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="bmfunc_8h_source.html#l00076">add_gap_block()</a>.</p>

</div>
</div>
<a id="a49d8dfb8dfd472081eedf66cb2863553"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a49d8dfb8dfd472081eedf66cb2863553">&#9670;&nbsp;</a></span>gaps_by_level</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned long long bm::bv_statistics::gaps_by_level[<a class="el" href="namespacebm.html#a773e9f5341919d58000bd54d50038733">bm::gap_levels</a>]</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>number of GAP blocks at each level </p>

<p class="definition">Definition at line <a class="el" href="bmfunc_8h_source.html#l00064">64</a> of file <a class="el" href="bmfunc_8h_source.html">bmfunc.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="bmfunc_8h_source.html#l00076">add_gap_block()</a>, and <a class="el" href="bmfunc_8h_source.html#l00096">reset()</a>.</p>

</div>
</div>
<a id="acf1547fe85bf8562dde286488d567f35"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acf1547fe85bf8562dde286488d567f35">&#9670;&nbsp;</a></span>max_serialize_mem</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t bm::bv_statistics::max_serialize_mem</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>estimated maximum memory for serialization </p>
<dl class="section examples"><dt>Examples</dt><dd><a class="el" href="sample3_8cpp-example.html#a11">sample3.cpp</a>, <a class="el" href="sample4_8cpp-example.html#a11">sample4.cpp</a>, and <a class="el" href="xsample01_8cpp-example.html#a53">xsample01.cpp</a>.</dd>
</dl>

<p class="definition">Definition at line <a class="el" href="bmfunc_8h_source.html#l00060">60</a> of file <a class="el" href="bmfunc_8h_source.html">bmfunc.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="bmfunc_8h_source.html#l00105">add()</a>, <a class="el" href="bmfunc_8h_source.html#l00067">add_bit_block()</a>, <a class="el" href="bmfunc_8h_source.html#l00076">add_gap_block()</a>, <a class="el" href="bmstrsparsevec_8h_source.html#l01338">bm::str_sparse_vector&lt; CharType, BV, MAX_STR_SIZE &gt;::calc_stat()</a>, <a class="el" href="xsample01_8cpp_source.html#l00303">convert_bv2bvs()</a>, <a class="el" href="sample3_8cpp_source.html#l00059">print_statistics()</a>, <a class="el" href="bmfunc_8h_source.html#l00096">reset()</a>, <a class="el" href="bmserial_8h_source.html#l01903">bm::serializer&lt; bvector_type &gt;::serialize()</a>, and <a class="el" href="sample4_8cpp_source.html#l00076">serialize_bvector()</a>.</p>

</div>
</div>
<a id="aeb3cae5be872eed7fbe4191a8d710e42"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeb3cae5be872eed7fbe4191a8d710e42">&#9670;&nbsp;</a></span>memory_used</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t bm::bv_statistics::memory_used</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>memory usage for all blocks and service tables </p>
<dl class="section examples"><dt>Examples</dt><dd><a class="el" href="sample3_8cpp-example.html#a10">sample3.cpp</a>, <a class="el" href="sample4_8cpp-example.html#a10">sample4.cpp</a>, <a class="el" href="strsvsample03_8cpp-example.html#a11">strsvsample03.cpp</a>, <a class="el" href="strsvsample05_8cpp-example.html#a11">strsvsample05.cpp</a>, and <a class="el" href="xsample01_8cpp-example.html#a47">xsample01.cpp</a>.</dd>
</dl>

<p class="definition">Definition at line <a class="el" href="bmfunc_8h_source.html#l00061">61</a> of file <a class="el" href="bmfunc_8h_source.html">bmfunc.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="bmfunc_8h_source.html#l00105">add()</a>, <a class="el" href="bmfunc_8h_source.html#l00067">add_bit_block()</a>, <a class="el" href="bmfunc_8h_source.html#l00076">add_gap_block()</a>, <a class="el" href="xsample01_8cpp_source.html#l00281">calc_memory_footprint()</a>, <a class="el" href="bmstrsparsevec_8h_source.html#l01338">bm::str_sparse_vector&lt; CharType, BV, MAX_STR_SIZE &gt;::calc_stat()</a>, <a class="el" href="strsvsample03_8cpp_source.html#l00082">main()</a>, <a class="el" href="sample3_8cpp_source.html#l00059">print_statistics()</a>, <a class="el" href="bmfunc_8h_source.html#l00096">reset()</a>, and <a class="el" href="sample4_8cpp_source.html#l00076">serialize_bvector()</a>.</p>

</div>
</div>
<a id="a1ee259f62a9623db8aaa127d9ab18da0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1ee259f62a9623db8aaa127d9ab18da0">&#9670;&nbsp;</a></span>ptr_sub_blocks</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t bm::bv_statistics::ptr_sub_blocks</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Number of sub-blocks. </p>

<p class="definition">Definition at line <a class="el" href="bmfunc_8h_source.html#l00058">58</a> of file <a class="el" href="bmfunc_8h_source.html">bmfunc.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="bmfunc_8h_source.html#l00105">add()</a>, <a class="el" href="bmstrsparsevec_8h_source.html#l01338">bm::str_sparse_vector&lt; CharType, BV, MAX_STR_SIZE &gt;::calc_stat()</a>, and <a class="el" href="bmfunc_8h_source.html#l00096">reset()</a>.</p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="bmfunc_8h_source.html">bmfunc.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>