AIToolbox
A library that offers tools for AI problem solving.
LinearProgramming.hpp
Go to the documentation of this file.
1 #ifndef AI_TOOLBOX_FACTORED_MDP_LINEAR_PROGRAMMING_HEADER_FILE
2 #define AI_TOOLBOX_FACTORED_MDP_LINEAR_PROGRAMMING_HEADER_FILE
3 
4 #include <optional>
5 
6 #include <AIToolbox/Types.hpp>
10 
11 namespace AIToolbox::Factored::MDP {
31  public:
40  std::tuple<Vector, QFunction> operator()(const CooperativeModel & m, const FactoredVector & h) const;
41 
42  private:
52  std::optional<Vector> solveLP(const CooperativeModel & m, const FactoredMatrix2D & g, const FactoredVector & h) const;
53  };
54 }
55 
56 #endif
AIToolbox::Factored::FactoredVector
This class represents a factored vector.
Definition: FactoredMatrix.hpp:60
AIToolbox::Factored::MDP::LinearProgramming
This class solves a factored MDP with Linear Programming.
Definition: LinearProgramming.hpp:30
AIToolbox::Factored::MDP
Definition: CooperativePrioritizedSweeping.hpp:13
AIToolbox::Factored::FactoredMatrix2D
This class represents a factored 2D matrix.
Definition: FactoredMatrix.hpp:140
CooperativeModel.hpp
FactoredMatrix.hpp
BayesianNetwork.hpp
AIToolbox::Factored::MDP::LinearProgramming::operator()
std::tuple< Vector, QFunction > operator()(const CooperativeModel &m, const FactoredVector &h) const
This function solves the input MDP using linear programming.
Types.hpp
AIToolbox::Factored::MDP::CooperativeModel
This class models a cooperative MDP.
Definition: CooperativeModel.hpp:18