AI 24/25 Project Software
Documentation for the AI 24/25 course programming project software
Loading...
Searching...
No Matches
hroc_constraints.h
1#ifndef PROBFD_OCCUPATION_MEASURES_HROC_CONSTRAINTS_H
2#define PROBFD_OCCUPATION_MEASURES_HROC_CONSTRAINTS_H
3
4#include "probfd/occupation_measures/constraint_generator.h"
5
6#include "probfd/fdr_types.h"
7
8#include <cstddef>
9#include <memory>
10#include <vector>
11
12// Forward Declarations
13class State;
14
15namespace lp {
16class LPSolver;
17class LinearProgram;
18} // namespace lp
19
20namespace probfd {
21class ProbabilisticTask;
22}
23
25
30class HROCGenerator : public ConstraintGenerator {
31 std::vector<std::size_t> ncc_offsets_;
32
33public:
34 void initialize_constraints(
35 const std::shared_ptr<ProbabilisticTask>& task,
36 const std::shared_ptr<FDRCostFunction>& task_cost_function,
37 lp::LinearProgram& lp) final;
38
39 void update_constraints(const State& state, lp::LPSolver& solver) final;
40 void reset_constraints(const State& state, lp::LPSolver& solver) final;
41};
42
43} // namespace probfd::occupation_measures
44
45#endif // PROBFD_OCCUPATION_MEASURES_HROC_CONSTRAINTS_H
Implements the regrouped operator counting heuristic constraints trevizan:etal:icaps-17 .
Definition hroc_constraints.h:30
Namespace dedicated to occupation measure heuristic base classes.
Definition occupation_measure_heuristic.h:10
The top-level namespace of probabilistic Fast Downward.
Definition command_line.h:8