1#ifndef PROBFD_TASKS_MODIFIED_OPERATOR_COSTS_TASK_H
2#define PROBFD_TASKS_MODIFIED_OPERATOR_COSTS_TASK_H
4#include "probfd/tasks/delegating_task.h"
6#include "probfd/value_type.h"
11namespace probfd::extra_tasks {
13class ModifiedOperatorCostsTask :
public tasks::DelegatingTask {
14 std::vector<value_t> operator_costs_;
17 ModifiedOperatorCostsTask(
18 const std::shared_ptr<ProbabilisticTask>& parent,
19 std::vector<value_t> costs);
20 ~ModifiedOperatorCostsTask()
override =
default;
22 value_t get_operator_cost(
int index)
const override;
23 void set_operator_cost(
int index,
value_t cost);
double value_t
Typedef for the state value type.
Definition aliases.h:7