AIToolbox
A library that offers tools for AI problem solving.
|
This class offers projecting facilities for Models. More...
#include <AIToolbox/POMDP/Algorithms/Utils/Projecter.hpp>
Public Types | |
using | ProjectionsTable = boost::multi_array< VList, 2 > |
using | ProjectionsRow = boost::multi_array< VList, 1 > |
Public Member Functions | |
Projecter (const M &model) | |
Basic constructor. More... | |
ProjectionsTable | operator() (const VList &w) |
This function returns all possible projections for the provided VList. More... | |
ProjectionsRow | operator() (const VList &w, size_t a) |
This function returns all possible projections for the provided VList and action. More... | |
This class offers projecting facilities for Models.
using AIToolbox::POMDP::Projecter< M >::ProjectionsRow = boost::multi_array<VList, 1> |
using AIToolbox::POMDP::Projecter< M >::ProjectionsTable = boost::multi_array<VList, 2> |
AIToolbox::POMDP::Projecter< M >::Projecter | ( | const M & | model | ) |
Basic constructor.
This constructor initializes the internal immediate reward table and the table containing what are the possible observations for the model (this may speed up the computation of the projections).
model | The model that is used as a base for all projections. |
Projecter< M >::ProjectionsTable AIToolbox::POMDP::Projecter< M >::operator() | ( | const VList & | w | ) |
This function returns all possible projections for the provided VList.
w | The list that needs to be projected. |
Projecter< M >::ProjectionsRow AIToolbox::POMDP::Projecter< M >::operator() | ( | const VList & | w, |
size_t | a | ||
) |
This function returns all possible projections for the provided VList and action.
w | The list that needs to be projected. |
a | The action used for projecting the list. |