AI 24/25 Project Software
Documentation for the AI 24/25 course programming project software
Loading...
Searching...
No Matches
task_cost_function.h
1#ifndef PROBFD_TASK_COST_FUNCTION_H
2#define PROBFD_TASK_COST_FUNCTION_H
3
4#include "probfd/cost_function.h"
5
6#include "probfd/task_proxy.h"
7
8#include "downward/task_utils/task_properties.h"
9
10namespace probfd {
11
12class TaskCostFunction : public SimpleCostFunction<State, OperatorID> {
13 std::shared_ptr<ProbabilisticTask> task_;
14
15public:
16 explicit TaskCostFunction(std::shared_ptr<ProbabilisticTask> task);
17
18 bool is_goal(const State& state) const override;
19
20 value_t get_non_goal_termination_cost() const override;
21
22 value_t get_action_cost(OperatorID action) override;
23};
24
25} // namespace probfd
26
27#endif
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