2
2
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3
3
<title>fullquottel: RatioRating Struct Reference</title>
4
4
<link href="doxygen.css" rel="stylesheet" type="text/css">
5
<link href="tabs.css" rel="stylesheet" type="text/css">
6
<!-- Generated by Doxygen 1.4.4 -->
7
<div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div>
7
<!-- Generated by Doxygen 1.5.1 -->
10
<li><a href="index.html"><span>Main Page</span></a></li>
11
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
12
<li id="current"><a href="annotated.html"><span>Classes</span></a></li>
13
<li><a href="files.html"><span>Files</span></a></li>
17
<li><a href="annotated.html"><span>Class List</span></a></li>
18
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
19
<li><a href="functions.html"><span>Class Members</span></a></li>
8
21
<h1>RatioRating Struct Reference</h1><!-- doxytag: class="RatioRating" --><!-- doxytag: inherits="RatingBase" -->structure to store the rating of an ratio test:
9
22
<a href="#_details">More...</a>
16
29
<a href="structRatioRating-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
18
31
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
19
<tr><td class="memItemLeft" nowrap align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="structRatioRating.html#a0">rate</a> (double value) const </td></tr>
32
<tr><td class="memItemLeft" nowrap align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="structRatioRating.html#a804aa31a84e64baa29f3af0590f1233">rate</a> (double value) const </td></tr>
21
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structRatioRating.html#a1">RatioRating</a> ()</td></tr>
34
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structRatioRating.html#6650240071c5c69c0cf5f7ce9c69211b">RatioRating</a> ()</td></tr>
23
36
<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr>
24
<tr><td class="memItemLeft" nowrap align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="structRatioRating.html#o0">threshold</a></td></tr>
37
<tr><td class="memItemLeft" nowrap align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="structRatioRating.html#a9982b45d6161ea92505717511d5a7c1">threshold</a></td></tr>
26
<tr><td class="memItemLeft" nowrap align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="structRatioRating.html#o1">factor</a></td></tr>
39
<tr><td class="memItemLeft" nowrap align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="structRatioRating.html#5d205e8b003802f649948dab694c525f">factor</a></td></tr>
29
42
<hr><a name="_details"></a><h2>Detailed Description</h2>
32
45
resultscore = (value >= threshold) ? score + value * factor : 0;
34
47
<hr><h2>Constructor & Destructor Documentation</h2>
35
<a class="anchor" name="a1"></a><!-- doxytag: member="RatioRating::RatioRating" ref="a1" args="()" --><p>
36
<table class="mdTable" cellpadding="2" cellspacing="0">
39
<table cellpadding="0" cellspacing="0" border="0">
48
<a class="anchor" name="6650240071c5c69c0cf5f7ce9c69211b"></a><!-- doxytag: member="RatioRating::RatioRating" ref="6650240071c5c69c0cf5f7ce9c69211b" args="()" -->
50
<div class="memproto">
51
<table class="memname">
41
<td class="md" nowrap valign="top">RatioRating::RatioRating </td>
42
<td class="md" valign="top">( </td>
43
<td class="mdname1" valign="top" nowrap> </td>
44
<td class="md" valign="top"> ) </td>
45
<td class="md" nowrap></td>
53
<td class="memname">RatioRating::RatioRating </td>
55
<td class="paramname"> </td>
56
<td> ) </td>
57
<td width="100%"></td>
51
<table cellspacing="5" cellpadding="0" border="0">
62
67
<hr><h2>Member Function Documentation</h2>
63
<a class="anchor" name="a0"></a><!-- doxytag: member="RatioRating::rate" ref="a0" args="(double value) const " --><p>
64
<table class="mdTable" cellpadding="2" cellspacing="0">
67
<table cellpadding="0" cellspacing="0" border="0">
68
<a class="anchor" name="a804aa31a84e64baa29f3af0590f1233"></a><!-- doxytag: member="RatioRating::rate" ref="a804aa31a84e64baa29f3af0590f1233" args="(double value) const " -->
70
<div class="memproto">
71
<table class="memname">
69
<td class="md" nowrap valign="top">double RatioRating::rate </td>
70
<td class="md" valign="top">( </td>
71
<td class="md" nowrap valign="top">double </td>
72
<td class="mdname1" valign="top" nowrap> <em>value</em> </td>
73
<td class="md" valign="top"> ) </td>
74
<td class="md" nowrap> const</td>
73
<td class="memname">double RatioRating::rate </td>
75
<td class="paramtype">double </td>
76
<td class="paramname"> <em>value</em> </td>
77
<td> ) </td>
78
<td width="100%"> const</td>
80
<table cellspacing="5" cellpadding="0" border="0">
91
88
<hr><h2>Member Data Documentation</h2>
92
<a class="anchor" name="o0"></a><!-- doxytag: member="RatioRating::threshold" ref="o0" args="" --><p>
93
<table class="mdTable" cellpadding="2" cellspacing="0">
96
<table cellpadding="0" cellspacing="0" border="0">
98
<td class="md" nowrap valign="top">double <a class="el" href="structRatioRating.html#o0">RatioRating::threshold</a> </td>
104
<table cellspacing="5" cellpadding="0" border="0">
115
<a class="anchor" name="o1"></a><!-- doxytag: member="RatioRating::factor" ref="o1" args="" --><p>
116
<table class="mdTable" cellpadding="2" cellspacing="0">
119
<table cellpadding="0" cellspacing="0" border="0">
121
<td class="md" nowrap valign="top">double <a class="el" href="structRatioRating.html#o1">RatioRating::factor</a> </td>
127
<table cellspacing="5" cellpadding="0" border="0">
89
<a class="anchor" name="a9982b45d6161ea92505717511d5a7c1"></a><!-- doxytag: member="RatioRating::threshold" ref="a9982b45d6161ea92505717511d5a7c1" args="" -->
91
<div class="memproto">
92
<table class="memname">
94
<td class="memname">double <a class="el" href="structRatioRating.html#a9982b45d6161ea92505717511d5a7c1">RatioRating::threshold</a> </td>
104
<a class="anchor" name="5d205e8b003802f649948dab694c525f"></a><!-- doxytag: member="RatioRating::factor" ref="5d205e8b003802f649948dab694c525f" args="" -->
105
<div class="memitem">
106
<div class="memproto">
107
<table class="memname">
109
<td class="memname">double <a class="el" href="structRatioRating.html#5d205e8b003802f649948dab694c525f">RatioRating::factor</a> </td>
138
119
<hr>The documentation for this struct was generated from the following file:<ul>
139
120
<li><a class="el" href="fullquottel_8cpp.html">fullquottel.cpp</a></ul>
140
<hr size="1"><address style="align: right;"><small>Generated on Fri Sep 2 16:27:02 2005 for fullquottel by
121
<hr size="1"><address style="align: right;"><small>Generated on Mon Apr 2 00:02:38 2007 for fullquottel by
141
122
<a href="http://www.doxygen.org/index.html">
142
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
123
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>