AI 24/25 Project Software
Documentation for the AI 24/25 course programming project software
Loading...
Searching...
No Matches
solver_interface.h
1#ifndef PROBFD_SOLVERS_SOLVER_INTERFACE_H
2#define PROBFD_SOLVERS_SOLVER_INTERFACE_H
3
4#include "probfd/value_type.h"
5
6#include "downward/operator_id.h"
7#include "downward/task_proxy.h"
8
9#include <iosfwd>
10#include <memory>
11
12// Forward Declarations
13namespace probfd {
14struct Interval;
15template <typename, typename>
16class Policy;
17} // namespace probfd
18
19namespace probfd {
20
21extern void print_value(std::ostream& o, value_t value);
22
23extern void print_analysis_result(Interval result);
24
25extern void print_initial_state_value(Interval value, int spaces = 0);
26
29public:
30 virtual ~SolverInterface() = default;
31
32 virtual void print_statistics() const {}
33
34 virtual bool solve() = 0;
35};
36
37} // namespace probfd
38
39#endif
Represents a deterministic, stationary, partial policy.
Definition solver_interface.h:16
An interface that describes an MDP solver.
Definition solver_interface.h:28
The top-level namespace of probabilistic Fast Downward.
Definition command_line.h:8
double value_t
Typedef for the state value type.
Definition aliases.h:7
Represents a closed interval over the extended reals as a pair of lower and upper bound.
Definition interval.h:12