This file is indexed.

/usr/share/doc/mia-2.0/libdoc/classTCost.html is in libmia-2.0-doc 2.0.13-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.6"/>
<title>TCost&lt; T, V &gt; Class Template 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! -->
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="classes.html"><span>Data&#160;Structure&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">TCost&lt; T, V &gt; Class Template Reference<span class="mlabels"><span class="mlabel">abstract</span></span><div class="ingroups"><a class="el" href="group__registration.html">Image Registration and Transformation</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>The generic cost function interface.  
 <a href="classTCost.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="core_2cost_8hh_source.html">mia/core/cost.hh</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for TCost&lt; T, V &gt;:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classTCost.png" usemap="#TCost&lt; T, V &gt;_map" alt=""/>
  <map id="TCost&lt; T, V &gt;_map" name="TCost&lt; T, V &gt;_map">
<area href="classCProductBase.html" title="The base class for all plug-in created object. " alt="CProductBase" shape="rect" coords="0,56,133,80"/>
<area href="classCPropertyFlagHolder.html" title="This class holds a set of properties. " alt="CPropertyFlagHolder" shape="rect" coords="0,0,133,24"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:ae1dff0a228de843cf9dfc1806d53887c"><td class="memItemLeft" align="right" valign="top">typedef T&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTCost.html#ae1dff0a228de843cf9dfc1806d53887c">Data</a></td></tr>
<tr class="memdesc:ae1dff0a228de843cf9dfc1806d53887c"><td class="mdescLeft">&#160;</td><td class="mdescRight">typedef for generic programming: The data type used by the cost function  <a href="#ae1dff0a228de843cf9dfc1806d53887c">More...</a><br/></td></tr>
<tr class="separator:ae1dff0a228de843cf9dfc1806d53887c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a05717c0db8f756910a363c0e9ba6e93d"><td class="memItemLeft" align="right" valign="top">typedef V&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTCost.html#a05717c0db8f756910a363c0e9ba6e93d">Force</a></td></tr>
<tr class="memdesc:a05717c0db8f756910a363c0e9ba6e93d"><td class="mdescLeft">&#160;</td><td class="mdescRight">typedef for generic programming: The gradient forca type create by the cost function  <a href="#a05717c0db8f756910a363c0e9ba6e93d">More...</a><br/></td></tr>
<tr class="separator:a05717c0db8f756910a363c0e9ba6e93d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9e5fec0e5dee658340b3a7a1ec5851b4"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classTRefHolder.html#ad11eee4caca01c15becafab441282937">RData::Pointer</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTCost.html#a9e5fec0e5dee658340b3a7a1ec5851b4">PData</a></td></tr>
<tr class="memdesc:a9e5fec0e5dee658340b3a7a1ec5851b4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Pointer to const reference holder <a class="el" href="classTRefHolder.html" title="A class to make a const reference not so const. ">TRefHolder</a> of the cost function data.  <a href="#a9e5fec0e5dee658340b3a7a1ec5851b4">More...</a><br/></td></tr>
<tr class="separator:a9e5fec0e5dee658340b3a7a1ec5851b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac92f6e2a1ae74dcdf9ad53d3b4bff769"><td class="memItemLeft" align="right" valign="top">typedef T&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTCost.html#ac92f6e2a1ae74dcdf9ad53d3b4bff769">plugin_data</a></td></tr>
<tr class="memdesc:ac92f6e2a1ae74dcdf9ad53d3b4bff769"><td class="mdescLeft">&#160;</td><td class="mdescRight">plugin searchpath helper type  <a href="#ac92f6e2a1ae74dcdf9ad53d3b4bff769">More...</a><br/></td></tr>
<tr class="separator:ac92f6e2a1ae74dcdf9ad53d3b4bff769"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a23d384bf15346d9527aeaefebe324a73"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="structcost__type.html">cost_type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTCost.html#a23d384bf15346d9527aeaefebe324a73">plugin_type</a></td></tr>
<tr class="memdesc:a23d384bf15346d9527aeaefebe324a73"><td class="mdescLeft">&#160;</td><td class="mdescRight">plugin searchpath helper type  <a href="#a23d384bf15346d9527aeaefebe324a73">More...</a><br/></td></tr>
<tr class="separator:a23d384bf15346d9527aeaefebe324a73"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a38604a3e36cb0ff485eb0d11feab0f38"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classTRefHolder.html">TRefHolder</a>&lt; T &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTCost.html#a38604a3e36cb0ff485eb0d11feab0f38">RData</a></td></tr>
<tr class="memdesc:a38604a3e36cb0ff485eb0d11feab0f38"><td class="mdescLeft">&#160;</td><td class="mdescRight">Const reference holder <a class="el" href="classTRefHolder.html" title="A class to make a const reference not so const. ">TRefHolder</a> of the cost function data.  <a href="#a38604a3e36cb0ff485eb0d11feab0f38">More...</a><br/></td></tr>
<tr class="separator:a38604a3e36cb0ff485eb0d11feab0f38"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_types_classCPropertyFlagHolder"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classCPropertyFlagHolder')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="classCPropertyFlagHolder.html">CPropertyFlagHolder</a></td></tr>
<tr class="memitem:ae19cdabd533c31d596b479686943e13e inherit pub_types_classCPropertyFlagHolder"><td class="memItemLeft" align="right" valign="top">typedef std::set&lt; const char * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCPropertyFlagHolder.html#ae19cdabd533c31d596b479686943e13e">Set</a></td></tr>
<tr class="memdesc:ae19cdabd533c31d596b479686943e13e inherit pub_types_classCPropertyFlagHolder"><td class="mdescLeft">&#160;</td><td class="mdescRight">define the type of the set of flags  <a href="#ae19cdabd533c31d596b479686943e13e">More...</a><br/></td></tr>
<tr class="separator:ae19cdabd533c31d596b479686943e13e inherit pub_types_classCPropertyFlagHolder"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><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:a1f7bd86618f4e204dd1017eb3b690652"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTCost.html#a1f7bd86618f4e204dd1017eb3b690652">evaluate_force</a> (const T &amp;src, V &amp;force) const </td></tr>
<tr class="separator:a1f7bd86618f4e204dd1017eb3b690652"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ba3e9a44d4a0e37974f9c11f5a70283"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTCost.html#a0ba3e9a44d4a0e37974f9c11f5a70283">set_reference</a> (const T &amp;ref)</td></tr>
<tr class="separator:a0ba3e9a44d4a0e37974f9c11f5a70283"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa9086b36ff3bf46c0280197b1030dde8"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTCost.html#aa9086b36ff3bf46c0280197b1030dde8">value</a> (const T &amp;src) const </td></tr>
<tr class="separator:aa9086b36ff3bf46c0280197b1030dde8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a59d2fe04918c3efbeeb1db1ec8b4414b"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTCost.html#a59d2fe04918c3efbeeb1db1ec8b4414b">~TCost</a> ()</td></tr>
<tr class="memdesc:a59d2fe04918c3efbeeb1db1ec8b4414b"><td class="mdescLeft">&#160;</td><td class="mdescRight">ensure virtual destruction, since we have virtual functions  <a href="#a59d2fe04918c3efbeeb1db1ec8b4414b">More...</a><br/></td></tr>
<tr class="separator:a59d2fe04918c3efbeeb1db1ec8b4414b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classCProductBase"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classCProductBase')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classCProductBase.html">CProductBase</a></td></tr>
<tr class="memitem:acfa85a057a881ced532bb78029efddc4 inherit pub_methods_classCProductBase"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCProductBase.html#acfa85a057a881ced532bb78029efddc4">get_init_string</a> () const </td></tr>
<tr class="separator:acfa85a057a881ced532bb78029efddc4 inherit pub_methods_classCProductBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a60ef92211cb697cc9d3bde947d668e9e inherit pub_methods_classCProductBase"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCProductBase.html#a60ef92211cb697cc9d3bde947d668e9e">set_init_string</a> (const char *init)</td></tr>
<tr class="separator:a60ef92211cb697cc9d3bde947d668e9e inherit pub_methods_classCProductBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac78b75f25de93e9a8c9d9c6ee34b5fa2 inherit pub_methods_classCProductBase"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCProductBase.html#ac78b75f25de93e9a8c9d9c6ee34b5fa2">set_module</a> (<a class="el" href="group__plugin.html#ga39fb45d0925ecaf649ca861cab0ee01a">PPluginModule</a> module)</td></tr>
<tr class="separator:ac78b75f25de93e9a8c9d9c6ee34b5fa2 inherit pub_methods_classCProductBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classCPropertyFlagHolder"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classCPropertyFlagHolder')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classCPropertyFlagHolder.html">CPropertyFlagHolder</a></td></tr>
<tr class="memitem:a365d4cdb13500e1a4139e837fe7cb37c inherit pub_methods_classCPropertyFlagHolder"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCPropertyFlagHolder.html#a365d4cdb13500e1a4139e837fe7cb37c">add</a> (const char *property)</td></tr>
<tr class="separator:a365d4cdb13500e1a4139e837fe7cb37c inherit pub_methods_classCPropertyFlagHolder"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8410fdf2a8b736c700d8595d82acb1fc inherit pub_methods_classCPropertyFlagHolder"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCPropertyFlagHolder.html#ae19cdabd533c31d596b479686943e13e">Set</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCPropertyFlagHolder.html#a8410fdf2a8b736c700d8595d82acb1fc">get_missing_properties</a> (const <a class="el" href="classCPropertyFlagHolder.html">CPropertyFlagHolder</a> &amp;testset) const </td></tr>
<tr class="separator:a8410fdf2a8b736c700d8595d82acb1fc inherit pub_methods_classCPropertyFlagHolder"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a106e9895cd3a2f5d7a121b6a41b0eebd inherit pub_methods_classCPropertyFlagHolder"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCPropertyFlagHolder.html#a106e9895cd3a2f5d7a121b6a41b0eebd">has</a> (const char *property) const </td></tr>
<tr class="separator:a106e9895cd3a2f5d7a121b6a41b0eebd inherit pub_methods_classCPropertyFlagHolder"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a110f2cdcf0cd275830b92deed7a0d648 inherit pub_methods_classCPropertyFlagHolder"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCPropertyFlagHolder.html#a110f2cdcf0cd275830b92deed7a0d648">has_all_in</a> (const <a class="el" href="classCPropertyFlagHolder.html">CPropertyFlagHolder</a> &amp;testset) const </td></tr>
<tr class="separator:a110f2cdcf0cd275830b92deed7a0d648 inherit pub_methods_classCPropertyFlagHolder"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae7612f039bf567bd94e79dc045de39e1 inherit pub_methods_classCPropertyFlagHolder"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCPropertyFlagHolder.html#ae7612f039bf567bd94e79dc045de39e1">~CPropertyFlagHolder</a> ()</td></tr>
<tr class="separator:ae7612f039bf567bd94e79dc045de39e1 inherit pub_methods_classCPropertyFlagHolder"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;typename T, typename V&gt;<br/>
class TCost&lt; T, V &gt;</h3>

<p>The generic cost function interface. </p>
<p>The class defines an abstract interface for a cost function between two entities of the same type. The pure virtual functions -double do_value(const T&amp; a, const T&amp; b) const, and -double do_evaluate_force(const T&amp; a, const T&amp; b, float scale, V&amp; force) const have to be implemented in the derived class to make it a real cost function. The virtual function</p>
<ul>
<li>void post_set_reference(const T&amp; ref) may be overwritten in order to prepare the reference data for the implemented cost function. <dl class="tparams"><dt>Template Parameters</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">T</td><td>the data type of the objects that the cost evaluation is based on </td></tr>
    <tr><td class="paramname">V</td><td>the type of the gradient force field created by this cost function </td></tr>
  </table>
  </dd>
</dl>
</li>
</ul>

<p>Definition at line <a class="el" href="core_2cost_8hh_source.html#l00064">64</a> of file <a class="el" href="core_2cost_8hh_source.html">core/cost.hh</a>.</p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a class="anchor" id="ae1dff0a228de843cf9dfc1806d53887c"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T , typename V &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef T <a class="el" href="classTCost.html">TCost</a>&lt; T, V &gt;::<a class="el" href="classTCost.html#ae1dff0a228de843cf9dfc1806d53887c">Data</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>typedef for generic programming: The data type used by the cost function </p>

<p>Definition at line <a class="el" href="core_2cost_8hh_source.html#l00067">67</a> of file <a class="el" href="core_2cost_8hh_source.html">core/cost.hh</a>.</p>

</div>
</div>
<a class="anchor" id="a05717c0db8f756910a363c0e9ba6e93d"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T , typename V &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef V <a class="el" href="classTCost.html">TCost</a>&lt; T, V &gt;::<a class="el" href="classTCost.html#a05717c0db8f756910a363c0e9ba6e93d">Force</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>typedef for generic programming: The gradient forca type create by the cost function </p>

<p>Definition at line <a class="el" href="core_2cost_8hh_source.html#l00070">70</a> of file <a class="el" href="core_2cost_8hh_source.html">core/cost.hh</a>.</p>

</div>
</div>
<a class="anchor" id="a9e5fec0e5dee658340b3a7a1ec5851b4"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T , typename V &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="classTRefHolder.html#ad11eee4caca01c15becafab441282937">RData::Pointer</a> <a class="el" href="classTCost.html">TCost</a>&lt; T, V &gt;::<a class="el" href="classTCost.html#a9e5fec0e5dee658340b3a7a1ec5851b4">PData</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Pointer to const reference holder <a class="el" href="classTRefHolder.html" title="A class to make a const reference not so const. ">TRefHolder</a> of the cost function data. </p>

<p>Definition at line <a class="el" href="core_2cost_8hh_source.html#l00076">76</a> of file <a class="el" href="core_2cost_8hh_source.html">core/cost.hh</a>.</p>

</div>
</div>
<a class="anchor" id="ac92f6e2a1ae74dcdf9ad53d3b4bff769"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T , typename V &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef T <a class="el" href="classTCost.html">TCost</a>&lt; T, V &gt;::<a class="el" href="classTCost.html#ac92f6e2a1ae74dcdf9ad53d3b4bff769">plugin_data</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>plugin searchpath helper type </p>

<p>Definition at line <a class="el" href="core_2cost_8hh_source.html#l00079">79</a> of file <a class="el" href="core_2cost_8hh_source.html">core/cost.hh</a>.</p>

</div>
</div>
<a class="anchor" id="a23d384bf15346d9527aeaefebe324a73"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T , typename V &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="structcost__type.html">cost_type</a> <a class="el" href="classTCost.html">TCost</a>&lt; T, V &gt;::<a class="el" href="classTCost.html#a23d384bf15346d9527aeaefebe324a73">plugin_type</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>plugin searchpath helper type </p>

<p>Definition at line <a class="el" href="core_2cost_8hh_source.html#l00082">82</a> of file <a class="el" href="core_2cost_8hh_source.html">core/cost.hh</a>.</p>

</div>
</div>
<a class="anchor" id="a38604a3e36cb0ff485eb0d11feab0f38"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T , typename V &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="classTRefHolder.html">TRefHolder</a>&lt;T&gt; <a class="el" href="classTCost.html">TCost</a>&lt; T, V &gt;::<a class="el" href="classTCost.html#a38604a3e36cb0ff485eb0d11feab0f38">RData</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Const reference holder <a class="el" href="classTRefHolder.html" title="A class to make a const reference not so const. ">TRefHolder</a> of the cost function data. </p>

<p>Definition at line <a class="el" href="core_2cost_8hh_source.html#l00073">73</a> of file <a class="el" href="core_2cost_8hh_source.html">core/cost.hh</a>.</p>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a59d2fe04918c3efbeeb1db1ec8b4414b"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T , typename V &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classTCost.html">TCost</a>&lt; T, V &gt;::~<a class="el" href="classTCost.html">TCost</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>ensure virtual destruction, since we have virtual functions </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a1f7bd86618f4e204dd1017eb3b690652"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T , typename V &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="classTCost.html">TCost</a>&lt; T, V &gt;::evaluate_force </td>
          <td>(</td>
          <td class="paramtype">const T &amp;&#160;</td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">V &amp;&#160;</td>
          <td class="paramname"><em>force</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Evaluate the value of the cost function and its gradient with respect to the given src image and the reference that was set by calling <a class="el" href="classTCost.html#a0ba3e9a44d4a0e37974f9c11f5a70283">set_reference(const T&amp; ref)</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir"></td><td class="paramname">src</td><td></td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">force</td><td>gradient force </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the cost function value </dd></dl>

</div>
</div>
<a class="anchor" id="a0ba3e9a44d4a0e37974f9c11f5a70283"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T , typename V &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classTCost.html">TCost</a>&lt; T, V &gt;::set_reference </td>
          <td>(</td>
          <td class="paramtype">const T &amp;&#160;</td>
          <td class="paramname"><em>ref</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Set the new reference of the cost function. The virtual private function post_set_reference(const T&amp; ref) is then called to run possible preparations on the reference image. </p>

</div>
</div>
<a class="anchor" id="aa9086b36ff3bf46c0280197b1030dde8"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T , typename V &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="classTCost.html">TCost</a>&lt; T, V &gt;::value </td>
          <td>(</td>
          <td class="paramtype">const T &amp;&#160;</td>
          <td class="paramname"><em>src</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Evaluate the value of the cost function petreen the given src image and the reference that was set by calling <a class="el" href="classTCost.html#a0ba3e9a44d4a0e37974f9c11f5a70283">set_reference(const T&amp; ref)</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">src</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the cost function value </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="core_2cost_8hh_source.html">core/cost.hh</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Jan 25 2014 23:52:10 by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>