AI 24/25 Project Software
Documentation for the AI 24/25 course programming project software
|
#include "probfd/evaluator.h"
The interface representing heuristic functions.
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. | |
|
pure virtual |
Evaluates the heuristic on a given state and returns the heuristic value.
Implemented in probfd::heuristics::ConstantEvaluator< State >.
|
inlinevirtual |
Prints statistics, e.g. the number of queries made to the interface.
Reimplemented in probfd::heuristics::DeadEndPruningHeuristic, and probfd::heuristics::DeterminizationCostHeuristic.