AIToolbox
A library that offers tools for AI problem solving.
VariableElimination.hpp
Go to the documentation of this file.
1 #ifndef AI_TOOLBOX_FACTORED_BANDIT_VARIABLE_ELIMINATION_HEADER_FILE
2 #define AI_TOOLBOX_FACTORED_BANDIT_VARIABLE_ELIMINATION_HEADER_FILE
3 
6 
42  public:
43  using Result = std::tuple<Action, double>;
44 
45  // Value of rule, tags of processed actions
46  using Factor = std::pair<double, std::vector<std::pair<size_t, size_t>>>;
48  using Graph = GVE::Graph;
49 
72  Result operator()(const Action & A, Graph & graph);
73  };
74 }
75 
76 #endif
AIToolbox::Factored::Bandit::VariableElimination::Result
std::tuple< Action, double > Result
Definition: VariableElimination.hpp:43
GenericVariableElimination.hpp
Types.hpp
AIToolbox::Factored::Bandit::VariableElimination::operator()
Result operator()(const Action &A, Graph &graph)
This function performs the actual agent elimination process.
AIToolbox::Factored::FactorGraph
This class offers a minimal interface to manager a factor graph.
Definition: FactorGraph.hpp:31
AIToolbox::Factored::Bandit::VariableElimination::Factor
std::pair< double, std::vector< std::pair< size_t, size_t > >> Factor
Definition: VariableElimination.hpp:46
AIToolbox::Factored::GenericVariableElimination
This class represents the Variable Elimination algorithm.
Definition: GenericVariableElimination.hpp:72
AIToolbox::Factored::Bandit::VariableElimination
This class represents the Variable Elimination algorithm.
Definition: VariableElimination.hpp:41
AIToolbox::Factored::GenericVariableElimination::Graph
FactorGraph< Rules > Graph
Definition: GenericVariableElimination.hpp:76
AIToolbox::Factored::Action
Factors Action
Definition: Types.hpp:69
AIToolbox::Factored::Bandit
Definition: GraphUtils.hpp:12