Skip to content

Commit

Permalink
[issue1082] style.
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonDold committed Feb 7, 2024
1 parent a956c83 commit 9fe28ad
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 6 deletions.
2 changes: 0 additions & 2 deletions src/search/heuristics/additive_heuristic.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,6 @@ class AdditiveHeuristic : public relaxation_heuristic::RelaxationHeuristic {
};

extern std::shared_ptr<std::tuple<std::shared_ptr<AbstractTask>, bool, std::string, utils::Verbosity>> get_additive_heuristic_parameters_from_options(const plugins::Options &opts);


}

#endif
2 changes: 1 addition & 1 deletion src/search/heuristics/ff_heuristic.cc
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class FFHeuristicFeature : public plugins::TypedFeature<Evaluator, FFHeuristic>
virtual shared_ptr<FFHeuristic> create_component(
const plugins::Options &opts, const utils::Context &) const override {
return plugins::make_shared_from_args_tuple_and_args<FFHeuristic>(
additive_heuristic::get_additive_heuristic_parameters_from_options(opts)
additive_heuristic::get_additive_heuristic_parameters_from_options(opts)
);
}
};
Expand Down
2 changes: 1 addition & 1 deletion src/search/heuristics/max_heuristic.cc
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ class HSPMaxHeuristicFeature : public plugins::TypedFeature<Evaluator, HSPMaxHeu
virtual shared_ptr<HSPMaxHeuristic> create_component(
const plugins::Options &opts, const utils::Context &) const override {
return plugins::make_shared_from_args_tuple_and_args<HSPMaxHeuristic>(
relaxation_heuristic::get_relaxation_heuristic_parameters_from_options(opts));
relaxation_heuristic::get_relaxation_heuristic_parameters_from_options(opts));
}
};

Expand Down
1 change: 0 additions & 1 deletion src/search/heuristics/relaxation_heuristic.cc
Original file line number Diff line number Diff line change
Expand Up @@ -309,5 +309,4 @@ void RelaxationHeuristic::simplify() {
shared_ptr<tuple<shared_ptr<AbstractTask>, bool, string, utils::Verbosity>> get_relaxation_heuristic_parameters_from_options(const plugins::Options &opts) {
return Heuristic::get_heuristic_parameters_from_options(opts);
}

}
2 changes: 1 addition & 1 deletion src/search/heuristics/relaxation_heuristic.h
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ class RelaxationHeuristic : public Heuristic {
virtual bool dead_ends_are_reliable() const override;
};

std::shared_ptr<std::tuple<std::shared_ptr<AbstractTask>, bool, std::string, utils::Verbosity>> get_relaxation_heuristic_parameters_from_options(const plugins::Options &opts);
std::shared_ptr<std::tuple<std::shared_ptr<AbstractTask>, bool, std::string, utils::Verbosity>> get_relaxation_heuristic_parameters_from_options(const plugins::Options &opts);
}

#endif

0 comments on commit 9fe28ad

Please sign in to comment.