AI 24/25 Project Software
Documentation for the AI 24/25 course programming project software
|
#include "probfd/policy.h"
Represents a deterministic, stationary, partial policy.
Represents a deterministic, stationary, partial policy, i.e., a partial mapping \( S \rightharpoonup A \) from states \( S \) to actions \( A \). Additionally, provides bounding intervals for the Q* value of the policy actions.
State | - The state type of the underlying state space. |
Action | - The action type of the underlying state space. |
Public Member Functions | |
virtual std::optional< PolicyDecision< Action > > | get_decision (const State &state) const =0 |
Retrives the action and optimal state value interval specified by the policy for a given state. | |
std::vector< PolicyDecision< Action > > | get_decisions (const State &state) const override |
Retrives the actions and their optimal state value intervals specified by the policy for a given state. | |
|
pure virtual |
Retrives the action and optimal state value interval specified by the policy for a given state.
|
inlineoverridevirtual |
Retrives the actions and their optimal state value intervals specified by the policy for a given state.
Implements probfd::MultiPolicy< State, Action >.