1#ifndef PROBFD_TASK_COST_FUNCTION_H
2#define PROBFD_TASK_COST_FUNCTION_H
4#include "probfd/cost_function.h"
6#include "probfd/task_proxy.h"
8#include "downward/task_utils/task_properties.h"
12class TaskCostFunction :
public SimpleCostFunction<State, OperatorID> {
13 std::shared_ptr<ProbabilisticTask> task_;
16 explicit TaskCostFunction(std::shared_ptr<ProbabilisticTask> task);
18 bool is_goal(
const State& state)
const override;
20 value_t get_non_goal_termination_cost()
const override;
22 value_t get_action_cost(OperatorID action)
override;
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