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 PROBFD_TASKS_MODIFIED_GOALS_TASK_H
2#define PROBFD_TASKS_MODIFIED_GOALS_TASK_H
3
4#include "probfd/tasks/delegating_task.h" // IWYU pragma: export
5
6#include <memory>
7#include <vector>
8
9namespace probfd::extra_tasks {
10
11class ModifiedGoalsTask : public tasks::DelegatingTask {
12 const std::vector<FactPair> goals_;
13
14public:
15 ModifiedGoalsTask(
16 const std::shared_ptr<ProbabilisticTask>& parent,
17 std::vector<FactPair>&& goals);
18 ~ModifiedGoalsTask() override = default;
19
20 int get_num_goals() const override;
21 FactPair get_goal_fact(int index) const override;
22};
23
24} // namespace probfd::extra_tasks
25
26#endif