AI 24/25 Project Software
Documentation for the AI 24/25 course programming project software
|
#include "probfd/policy_pickers/stable_policy_picker.h"
CRTP base class for stable policy picker implementations.
Public Member Functions | |
int | pick_index (MDP< State, Action > &mdp, std::optional< Action > previous_greedy, const std::vector< Transition< Action > > &greedy_transitions, algorithms::StateProperties &properties) override |
Selects a greedy transition from multiple candidates by returning its index in the candidate list. | |
virtual void | print_statistics (std::ostream &) |
Prints statistics to an output stream, e.g. the number of queries made to the interface. | |
|
overridevirtual |
Selects a greedy transition from multiple candidates by returning its index in the candidate list.
mdp | - The MDP in which the search is performed. |
incumbent_greedy | - The incumbent greedy action. |
greedy_transitions | - A list of candidate greedy transitions. |
properties | - The interface to the heuristic search algorithm. Can be used to query additional information about the involved states and actions. |
Implements probfd::algorithms::PolicyPicker< State, Action >.
|
inlinevirtualinherited |
Prints statistics to an output stream, e.g. the number of queries made to the interface.