AI 24/25 Project Software
Documentation for the AI 24/25 course programming project software
Loading...
Searching...
No Matches
canonical_pdbs_heuristic.h
1#ifndef PDBS_CANONICAL_PDBS_HEURISTIC_H
2#define PDBS_CANONICAL_PDBS_HEURISTIC_H
3
4#include "downward/pdbs/canonical_pdbs.h"
5#include "downward/pdbs/pattern_generator.h"
6
7#include "downward/heuristic.h"
8
9namespace pdbs {
10
11// Implements the canonical heuristic function.
12class CanonicalPDBsHeuristic : public Heuristic {
13 CanonicalPDBs canonical_pdbs;
14
15protected:
16 virtual int compute_heuristic(const State& ancestor_state) override;
17
18public:
19 CanonicalPDBsHeuristic(
20 const std::shared_ptr<PatternCollectionGenerator>& patterns,
21 double max_time_dominance_pruning,
22 const std::shared_ptr<AbstractTask>& transform,
23 bool cache_estimates,
24 const std::string& description,
25 utils::Verbosity verbosity);
26};
27
28} // namespace pdbs
29
30#endif