AI 24/25 Project Software
Documentation for the AI 24/25 course programming project software
Loading...
Searching...
No Matches
tiebreaking_open_list.h
1#ifndef OPEN_LISTS_TIEBREAKING_OPEN_LIST_H
2#define OPEN_LISTS_TIEBREAKING_OPEN_LIST_H
3
4#include "downward/open_list_factory.h"
5
6namespace tiebreaking_open_list {
7class TieBreakingOpenListFactory : public OpenListFactory {
8 std::vector<std::shared_ptr<Evaluator>> evals;
9 bool unsafe_pruning;
10 bool pref_only;
11
12public:
13 TieBreakingOpenListFactory(
14 const std::vector<std::shared_ptr<Evaluator>>& evals,
15 bool unsafe_pruning,
16 bool pref_only);
17
18 virtual std::unique_ptr<StateOpenList> create_state_open_list() override;
19 virtual std::unique_ptr<EdgeOpenList> create_edge_open_list() override;
20};
21} // namespace tiebreaking_open_list
22
23#endif