AI 24/25 Project Software
Documentation for the AI 24/25 course programming project software
Loading...
Searching...
No Matches
evaluators.h
1#ifndef PROBFD_CARTESIAN_EVALUATORS_H
2#define PROBFD_CARTESIAN_EVALUATORS_H
3
4#include "probfd/evaluator.h"
5#include "probfd/value_type.h"
6
7#include <vector>
8
9namespace probfd::cartesian_abstractions {
10
11class CartesianHeuristic : public Evaluator<int> {
12 std::vector<value_t> h_values_ = {0.0_vt};
13
14public:
15 [[nodiscard]]
16 value_t evaluate(int state) const final;
17
18 [[nodiscard]]
19 value_t get_h_value(int v) const;
20 void set_h_value(int v, value_t h);
21 void on_split(int v);
22};
23
24} // namespace probfd::cartesian_abstractions
25
26#endif // PROBFD_CARTESIAN_EVALUATORS_H
double value_t
Typedef for the state value type.
Definition aliases.h:7