~ubuntu-branches/ubuntu/jaunty/bmagic/jaunty

« back to all changes in this revision

Viewing changes to html/a00065.html

  • Committer: Bazaar Package Importer
  • Author(s): Andres Salomon
  • Date: 2008-01-05 23:58:56 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080105235856-2kmxhxkz14qjy9ia
Tags: 3.5.0-1
* New upstream release.
* Add tcpp.dpatch.  This stops tests/stress/t.cpp from including
  ncbi_pch.hpp.  As far as I can tell, NCBI is not used at all, I have
  no idea where that came from..
* Silence some lintian warnings; binary-arch-rules-but-pkg-is-arch-indep
  and ancient-standards-version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
2
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3
 
<title>BitMagic: bm::distance_metric_descriptor Struct Reference</title>
 
3
<title>BitMagic: bm::bit_AND&lt; W &gt; Struct Template Reference</title>
4
4
<link href="doxygen.css" rel="stylesheet" type="text/css">
5
5
</head><body>
6
6
<!-- Generated by Doxygen 1.4.1 -->
7
7
<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="examples.html">Examples</a></div>
8
8
<div class="nav">
9
 
<a class="el" href="a00092.html">bm</a>::<a class="el" href="a00065.html">distance_metric_descriptor</a></div>
10
 
<h1>bm::distance_metric_descriptor Struct Reference</h1>Distance metric descriptor, holds metric code and result.  
 
9
<a class="el" href="a00129.html">bm</a>::<a class="el" href="a00065.html">bit_AND</a></div>
 
10
<h1>bm::bit_AND&lt; W &gt; Struct Template Reference</h1>Bit AND functor.  
11
11
<a href="#_details">More...</a>
12
12
<p>
13
 
<code>#include &lt;<a class="el" href="a00103.html">bmalgo.h</a>&gt;</code>
 
13
<code>#include &lt;<a class="el" href="a00141.html">bmfunc.h</a>&gt;</code>
14
14
<p>
15
15
<table border="0" cellpadding="0" cellspacing="0">
16
16
<tr><td></td></tr>
17
17
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
18
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00065.html#a0">distance_metric_descriptor</a> (<a class="el" href="a00101.html#ga5">distance_metric</a> m)</td></tr>
19
 
 
20
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00065.html#a1">distance_metric_descriptor</a> ()</td></tr>
21
 
 
22
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00065.html#a2">reset</a> ()</td></tr>
23
 
 
24
 
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets metric result to 0.  <a href="#a2"></a><br></td></tr>
25
 
<tr><td colspan="2"><br><h2>Data Fields</h2></td></tr>
26
 
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="a00101.html#ga5">distance_metric</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00065.html#o0">metric</a></td></tr>
27
 
 
28
 
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="a00092.html#a9">bm::id_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00065.html#o1">result</a></td></tr>
 
18
<tr><td class="memItemLeft" nowrap align="right" valign="top">W&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00065.html#a0">operator()</a> (W w1, W w2)</td></tr>
29
19
 
30
20
</table>
31
21
<hr><a name="_details"></a><h2>Detailed Description</h2>
32
 
Distance metric descriptor, holds metric code and result. 
33
 
<p>
34
 
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="a00101.html#ga0">distance_operation</a> </dd></dl>
35
 
<dl compact><dt><b>Examples: </b></dt><dd>
36
 
 
37
 
<p>
38
 
<a class="el" href="a00042.html#_a63">sample9.cpp</a>.</dl>
39
 
<p>
40
 
 
41
 
<p>
42
 
Definition at line <a class="el" href="a00103.html#l00068">68</a> of file <a class="el" href="a00103.html">bmalgo.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
43
 
<a class="anchor" name="a0" doxytag="bm::distance_metric_descriptor::distance_metric_descriptor"></a><p>
44
 
<table class="mdTable" cellpadding="2" cellspacing="0">
45
 
  <tr>
46
 
    <td class="mdRow">
47
 
      <table cellpadding="0" cellspacing="0" border="0">
48
 
        <tr>
49
 
          <td class="md" nowrap valign="top">bm::distance_metric_descriptor::distance_metric_descriptor           </td>
50
 
          <td class="md" valign="top">(&nbsp;</td>
51
 
          <td class="md" nowrap valign="top"><a class="el" href="a00101.html#ga5">distance_metric</a>&nbsp;</td>
52
 
          <td class="mdname1" valign="top" nowrap> <em>m</em>          </td>
53
 
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
54
 
          <td class="md" nowrap><code> [inline]</code></td>
55
 
        </tr>
56
 
      </table>
57
 
    </td>
58
 
  </tr>
59
 
</table>
60
 
<table cellspacing="5" cellpadding="0" border="0">
61
 
  <tr>
62
 
    <td>
63
 
      &nbsp;
64
 
    </td>
65
 
    <td>
66
 
 
67
 
<p>
68
 
 
69
 
<p>
70
 
Definition at line <a class="el" href="a00103.html#l00073">73</a> of file <a class="el" href="a00103.html">bmalgo.h</a>.
71
 
<p>
72
 
References <a class="el" href="a00103.html#l00070">metric</a>, and <a class="el" href="a00103.html#l00071">result</a>.    </td>
73
 
  </tr>
74
 
</table>
75
 
<a class="anchor" name="a1" doxytag="bm::distance_metric_descriptor::distance_metric_descriptor"></a><p>
76
 
<table class="mdTable" cellpadding="2" cellspacing="0">
77
 
  <tr>
78
 
    <td class="mdRow">
79
 
      <table cellpadding="0" cellspacing="0" border="0">
80
 
        <tr>
81
 
          <td class="md" nowrap valign="top">bm::distance_metric_descriptor::distance_metric_descriptor           </td>
82
 
          <td class="md" valign="top">(&nbsp;</td>
83
 
          <td class="mdname1" valign="top" nowrap>          </td>
84
 
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
85
 
          <td class="md" nowrap><code> [inline]</code></td>
86
 
        </tr>
87
 
      </table>
88
 
    </td>
89
 
  </tr>
90
 
</table>
91
 
<table cellspacing="5" cellpadding="0" border="0">
92
 
  <tr>
93
 
    <td>
94
 
      &nbsp;
95
 
    </td>
96
 
    <td>
97
 
 
98
 
<p>
99
 
 
100
 
<p>
101
 
Definition at line <a class="el" href="a00103.html#l00077">77</a> of file <a class="el" href="a00103.html">bmalgo.h</a>.
102
 
<p>
103
 
References <a class="el" href="a00101.html#gga5a37">bm::COUNT_XOR</a>, <a class="el" href="a00103.html#l00070">metric</a>, and <a class="el" href="a00103.html#l00071">result</a>.    </td>
104
 
  </tr>
105
 
</table>
106
 
<hr><h2>Member Function Documentation</h2>
107
 
<a class="anchor" name="a2" doxytag="bm::distance_metric_descriptor::reset"></a><p>
108
 
<table class="mdTable" cellpadding="2" cellspacing="0">
109
 
  <tr>
110
 
    <td class="mdRow">
111
 
      <table cellpadding="0" cellspacing="0" border="0">
112
 
        <tr>
113
 
          <td class="md" nowrap valign="top">void bm::distance_metric_descriptor::reset           </td>
114
 
          <td class="md" valign="top">(&nbsp;</td>
115
 
          <td class="mdname1" valign="top" nowrap>          </td>
116
 
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
117
 
          <td class="md" nowrap><code> [inline]</code></td>
118
 
        </tr>
119
 
      </table>
120
 
    </td>
121
 
  </tr>
122
 
</table>
123
 
<table cellspacing="5" cellpadding="0" border="0">
124
 
  <tr>
125
 
    <td>
126
 
      &nbsp;
127
 
    </td>
128
 
    <td>
129
 
 
130
 
<p>
131
 
Sets metric result to 0. 
132
 
<p>
133
 
 
134
 
<p>
135
 
Definition at line <a class="el" href="a00103.html#l00085">85</a> of file <a class="el" href="a00103.html">bmalgo.h</a>.
136
 
<p>
137
 
References <a class="el" href="a00103.html#l00071">result</a>.    </td>
138
 
  </tr>
139
 
</table>
140
 
<hr><h2>Field Documentation</h2>
141
 
<a class="anchor" name="o0" doxytag="bm::distance_metric_descriptor::metric"></a><p>
142
 
<table class="mdTable" cellpadding="2" cellspacing="0">
143
 
  <tr>
144
 
    <td class="mdRow">
145
 
      <table cellpadding="0" cellspacing="0" border="0">
146
 
        <tr>
147
 
          <td class="md" nowrap valign="top"><a class="el" href="a00101.html#ga5">distance_metric</a> <a class="el" href="a00065.html#o0">bm::distance_metric_descriptor::metric</a>          </td>
148
 
        </tr>
149
 
      </table>
150
 
    </td>
151
 
  </tr>
152
 
</table>
153
 
<table cellspacing="5" cellpadding="0" border="0">
154
 
  <tr>
155
 
    <td>
156
 
      &nbsp;
157
 
    </td>
158
 
    <td>
159
 
 
160
 
<p>
161
 
<dl compact><dt><b>Examples: </b></dt><dd>
162
 
<a class="el" href="a00042.html#a64">sample9.cpp</a>.</dl>
163
 
<p>
164
 
Definition at line <a class="el" href="a00103.html#l00070">70</a> of file <a class="el" href="a00103.html">bmalgo.h</a>.
165
 
<p>
166
 
Referenced by <a class="el" href="a00103.html#l00099">bm::combine_count_operation_with_block()</a>, <a class="el" href="a00103.html#l00073">distance_metric_descriptor()</a>, and <a class="el" href="a00119.html#l00047">main()</a>.    </td>
167
 
  </tr>
168
 
</table>
169
 
<a class="anchor" name="o1" doxytag="bm::distance_metric_descriptor::result"></a><p>
170
 
<table class="mdTable" cellpadding="2" cellspacing="0">
171
 
  <tr>
172
 
    <td class="mdRow">
173
 
      <table cellpadding="0" cellspacing="0" border="0">
174
 
        <tr>
175
 
          <td class="md" nowrap valign="top"><a class="el" href="a00092.html#a9">bm::id_t</a> <a class="el" href="a00065.html#o1">bm::distance_metric_descriptor::result</a>          </td>
176
 
        </tr>
177
 
      </table>
178
 
    </td>
179
 
  </tr>
180
 
</table>
181
 
<table cellspacing="5" cellpadding="0" border="0">
182
 
  <tr>
183
 
    <td>
184
 
      &nbsp;
185
 
    </td>
186
 
    <td>
187
 
 
188
 
<p>
189
 
 
190
 
<p>
191
 
Definition at line <a class="el" href="a00103.html#l00071">71</a> of file <a class="el" href="a00103.html">bmalgo.h</a>.
192
 
<p>
193
 
Referenced by <a class="el" href="a00103.html#l00099">bm::combine_count_operation_with_block()</a>, <a class="el" href="a00103.html#l00455">bm::count_and()</a>, <a class="el" href="a00103.html#l00506">bm::count_or()</a>, <a class="el" href="a00103.html#l00489">bm::count_sub()</a>, <a class="el" href="a00103.html#l00472">bm::count_xor()</a>, <a class="el" href="a00103.html#l00073">distance_metric_descriptor()</a>, and <a class="el" href="a00103.html#l00085">reset()</a>.    </td>
 
22
<h3>template&lt;typename W&gt;<br>
 
23
 struct bm::bit_AND&lt; W &gt;</h3>
 
24
 
 
25
Bit AND functor. 
 
26
<p>
 
27
 
 
28
<p>
 
29
Definition at line <a class="el" href="a00141.html#l04173">4173</a> of file <a class="el" href="a00141.html">bmfunc.h</a>.<hr><h2>Member Function Documentation</h2>
 
30
<a class="anchor" name="a0" doxytag="bm::bit_AND::operator()"></a><p>
 
31
<table class="mdTable" cellpadding="2" cellspacing="0">
 
32
  <tr>
 
33
    <td class="mdRow">
 
34
      <table cellpadding="0" cellspacing="0" border="0">
 
35
        <tr>
 
36
          <td class="mdPrefix" colspan="4">
 
37
template&lt;typename W&gt; </td>
 
38
        </tr>
 
39
        <tr>
 
40
          <td class="md" nowrap valign="top">W <a class="el" href="a00065.html">bm::bit_AND</a>&lt; W &gt;::operator()           </td>
 
41
          <td class="md" valign="top">(&nbsp;</td>
 
42
          <td class="md" nowrap valign="top">W&nbsp;</td>
 
43
          <td class="mdname" nowrap> <em>w1</em>, </td>
 
44
        </tr>
 
45
        <tr>
 
46
          <td class="md" nowrap align="right"></td>
 
47
          <td class="md"></td>
 
48
          <td class="md" nowrap>W&nbsp;</td>
 
49
          <td class="mdname" nowrap> <em>w2</em></td>
 
50
        </tr>
 
51
        <tr>
 
52
          <td class="md"></td>
 
53
          <td class="md">)&nbsp;</td>
 
54
          <td class="md" colspan="2"><code> [inline]</code></td>
 
55
        </tr>
 
56
      </table>
 
57
    </td>
 
58
  </tr>
 
59
</table>
 
60
<table cellspacing="5" cellpadding="0" border="0">
 
61
  <tr>
 
62
    <td>
 
63
      &nbsp;
 
64
    </td>
 
65
    <td>
 
66
 
 
67
<p>
 
68
 
 
69
<p>
 
70
Definition at line <a class="el" href="a00141.html#l04175">4175</a> of file <a class="el" href="a00141.html">bmfunc.h</a>.    </td>
194
71
  </tr>
195
72
</table>
196
73
<hr>The documentation for this struct was generated from the following file:<ul>
197
 
<li><a class="el" href="a00103.html">bmalgo.h</a></ul>
198
 
<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 20 13:29:17 2006 for BitMagic by&nbsp;
 
74
<li><a class="el" href="a00141.html">bmfunc.h</a></ul>
 
75
<hr size="1"><address style="align: right;"><small>Generated on Sun Aug 5 14:12:40 2007 for BitMagic by&nbsp;
199
76
<a href="http://www.doxygen.org/index.html">
200
77
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.1 </small></address>
201
78
</body>