AIToolbox
A library that offers tools for AI problem solving.
Types.hpp
Go to the documentation of this file.
1
#ifndef AI_TOOLBOX_FACTORED_BANDIT_TYPES_HEADER_FILE
2
#define AI_TOOLBOX_FACTORED_BANDIT_TYPES_HEADER_FILE
3
4
#include <
AIToolbox/Types.hpp
>
5
#include <
AIToolbox/Factored/Types.hpp
>
6
#include <
AIToolbox/Factored/Utils/FactoredMatrix.hpp
>
7
8
#include <vector>
9
#include <utility>
10
11
namespace
AIToolbox::Factored::Bandit
{
19
struct
QFunctionRule
{
20
PartialAction
action
;
21
double
value
;
22
};
23
31
struct
MOQFunctionRule
{
32
PartialAction
action
;
33
Rewards
values
;
34
};
35
39
using
QFunction
=
FactoredVector
;
40
}
41
42
#endif
AIToolbox::Factored::FactoredVector
This class represents a factored vector.
Definition:
FactoredMatrix.hpp:60
AIToolbox::Factored::Bandit::MOQFunctionRule::values
Rewards values
Definition:
Types.hpp:33
AIToolbox::Factored::Rewards
Vector Rewards
Definition:
Types.hpp:71
AIToolbox::Factored::Bandit::QFunctionRule::value
double value
Definition:
Types.hpp:21
AIToolbox::Factored::Bandit::MOQFunctionRule::action
PartialAction action
Definition:
Types.hpp:32
AIToolbox::Factored::PartialAction
PartialFactors PartialAction
Definition:
Types.hpp:70
FactoredMatrix.hpp
AIToolbox::Factored::Bandit::MOQFunctionRule
This struct represents a single action/values pair.
Definition:
Types.hpp:31
AIToolbox::Factored::Bandit::QFunctionRule
This struct represents a single action/value pair.
Definition:
Types.hpp:19
Types.hpp
Types.hpp
AIToolbox::Factored::Bandit::QFunctionRule::action
PartialAction action
Definition:
Types.hpp:20
AIToolbox::Factored::Bandit
Definition:
GraphUtils.hpp:12