-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathLookaheadResult.h
More file actions
29 lines (22 loc) · 848 Bytes
/
Copy pathLookaheadResult.h
File metadata and controls
29 lines (22 loc) · 848 Bytes
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
#pragma once
#include "CustomSettings.h"
#include <unsupported/Eigen/CXX11/Tensor>
// The result of a lookahead
struct LookaheadResult
{
//-- An AxK tensor containing the re - solve player's strategy at the
//-- root of the lookahead, where A is the number of actions and K is the range size
ArrayXX strategy;
// A vector of the opponent's average counterfactual values at the
// root of the lookahead
ArrayX achieved_cfvs;
// A vector of our average counterfactual values at the
// root of the lookahead
ArrayX root_cfvs;
// A vector of average counterfactual values at the
// root of the lookahead for both players
ArrayXX root_cfvs_both_players;
//-- An AxK tensor of opponent average counterfactual values after
//-- each action that the re - solve player can take at the root of the lookahead
ArrayXX children_cfvs;
};