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
7
namespace
probfd::policies {
8
9
template
<
typename
State,
typename
Action>
10
class
EmptyPolicy :
public
Policy<State, Action> {
11
public
:
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
probfd
policies
empty_policy.h
Generated on Tue Jan 7 2025 for AI 24/25 Project Software by
1.12.0