-
Notifications
You must be signed in to change notification settings - Fork 3
/
cb_8h.html
164 lines (162 loc) · 15.8 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
161
162
163
164
<!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" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Vowpal Wabbit: /nix/store/2saqbz278bj3pvhbfxlcc50cjbvs3h0h-source/vowpalwabbit/core/include/vw/core/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 id="projectrow">
<td id="projectalign">
<div id="projectname">Vowpal Wabbit
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.5 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<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:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</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">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_23e69c20c74a4591a9cfc65aaff8f3d1.html">vowpalwabbit</a></li><li class="navelem"><a class="el" href="dir_ac6a61a109948206d2936c045f349651.html">core</a></li><li class="navelem"><a class="el" href="dir_a3788c0ba6eb014618872c7f6f297f06.html">include</a></li><li class="navelem"><a class="el" href="dir_9438b6851474f9adbcfe42d9cedffbb5.html">vw</a></li><li class="navelem"><a class="el" href="dir_b7dc50cb86678a36078b49ada1830961.html">core</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 "<a class="el" href="io__buf_8h.html">vw/core/io_buf.h</a>"</code><br />
<code>#include "<a class="el" href="label__parser_8h.html">vw/core/label_parser.h</a>"</code><br />
<code>#include "<a class="el" href="multi__ex_8h.html">vw/core/multi_ex.h</a>"</code><br />
<code>#include "<a class="el" href="v__array_8h.html">vw/core/v_array.h</a>"</code><br />
<code>#include "<a class="el" href="vw__fwd_8h.html">vw/core/vw_fwd.h</a>"</code><br />
<code>#include <cfloat></code><br />
<code>#include <cstdint></code><br />
<code>#include <utility></code><br />
<code>#include <vector></code><br />
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classVW_1_1cb__class.html">VW::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">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classVW_1_1cb__label.html">VW::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">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classVW_1_1cb__eval__label.html">VW::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 id="namespaces" name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespaceVW"><td class="memItemLeft" align="right" valign="top">namespace  </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_1details"><td class="memItemLeft" align="right" valign="top">namespace  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceVW_1_1details.html">VW::details</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">namespace  </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>
<tr class="memitem:namespaceCB"><td class="memItemLeft" align="right" valign="top">namespace  </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">namespace  </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>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="typedef-members" name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:a661001c95629c7392af69996f7f97a39"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceCB.html#a661001c95629c7392af69996f7f97a39">CB::cb_class</a> = <a class="el" href="classVW_1_1cb__class.html">VW::cb_class</a></td></tr>
<tr class="separator:a661001c95629c7392af69996f7f97a39"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abe05e419ff211212d1002b37928551a0"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceCB.html#abe05e419ff211212d1002b37928551a0">CB::label</a> = <a class="el" href="classVW_1_1cb__label.html">VW::cb_label</a></td></tr>
<tr class="separator:abe05e419ff211212d1002b37928551a0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8ec674268a319f4da62968a6bbc47c3f"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceCB__EVAL.html#a8ec674268a319f4da62968a6bbc47c3f">CB_EVAL::label</a> = <a class="el" href="classVW_1_1cb__eval__label.html">VW::cb_eval_label</a></td></tr>
<tr class="separator:a8ec674268a319f4da62968a6bbc47c3f"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:afd2fd15f6d29b6ab1fe74480d0a2ddc8"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceVW.html#afd2fd15f6d29b6ab1fe74480d0a2ddc8">VW::ec_is_example_header_cb</a> (<a class="el" href="classVW_1_1example.html">VW::example</a> const &ec)</td></tr>
<tr class="separator:afd2fd15f6d29b6ab1fe74480d0a2ddc8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8801fdaaf4f1411485f8ca4867f59399"><td class="memItemLeft" align="right" valign="top">std::pair< bool, cb_class > </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceVW.html#a8801fdaaf4f1411485f8ca4867f59399">VW::get_observed_cost_cb</a> (const cb_label &ld)</td></tr>
<tr class="separator:a8801fdaaf4f1411485f8ca4867f59399"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa430cc598dc5cbf2ab9ca8a3d9e1f62b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceVW_1_1details.html#aa430cc598dc5cbf2ab9ca8a3d9e1f62b">VW::details::print_update_cb</a> (<a class="el" href="classVW_1_1workspace.html">VW::workspace</a> &all, bool is_test, const <a class="el" href="classVW_1_1example.html">VW::example</a> &ec, const <a class="el" href="namespaceVW.html#a1dd7b95816f635bc6a5906d2b566c856">VW::multi_ex</a> *ec_seq, bool action_scores, const <a class="el" href="classVW_1_1cb__class.html">VW::cb_class</a> *known_cost)</td></tr>
<tr class="separator:aa430cc598dc5cbf2ab9ca8a3d9e1f62b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7d8dd17be791067c41194104a68f4c20"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceVW_1_1model__utils.html#a7d8dd17be791067c41194104a68f4c20">VW::model_utils::read_model_field</a> (<a class="el" href="io__buf_8h.html#a446d21822c8dc0d06559cb93e4ae8317">io_buf</a> &, <a class="el" href="classVW_1_1cb__class.html">VW::cb_class</a> &)</td></tr>
<tr class="separator:a7d8dd17be791067c41194104a68f4c20"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a02c326153a99c64df440d0d98ffbdca5"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceVW_1_1model__utils.html#a02c326153a99c64df440d0d98ffbdca5">VW::model_utils::write_model_field</a> (<a class="el" href="io__buf_8h.html#a446d21822c8dc0d06559cb93e4ae8317">io_buf</a> &, const <a class="el" href="classVW_1_1cb__class.html">VW::cb_class</a> &, const std::string &, bool)</td></tr>
<tr class="separator:a02c326153a99c64df440d0d98ffbdca5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab34574d73efefa1cd9f5701b9b277667"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceVW_1_1model__utils.html#ab34574d73efefa1cd9f5701b9b277667">VW::model_utils::read_model_field</a> (<a class="el" href="io__buf_8h.html#a446d21822c8dc0d06559cb93e4ae8317">io_buf</a> &, <a class="el" href="classVW_1_1cb__label.html">VW::cb_label</a> &)</td></tr>
<tr class="separator:ab34574d73efefa1cd9f5701b9b277667"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afcf1b86e7947c2a0819e1ce6c53d5924"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceVW_1_1model__utils.html#afcf1b86e7947c2a0819e1ce6c53d5924">VW::model_utils::write_model_field</a> (<a class="el" href="io__buf_8h.html#a446d21822c8dc0d06559cb93e4ae8317">io_buf</a> &, const <a class="el" href="classVW_1_1cb__label.html">VW::cb_label</a> &, const std::string &, bool)</td></tr>
<tr class="separator:afcf1b86e7947c2a0819e1ce6c53d5924"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa22b12d519315b7a2e176f8469ea0713"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceVW_1_1model__utils.html#aa22b12d519315b7a2e176f8469ea0713">VW::model_utils::read_model_field</a> (<a class="el" href="io__buf_8h.html#a446d21822c8dc0d06559cb93e4ae8317">io_buf</a> &, <a class="el" href="classVW_1_1cb__eval__label.html">VW::cb_eval_label</a> &)</td></tr>
<tr class="separator:aa22b12d519315b7a2e176f8469ea0713"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a554518a06a197610bed5192dae3786c0"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceVW_1_1model__utils.html#a554518a06a197610bed5192dae3786c0">VW::model_utils::write_model_field</a> (<a class="el" href="io__buf_8h.html#a446d21822c8dc0d06559cb93e4ae8317">io_buf</a> &, const <a class="el" href="classVW_1_1cb__eval__label.html">VW::cb_eval_label</a> &, const std::string &, bool)</td></tr>
<tr class="separator:a554518a06a197610bed5192dae3786c0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae4c1d8872c981abd321b7b6c1588eb6a"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceCB.html#ae4c1d8872c981abd321b7b6c1588eb6a">CB::ec_is_example_header</a> (<a class="el" href="classVW_1_1example.html">VW::example</a> const &ec)</td></tr>
<tr class="separator:ae4c1d8872c981abd321b7b6c1588eb6a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5172d13aba4200a1a92ddc7509bb82fb"><td class="memItemLeft" align="right" valign="top">std::pair< bool, <a class="el" href="classVW_1_1cb__class.html">VW::cb_class</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceCB.html#a5172d13aba4200a1a92ddc7509bb82fb">CB::get_observed_cost_cb</a> (const <a class="el" href="classVW_1_1cb__label.html">VW::cb_label</a> &ld)</td></tr>
<tr class="separator:a5172d13aba4200a1a92ddc7509bb82fb"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="var-members" name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:a01d9e9f987e6c8c8d5ceb5ef00f34ecf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classVW_1_1label__parser.html">VW::label_parser</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceVW.html#a01d9e9f987e6c8c8d5ceb5ef00f34ecf">VW::cb_label_parser_global</a></td></tr>
<tr class="separator:a01d9e9f987e6c8c8d5ceb5ef00f34ecf"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a692a4c99c7bc78a145f0de890f320207"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classVW_1_1label__parser.html">VW::label_parser</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceVW.html#a692a4c99c7bc78a145f0de890f320207">VW::cb_eval_label_parser_global</a></td></tr>
<tr class="separator:a692a4c99c7bc78a145f0de890f320207"><td class="memSeparator" colspan="2"> </td></tr>
</table>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5
</small></address>
</body>
</html>