AI 24/25 Project Software
Documentation for the AI 24/25 course programming project software
Loading...
Searching...
No Matches
probfd::Evaluator< typename > Class Template Referenceabstract

#include "probfd/evaluator.h"

Description

template<typename>
class probfd::Evaluator< typename >

The interface representing heuristic functions.

Template Parameters
State- The state type of the underlying MDP model.

Public Member Functions

virtual value_t evaluate (param_type< State > state) const =0
 Evaluates the heuristic on a given state and returns the heuristic value.
 
virtual void print_statistics () const
 Prints statistics, e.g. the number of queries made to the interface.
 

Member Function Documentation

◆ evaluate()

template<typename >
virtual value_t probfd::Evaluator< typename >::evaluate ( param_type< State > state) const
pure virtual

Evaluates the heuristic on a given state and returns the heuristic value.

Implemented in probfd::heuristics::ConstantEvaluator< State >.

◆ print_statistics()

template<typename >
virtual void probfd::Evaluator< typename >::print_statistics ( ) const
inlinevirtual

Prints statistics, e.g. the number of queries made to the interface.

Reimplemented in probfd::heuristics::DeadEndPruningHeuristic, and probfd::heuristics::DeterminizationCostHeuristic.