AI 24/25 Project Software
Documentation for the AI 24/25 course programming project software
Loading...
Searching...
No Matches
probfd::algorithms::TransitionSorter< State, Action > Class Template Referenceabstract

#include "probfd/algorithms/transition_sorter.h"

Description

template<typename State, typename Action>
class probfd::algorithms::TransitionSorter< State, Action >

An interface used to reorder a list of transitions.

Template Parameters
Action- The action type of the underlying MDP model.

Public Member Functions

virtual void sort (param_type< State > state, const std::vector< Action > &aops, std::vector< Distribution< StateID > > &successors, StateProperties &properties)=0
 Sorts a list of transitions.
 

Member Function Documentation

◆ sort()

template<typename State , typename Action >
virtual void probfd::algorithms::TransitionSorter< State, Action >::sort ( param_type< State > state,
const std::vector< Action > & aops,
std::vector< Distribution< StateID > > & successors,
StateProperties & properties )
pure virtual

Sorts a list of transitions.

Parameters
state- The common source state for all transitions
aops- The transition actions
successors- The successor distributions of the transitions. To be sorted.
properties- The interface to the heuristic search algorithm. Can be used to query additional information about the involved states and actions.