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 TASKS_MODIFIED_OPERATOR_COSTS_TASK_H
2#define TASKS_MODIFIED_OPERATOR_COSTS_TASK_H
3
4#include "downward/tasks/delegating_task.h"
5
6#include <vector>
7
8namespace extra_tasks {
9class ModifiedOperatorCostsTask : public tasks::DelegatingTask {
10 const std::vector<int> operator_costs;
11
12public:
13 ModifiedOperatorCostsTask(
14 const std::shared_ptr<AbstractTask>& parent,
15 std::vector<int>&& costs);
16 virtual ~ModifiedOperatorCostsTask() override = default;
17
18 virtual int get_operator_cost(int index) const override;
19};
20} // namespace extra_tasks
21
22#endif