AI 24/25 Project Software
Documentation for the AI 24/25 course programming project software
Loading...
Searching...
No Matches
merge_scoring_function_goal_relevance.h
1#ifndef MERGE_AND_SHRINK_MERGE_SCORING_FUNCTION_GOAL_RELEVANCE_H
2#define MERGE_AND_SHRINK_MERGE_SCORING_FUNCTION_GOAL_RELEVANCE_H
3
4#include "downward/merge_and_shrink/merge_scoring_function.h"
5
6namespace merge_and_shrink {
7class MergeScoringFunctionGoalRelevance : public MergeScoringFunction {
8 virtual std::string name() const override;
9
10public:
11 MergeScoringFunctionGoalRelevance() = default;
12 virtual std::vector<double> compute_scores(
13 const FactoredTransitionSystem& fts,
14 const std::vector<std::pair<int, int>>& merge_candidates) override;
15
16 virtual bool requires_init_distances() const override { return false; }
17
18 virtual bool requires_goal_distances() const override { return false; }
19};
20} // namespace merge_and_shrink
21
22#endif