AI 24/25 Project Software
Documentation for the AI 24/25 course programming project software
Loading...
Searching...
No Matches
distances.h
1#ifndef PROBFD_ABSTRACTIONS_DISTANCES_H
2#define PROBFD_ABSTRACTIONS_DISTANCES_H
3
4#include "probfd/pdbs/types.h"
5
6#include "probfd/type_traits.h"
7#include "probfd/value_type.h"
8
9#include <limits>
10#include <span>
11
12// Forward Declarations
13namespace probfd {
14template <typename>
15class Evaluator;
16template <typename, typename>
17class MDP;
18} // namespace probfd
19
20namespace probfd {
21
26template <typename State, typename Action>
28 MDP<State, Action>& mdp,
29 param_type<State> initial_state,
30 const Evaluator<State>& heuristic,
31 std::span<value_t> value_table,
32 double max_time = std::numeric_limits<double>::infinity());
33
34} // namespace probfd
35
36#define GUARD_INCLUDE_PROBFD_ABSTRACTIONS_DISTANCES_H
37#include "probfd/abstractions/distances_impl.h"
38#undef GUARD_INCLUDE_PROBFD_ABSTRACTIONS_DISTANCES_H
39
40#endif
The top-level namespace of probabilistic Fast Downward.
Definition command_line.h:8
void compute_value_table(MDP< State, Action > &mdp, param_type< State > initial_state, const Evaluator< State > &heuristic, std::span< value_t > value_table, double max_time=std::numeric_limits< double >::infinity())
Computes the optimal value function of the abstraction, complete up to forward reachability from the ...
Definition distances_impl.h:22
typename std::conditional_t< is_cheap_to_copy_v< T >, T, const T & > param_type
Alias template defining the best way to pass a parameter of a given type.
Definition type_traits.h:25