-
Notifications
You must be signed in to change notification settings - Fork 210
/
index.html
298 lines (281 loc) · 12.2 KB
/
index.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
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<head>
<title>DeepStack for Leduc Hold'em</title>
<link rel="stylesheet" href="ldoc.css" type="text/css" />
</head>
<body>
<div id="container">
<div id="product">
<div id="product_logo"></div>
<div id="product_name"><big><b></b></big></div>
<div id="product_description"></div>
</div> <!-- id="product" -->
<div id="main">
<!-- Menu -->
<div id="navigation">
<br/>
<h1>DeepStack Leduc</h1>
<h2>Modules</h2>
<ul class="nowrap">
<li><a href="modules/data_generation.html">data_generation</a></li>
<li><a href="modules/data_generation_call.html">data_generation_call</a></li>
<li><a href="modules/random_card_generator.html">random_card_generator</a></li>
<li><a href="modules/evaluator.html">evaluator</a></li>
<li><a href="modules/card_to_string_conversion.html">card_to_string_conversion</a></li>
<li><a href="modules/card_tools.html">card_tools</a></li>
<li><a href="modules/net_builder.html">net_builder</a></li>
<li><a href="modules/arguments.html">arguments</a></li>
<li><a href="modules/constants.html">constants</a></li>
<li><a href="modules/game_settings.html">game_settings</a></li>
<li><a href="modules/train.html">train</a></li>
<li><a href="modules/tools.html">tools</a></li>
</ul>
<h2>Scripts</h2>
<ul class="nowrap">
<li><a href="scripts/main_data_generation.html">main_data_generation</a></li>
<li><a href="scripts/cpu_gpu_model_converter.html">cpu_gpu_model_converter</a></li>
<li><a href="scripts/deepstack.html">deepstack</a></li>
<li><a href="scripts/main_train.html">main_train</a></li>
</ul>
<h2>Classes</h2>
<ul class="nowrap">
<li><a href="classes/acpc_game.html">acpc_game</a></li>
<li><a href="classes/network_communication.html">network_communication</a></li>
<li><a href="classes/protocol_to_node.html">protocol_to_node</a></li>
<li><a href="classes/range_generator.html">range_generator</a></li>
<li><a href="classes/bet_sizing.html">bet_sizing</a></li>
<li><a href="classes/cfrd_gadget.html">cfrd_gadget</a></li>
<li><a href="classes/lookahead.html">lookahead</a></li>
<li><a href="classes/lookahead_builder.html">lookahead_builder</a></li>
<li><a href="classes/mock_resolving.html">mock_resolving</a></li>
<li><a href="classes/resolving.html">resolving</a></li>
<li><a href="classes/bucket_conversion.html">bucket_conversion</a></li>
<li><a href="classes/bucketer.html">bucketer</a></li>
<li><a href="classes/masked_huber_loss.html">masked_huber_loss</a></li>
<li><a href="classes/mock_nn_terminal.html">mock_nn_terminal</a></li>
<li><a href="classes/next_round_value.html">next_round_value</a></li>
<li><a href="classes/value_nn.html">value_nn</a></li>
<li><a href="classes/continual_resolving.html">continual_resolving</a></li>
<li><a href="classes/terminal_equity.html">terminal_equity</a></li>
<li><a href="classes/data_stream.html">data_stream</a></li>
<li><a href="classes/strategy_filling.html">strategy_filling</a></li>
<li><a href="classes/tree_builder.html">tree_builder</a></li>
<li><a href="classes/tree_cfr.html">tree_cfr</a></li>
<li><a href="classes/tree_strategy_filling.html">tree_strategy_filling</a></li>
<li><a href="classes/tree_values.html">tree_values</a></li>
<li><a href="classes/tree_visualiser.html">tree_visualiser</a></li>
</ul>
<h2>Manual</h2>
<ul class="nowrap">
<li><a href="manual/tutorial.md.html">tutorial</a></li>
<li><a href="manual/internals.md.html">internals</a></li>
</ul>
</div>
<div id="content">
<h2>DeepStack for Leduc Hold'em and variants</h2>
<h2>Modules</h2>
<table class="module_list">
<tr>
<td class="name" nowrap><a href="modules/data_generation.html">data_generation</a></td>
<td class="summary">Generates neural net training data by solving random poker situations.</td>
</tr>
<tr>
<td class="name" nowrap><a href="modules/data_generation_call.html">data_generation_call</a></td>
<td class="summary">Generates neural net training data by evaluating terminal equity for poker
situations.</td>
</tr>
<tr>
<td class="name" nowrap><a href="modules/random_card_generator.html">random_card_generator</a></td>
<td class="summary">Samples random card combinations.</td>
</tr>
<tr>
<td class="name" nowrap><a href="modules/evaluator.html">evaluator</a></td>
<td class="summary">Evaluates hand strength in Leduc Hold'em and variants.</td>
</tr>
<tr>
<td class="name" nowrap><a href="modules/card_to_string_conversion.html">card_to_string_conversion</a></td>
<td class="summary">Converts between string and numeric representations of cards.</td>
</tr>
<tr>
<td class="name" nowrap><a href="modules/card_tools.html">card_tools</a></td>
<td class="summary">A set of tools for basic operations on cards and sets of cards.</td>
</tr>
<tr>
<td class="name" nowrap><a href="modules/net_builder.html">net_builder</a></td>
<td class="summary">Builds the neural net architecture.</td>
</tr>
<tr>
<td class="name" nowrap><a href="modules/arguments.html">arguments</a></td>
<td class="summary">Parameters for DeepStack.</td>
</tr>
<tr>
<td class="name" nowrap><a href="modules/constants.html">constants</a></td>
<td class="summary">Various constants used in DeepStack.</td>
</tr>
<tr>
<td class="name" nowrap><a href="modules/game_settings.html">game_settings</a></td>
<td class="summary">Game constants which define the game played by DeepStack.</td>
</tr>
<tr>
<td class="name" nowrap><a href="modules/train.html">train</a></td>
<td class="summary">Trains the neural network.</td>
</tr>
<tr>
<td class="name" nowrap><a href="modules/tools.html">tools</a></td>
<td class="summary">Assorted tools.</td>
</tr>
</table>
<h2>Scripts</h2>
<table class="module_list">
<tr>
<td class="name" nowrap><a href="scripts/main_data_generation.html">main_data_generation</a></td>
<td class="summary">Script that generates training and validation files.</td>
</tr>
<tr>
<td class="name" nowrap><a href="scripts/cpu_gpu_model_converter.html">cpu_gpu_model_converter</a></td>
<td class="summary">Generates a neural net model in CPU format from a neural net model saved
in GPU format.</td>
</tr>
<tr>
<td class="name" nowrap><a href="scripts/deepstack.html">deepstack</a></td>
<td class="summary">Performs the main loop for DeepStack.</td>
</tr>
<tr>
<td class="name" nowrap><a href="scripts/main_train.html">main_train</a></td>
<td class="summary">Script that trains the neural network.</td>
</tr>
</table>
<h2>Classes</h2>
<table class="module_list">
<tr>
<td class="name" nowrap><a href="classes/acpc_game.html">acpc_game</a></td>
<td class="summary">Handles communication to and from DeepStack using the ACPC protocol.</td>
</tr>
<tr>
<td class="name" nowrap><a href="classes/network_communication.html">network_communication</a></td>
<td class="summary">Handles network communication for DeepStack.</td>
</tr>
<tr>
<td class="name" nowrap><a href="classes/protocol_to_node.html">protocol_to_node</a></td>
<td class="summary">Converts between DeepStack's internal representation and the ACPC protocol
used to communicate with the dealer.</td>
</tr>
<tr>
<td class="name" nowrap><a href="classes/range_generator.html">range_generator</a></td>
<td class="summary">Samples random probability vectors for use as player ranges.</td>
</tr>
<tr>
<td class="name" nowrap><a href="classes/bet_sizing.html">bet_sizing</a></td>
<td class="summary">Gives allowed bets during a game.</td>
</tr>
<tr>
<td class="name" nowrap><a href="classes/cfrd_gadget.html">cfrd_gadget</a></td>
<td class="summary">Uses the the CFR-D gadget to generate opponent ranges for re-solving.</td>
</tr>
<tr>
<td class="name" nowrap><a href="classes/lookahead.html">lookahead</a></td>
<td class="summary">A depth-limited lookahead of the game tree used for re-solving.</td>
</tr>
<tr>
<td class="name" nowrap><a href="classes/lookahead_builder.html">lookahead_builder</a></td>
<td class="summary">Builds the internal data structures of a <a href="classes/lookahead.html#">Lookahead</a> object.</td>
</tr>
<tr>
<td class="name" nowrap><a href="classes/mock_resolving.html">mock_resolving</a></td>
<td class="summary">Implements the re-solving interface used by <a href="classes/resolving.html#">resolving</a> with functions
that do nothing.</td>
</tr>
<tr>
<td class="name" nowrap><a href="classes/resolving.html">resolving</a></td>
<td class="summary">Implements depth-limited re-solving at a node of the game tree.</td>
</tr>
<tr>
<td class="name" nowrap><a href="classes/bucket_conversion.html">bucket_conversion</a></td>
<td class="summary">Converts between vectors over private hands and vectors over buckets.</td>
</tr>
<tr>
<td class="name" nowrap><a href="classes/bucketer.html">bucketer</a></td>
<td class="summary">Assigns hands to buckets on the given board.</td>
</tr>
<tr>
<td class="name" nowrap><a href="classes/masked_huber_loss.html">masked_huber_loss</a></td>
<td class="summary">Computes a Huber loss for neural net training and evaluation.</td>
</tr>
<tr>
<td class="name" nowrap><a href="classes/mock_nn_terminal.html">mock_nn_terminal</a></td>
<td class="summary">Implements the same interface as <a href="classes/value_nn.html#">value_nn</a>, but without uses terminal
equity evaluation instead of a neural net.</td>
</tr>
<tr>
<td class="name" nowrap><a href="classes/next_round_value.html">next_round_value</a></td>
<td class="summary">Uses the neural net to estimate value at the end of the first betting round.</td>
</tr>
<tr>
<td class="name" nowrap><a href="classes/value_nn.html">value_nn</a></td>
<td class="summary">Wraps the calls to the final neural net.</td>
</tr>
<tr>
<td class="name" nowrap><a href="classes/continual_resolving.html">continual_resolving</a></td>
<td class="summary">Performs the main steps of continual re-solving, tracking player range
and opponent counterfactual values so that re-solving can be done at each
new game state.</td>
</tr>
<tr>
<td class="name" nowrap><a href="classes/terminal_equity.html">terminal_equity</a></td>
<td class="summary">Evaluates player equities at terminal nodes of the game's public tree.</td>
</tr>
<tr>
<td class="name" nowrap><a href="classes/data_stream.html">data_stream</a></td>
<td class="summary">Handles the data used for neural net training and validation.</td>
</tr>
<tr>
<td class="name" nowrap><a href="classes/strategy_filling.html">strategy_filling</a></td>
<td class="summary">Fills a game's public tree with a uniform strategy.</td>
</tr>
<tr>
<td class="name" nowrap><a href="classes/tree_builder.html">tree_builder</a></td>
<td class="summary">Builds a public tree for Leduc Hold'em or variants.</td>
</tr>
<tr>
<td class="name" nowrap><a href="classes/tree_cfr.html">tree_cfr</a></td>
<td class="summary">Runs Counterfactual Regret Minimization (CFR) to approximately
solve a game represented by a complete game tree.</td>
</tr>
<tr>
<td class="name" nowrap><a href="classes/tree_strategy_filling.html">tree_strategy_filling</a></td>
<td class="summary">Recursively performs continual re-solving at every node of a public tree to
generate the DeepStack strategy for the entire game.</td>
</tr>
<tr>
<td class="name" nowrap><a href="classes/tree_values.html">tree_values</a></td>
<td class="summary">Computes the expected value of a strategy profile on a game's public tree,
as well as the value of a best response against the profile.</td>
</tr>
<tr>
<td class="name" nowrap><a href="classes/tree_visualiser.html">tree_visualiser</a></td>
<td class="summary">Generates visual representations of game trees.</td>
</tr>
</table>
<h2>Manual</h2>
<table class="module_list">
<tr>
<td class="name" nowrap><a href="manual/tutorial.md.html">tutorial.md</a></td>
<td class="summary"></td>
</tr>
<tr>
<td class="name" nowrap><a href="manual/internals.md.html">internals.md</a></td>
<td class="summary"></td>
</tr>
</table>
</div> <!-- id="content" -->
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.6</a></i>
<i style="float:right;">Last updated 2017-04-04 17:03:20 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
</html>