AI 24/25 Project Software
Documentation for the AI 24/25 course programming project software
Loading...
Searching...
No Matches
lm_cut_constraints.h
1#ifndef OPERATOR_COUNTING_LM_CUT_CONSTRAINTS_H
2#define OPERATOR_COUNTING_LM_CUT_CONSTRAINTS_H
3
4#include "downward/operator_counting/constraint_generator.h"
5
6#include <memory>
7
8namespace lm_cut_heuristic {
9class LandmarkCutLandmarks;
10}
11
12namespace operator_counting {
13class LMCutConstraints : public ConstraintGenerator {
14 std::unique_ptr<lm_cut_heuristic::LandmarkCutLandmarks> landmark_generator;
15
16public:
17 LMCutConstraints();
18 ~LMCutConstraints() override;
19 virtual void initialize_constraints(
20 const std::shared_ptr<AbstractTask>& task,
21 lp::LinearProgram& lp) override;
22 virtual bool
23 update_constraints(const State& state, lp::LPSolver& lp_solver) override;
24};
25} // namespace operator_counting
26
27#endif