AI 24/25 Project Software
Documentation for the AI 24/25 course programming project software
Loading...
Searching...
No Matches
empty_policy.h
1
2#ifndef PROBFD_POLICIES_EMPTY_POLICY_H
3#define PROBFD_POLICIES_EMPTY_POLICY_H
4
5#include "probfd/policy.h"
6
7namespace probfd::policies {
8
9template <typename State, typename Action>
10class EmptyPolicy : public Policy<State, Action> {
11public:
14 std::optional<PolicyDecision<Action>>
15 get_decision(const State&) const override
16 {
17 return std::nullopt;
18 }
19
20 void print(
21 std::ostream&,
22 std::function<void(const State&, std::ostream&)>,
23 std::function<void(const Action&, std::ostream&)>) override
24 {
25 }
26};
27
28} // namespace probfd::policies
29
30#endif