AIToolbox
A library that offers tools for AI problem solving.
FactoredLP.hpp
Go to the documentation of this file.
1 #ifndef AI_TOOLBOX_FACTORED_MDP_FACTORED_LP_HEADER_FILE
2 #define AI_TOOLBOX_FACTORED_MDP_FACTORED_LP_HEADER_FILE
3 
4 #include <optional>
5 
7 
8 namespace AIToolbox::Factored::MDP {
35  class FactoredLP {
36  public:
45  FactoredLP(State s) : S(std::move(s)) {}
46 
76  std::optional<Vector> operator()(const FactoredVector & C, const FactoredVector & b, bool addConstantBasis = false);
77 
78  private:
79  State S;
80  };
81 }
82 
83 #endif
AIToolbox::Factored::MDP::FactoredLP
This class represents the Factored LP algorithm.
Definition: FactoredLP.hpp:35
AIToolbox::Factored::FactoredVector
This class represents a factored vector.
Definition: FactoredMatrix.hpp:60
AIToolbox::Factored::MDP::FactoredLP::FactoredLP
FactoredLP(State s)
Basic constructor.
Definition: FactoredLP.hpp:45
AIToolbox::Factored::MDP
Definition: CooperativePrioritizedSweeping.hpp:13
AIToolbox::Factored::State
Factors State
Definition: Types.hpp:67
AIToolbox::Factored::MDP::FactoredLP::operator()
std::optional< Vector > operator()(const FactoredVector &C, const FactoredVector &b, bool addConstantBasis=false)
This function finds the coefficients to approximate a Value Function.
Types.hpp