#include "probfd/solvers/mdp_solver.h"
Base interface for MDP solvers.
|
| MDPSolver (utils::Verbosity verbosity, std::vector< std::shared_ptr<::Evaluator > > path_dependent_evaluators, bool cache, std::shared_ptr< TaskEvaluatorFactory > heuristic_factory, std::optional< value_t > report_epsilon, bool report_enabled, double max_time, std::string policy_filename, bool print_fact_names) |
| Constructs the MDP solver from the given arguments.
|
|
virtual std::unique_ptr< FDRMDPAlgorithm > | create_algorithm ()=0 |
| Factory method a new instance of the encapsulated MDP algorithm.
|
|
virtual std::string | get_algorithm_name () const =0 |
| Returns the name of the encapsulated MDP algorithm.
|
|
virtual void | print_additional_statistics () const |
| Print additional algorithm statistics to std::cout.
|
|
bool | solve () override |
| Runs the encapsulated MDP on the global problem.
|
|
◆ MDPSolver()
probfd::solvers::MDPSolver::MDPSolver |
( |
utils::Verbosity | verbosity, |
|
|
std::vector< std::shared_ptr<::Evaluator > > | path_dependent_evaluators, |
|
|
bool | cache, |
|
|
std::shared_ptr< TaskEvaluatorFactory > | heuristic_factory, |
|
|
std::optional< value_t > | report_epsilon, |
|
|
bool | report_enabled, |
|
|
double | max_time, |
|
|
std::string | policy_filename, |
|
|
bool | print_fact_names ) |
Constructs the MDP solver from the given arguments.
◆ create_algorithm()
virtual std::unique_ptr< FDRMDPAlgorithm > probfd::solvers::MDPSolver::create_algorithm |
( |
| ) |
|
|
pure virtual |
Factory method a new instance of the encapsulated MDP algorithm.
◆ get_algorithm_name()
virtual std::string probfd::solvers::MDPSolver::get_algorithm_name |
( |
| ) |
const |
|
pure virtual |
Returns the name of the encapsulated MDP algorithm.
◆ print_additional_statistics()
virtual void probfd::solvers::MDPSolver::print_additional_statistics |
( |
| ) |
const |
|
inlinevirtual |
Print additional algorithm statistics to std::cout.
◆ solve()
bool probfd::solvers::MDPSolver::solve |
( |
| ) |
|
|
overridevirtual |