AI 24/25 Project Software
Documentation for the AI 24/25 course programming project software
Loading...
Searching...
No Matches
modified_goals_task.h
1#ifndef TASKS_MODIFIED_GOALS_TASK_H
2#define TASKS_MODIFIED_GOALS_TASK_H
3
4#include "downward/tasks/delegating_task.h"
5
6#include <vector>
7
8namespace extra_tasks {
9class ModifiedGoalsTask : public tasks::DelegatingTask {
10 const std::vector<FactPair> goals;
11
12public:
13 ModifiedGoalsTask(
14 const std::shared_ptr<AbstractTask>& parent,
15 std::vector<FactPair>&& goals);
16 ~ModifiedGoalsTask() = default;
17
18 virtual int get_num_goals() const override;
19 virtual FactPair get_goal_fact(int index) const override;
20};
21} // namespace extra_tasks
22
23#endif