AI 24/25 Project Software
Documentation for the AI 24/25 course programming project software
Loading...
Searching...
No Matches
modified_operator_costs_task.h
1#ifndef PROBFD_TASKS_MODIFIED_OPERATOR_COSTS_TASK_H
2#define PROBFD_TASKS_MODIFIED_OPERATOR_COSTS_TASK_H
3
4#include "probfd/tasks/delegating_task.h" // IWYU pragma: export
5
6#include "probfd/value_type.h"
7
8#include <memory>
9#include <vector>
10
11namespace probfd::extra_tasks {
12
13class ModifiedOperatorCostsTask : public tasks::DelegatingTask {
14 std::vector<value_t> operator_costs_;
15
16public:
17 ModifiedOperatorCostsTask(
18 const std::shared_ptr<ProbabilisticTask>& parent,
19 std::vector<value_t> costs);
20 ~ModifiedOperatorCostsTask() override = default;
21
22 value_t get_operator_cost(int index) const override;
23 void set_operator_cost(int index, value_t cost);
24};
25
26} // namespace probfd::extra_tasks
27
28#endif
double value_t
Typedef for the state value type.
Definition aliases.h:7