-
Notifications
You must be signed in to change notification settings - Fork 3
/
cb_8h.html
160 lines (156 loc) · 13 KB
/
cb_8h.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
<!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.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Vowpal Wabbit: /__w/vowpal_wabbit/vowpal_wabbit/vowpalwabbit/cb.h File 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">Vowpal Wabbit
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
</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"><a class="el" href="dir_23e69c20c74a4591a9cfc65aaff8f3d1.html">vowpalwabbit</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#nested-classes">Classes</a> |
<a href="#namespaces">Namespaces</a> |
<a href="#typedef-members">Typedefs</a> |
<a href="#func-members">Functions</a> |
<a href="#var-members">Variables</a> </div>
<div class="headertitle">
<div class="title">cb.h File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include <vector></code><br />
<code>#include <cfloat></code><br />
<code>#include <cstdint></code><br />
<code>#include <utility></code><br />
<code>#include "<a class="el" href="reductions__fwd_8h.html">reductions_fwd.h</a>"</code><br />
<code>#include "<a class="el" href="label__parser_8h.html">label_parser.h</a>"</code><br />
<code>#include "<a class="el" href="v__array_8h.html">v_array.h</a>"</code><br />
<code>#include "<a class="el" href="io__buf_8h.html">io_buf.h</a>"</code><br />
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structCB_1_1cb__class.html">CB::cb_class</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structCB_1_1label.html">CB::label</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structCB__EVAL_1_1label.html">CB_EVAL::label</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespaceCB"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceCB.html">CB</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:namespaceCB__EVAL"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceCB__EVAL.html">CB_EVAL</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:namespaceVW"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceVW.html">VW</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:namespaceVW_1_1model__utils"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceVW_1_1model__utils.html">VW::model_utils</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:ababa4c0392834695d0ff6255e8d3ce77"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="cb_8h.html#ababa4c0392834695d0ff6255e8d3ce77">multi_ex</a> = std::vector< <a class="el" href="structexample.html">example</a> * ></td></tr>
<tr class="separator:ababa4c0392834695d0ff6255e8d3ce77"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a2e10d3c30cd9736cd49e800ede17cc6c"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceCB.html#a2e10d3c30cd9736cd49e800ede17cc6c">CB::ec_is_example_header</a> (<a class="el" href="structexample.html">example</a> const &ec)</td></tr>
<tr class="separator:a2e10d3c30cd9736cd49e800ede17cc6c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a49cd7f7de14b12a2bafc4ae55693c69b"><td class="memItemLeft" align="right" valign="top">std::pair< bool, cb_class > </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceCB.html#a49cd7f7de14b12a2bafc4ae55693c69b">CB::get_observed_cost_cb</a> (const label &ld)</td></tr>
<tr class="separator:a49cd7f7de14b12a2bafc4ae55693c69b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1aac2148c5919b7514a62441f736d68f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceCB.html#a1aac2148c5919b7514a62441f736d68f">CB::print_update</a> (<a class="el" href="structVW_1_1workspace.html">VW::workspace</a> &all, bool is_test, const <a class="el" href="structexample.html">example</a> &ec, const <a class="el" href="cb_8h.html#ababa4c0392834695d0ff6255e8d3ce77">multi_ex</a> *ec_seq, bool action_scores, const <a class="el" href="structCB_1_1cb__class.html">CB::cb_class</a> *known_cost)</td></tr>
<tr class="separator:a1aac2148c5919b7514a62441f736d68f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aee45c2f6e0dd54a85e5b49124d331a6f"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceVW_1_1model__utils.html#aee45c2f6e0dd54a85e5b49124d331a6f">VW::model_utils::read_model_field</a> (<a class="el" href="classio__buf.html">io_buf</a> &, <a class="el" href="structCB_1_1cb__class.html">CB::cb_class</a> &)</td></tr>
<tr class="separator:aee45c2f6e0dd54a85e5b49124d331a6f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a61c22d18322d39ee7e3f099a8744dd9f"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceVW_1_1model__utils.html#a61c22d18322d39ee7e3f099a8744dd9f">VW::model_utils::write_model_field</a> (<a class="el" href="classio__buf.html">io_buf</a> &, const <a class="el" href="structCB_1_1cb__class.html">CB::cb_class</a> &, const std::string &, bool)</td></tr>
<tr class="separator:a61c22d18322d39ee7e3f099a8744dd9f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab86137e05c3ae2dbaf01b23b9af6680b"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceVW_1_1model__utils.html#ab86137e05c3ae2dbaf01b23b9af6680b">VW::model_utils::read_model_field</a> (<a class="el" href="classio__buf.html">io_buf</a> &, <a class="el" href="structCB_1_1label.html">CB::label</a> &)</td></tr>
<tr class="separator:ab86137e05c3ae2dbaf01b23b9af6680b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1982a0e673569e474e7e60f7545d8dec"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceVW_1_1model__utils.html#a1982a0e673569e474e7e60f7545d8dec">VW::model_utils::write_model_field</a> (<a class="el" href="classio__buf.html">io_buf</a> &, const <a class="el" href="structCB_1_1label.html">CB::label</a> &, const std::string &, bool)</td></tr>
<tr class="separator:a1982a0e673569e474e7e60f7545d8dec"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:affbea4581d85bb5ce9a34350ded00987"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceVW_1_1model__utils.html#affbea4581d85bb5ce9a34350ded00987">VW::model_utils::read_model_field</a> (<a class="el" href="classio__buf.html">io_buf</a> &, <a class="el" href="structCB__EVAL_1_1label.html">CB_EVAL::label</a> &)</td></tr>
<tr class="separator:affbea4581d85bb5ce9a34350ded00987"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a642972989c5386c79ff5b303c04aea32"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceVW_1_1model__utils.html#a642972989c5386c79ff5b303c04aea32">VW::model_utils::write_model_field</a> (<a class="el" href="classio__buf.html">io_buf</a> &, const <a class="el" href="structCB__EVAL_1_1label.html">CB_EVAL::label</a> &, const std::string &, bool)</td></tr>
<tr class="separator:a642972989c5386c79ff5b303c04aea32"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:a53f211db30bb394a7e31aca72a7f4ff7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structlabel__parser.html">label_parser</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceCB.html#a53f211db30bb394a7e31aca72a7f4ff7">CB::cb_label</a></td></tr>
<tr class="separator:a53f211db30bb394a7e31aca72a7f4ff7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3da28c9440893fd231a6a6e49aca97c2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structlabel__parser.html">label_parser</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceCB__EVAL.html#a3da28c9440893fd231a6a6e49aca97c2">CB_EVAL::cb_eval</a></td></tr>
<tr class="separator:a3da28c9440893fd231a6a6e49aca97c2"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<h2 class="groupheader">Typedef Documentation</h2>
<a id="ababa4c0392834695d0ff6255e8d3ce77"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ababa4c0392834695d0ff6255e8d3ce77">◆ </a></span>multi_ex</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">using <a class="el" href="cb_8h.html#ababa4c0392834695d0ff6255e8d3ce77">multi_ex</a> = std::vector<<a class="el" href="structexample.html">example</a>*></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Jan 28 2022 20:01:54 for Vowpal Wabbit by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>