AIToolbox
A library that offers tools for AI problem solving.
Types.hpp
Go to the documentation of this file.
1
#ifndef AI_TOOLBOX_FACTORED_MDP_TYPES_HEADER_FILE
2
#define AI_TOOLBOX_FACTORED_MDP_TYPES_HEADER_FILE
3
4
#include <
AIToolbox/Types.hpp
>
5
#include <
AIToolbox/Factored/Types.hpp
>
6
#include <
AIToolbox/Factored/Utils/FactoredMatrix.hpp
>
7
8
namespace
AIToolbox::Factored::MDP
{
18
struct
ValueFunction
{
19
FactoredVector
values
;
20
Vector
weights
;
21
};
22
26
using
QFunction
=
FactoredMatrix2D
;
27
35
struct
QFunctionRule
{
36
PartialState
state
;
37
PartialAction
action
;
38
double
value
;
39
};
40
48
struct
MOQFunctionRule
{
49
PartialState
state
;
50
PartialAction
action
;
51
Rewards
values
;
52
};
53
}
54
55
#endif
AIToolbox::Factored::FactoredVector
This class represents a factored vector.
Definition:
FactoredMatrix.hpp:60
AIToolbox::Factored::MDP::ValueFunction
This struct represents a factored ValueFunction.
Definition:
Types.hpp:18
AIToolbox::Factored::PartialState
PartialFactors PartialState
Definition:
Types.hpp:68
AIToolbox::Factored::MDP::MOQFunctionRule::values
Rewards values
Definition:
Types.hpp:51
AIToolbox::Factored::Rewards
Vector Rewards
Definition:
Types.hpp:71
AIToolbox::Factored::MDP
Definition:
CooperativePrioritizedSweeping.hpp:13
AIToolbox::Factored::MDP::QFunctionRule::state
PartialState state
Definition:
Types.hpp:36
AIToolbox::Factored::FactoredMatrix2D
This class represents a factored 2D matrix.
Definition:
FactoredMatrix.hpp:140
AIToolbox::Factored::MDP::MOQFunctionRule::action
PartialAction action
Definition:
Types.hpp:50
AIToolbox::Factored::PartialAction
PartialFactors PartialAction
Definition:
Types.hpp:70
AIToolbox::Vector
Eigen::Matrix< double, Eigen::Dynamic, 1 > Vector
Definition:
Types.hpp:16
FactoredMatrix.hpp
AIToolbox::Factored::MDP::QFunctionRule::action
PartialAction action
Definition:
Types.hpp:37
AIToolbox::Factored::MDP::ValueFunction::values
FactoredVector values
Definition:
Types.hpp:19
AIToolbox::Factored::MDP::MOQFunctionRule::state
PartialState state
Definition:
Types.hpp:49
AIToolbox::Factored::MDP::ValueFunction::weights
Vector weights
Definition:
Types.hpp:20
Types.hpp
Types.hpp
AIToolbox::Factored::MDP::MOQFunctionRule
This struct represents a single state/action/values tuple.
Definition:
Types.hpp:48
AIToolbox::Factored::MDP::QFunctionRule
This struct represents a single state/action/value tuple.
Definition:
Types.hpp:35
AIToolbox::Factored::MDP::QFunctionRule::value
double value
Definition:
Types.hpp:38