Skip to content

Commit

Permalink
fix style.
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonDold committed Jul 4, 2024
1 parent 1e13122 commit c623d0d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions src/search/open_list_factory.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ unique_ptr<EdgeOpenList> OpenListFactory::create_open_list() {
}

void add_open_list_options_to_feature(
plugins::Feature &feature) {
plugins::Feature &feature) {
feature.add_option<bool>(
"pref_only",
"insert only nodes generated by preferred operators",
"false");
"pref_only",
"insert only nodes generated by preferred operators",
"false");
}

tuple<bool> get_open_list_arguments_from_options(
const plugins::Options &opts) {
return make_tuple(opts.get<bool>("pref_only"));
const plugins::Options &opts) {
return make_tuple(opts.get<bool>("pref_only"));
}

static class OpenListFactoryCategoryPlugin : public plugins::TypedCategoryPlugin<OpenListFactory> {
Expand Down
4 changes: 2 additions & 2 deletions src/search/operator_counting/operator_counting_heuristic.cc
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ class OperatorCountingHeuristicFeature
}

virtual shared_ptr<OperatorCountingHeuristic> create_component(
const plugins::Options &opts,
const utils::Context &context) const override {
const plugins::Options &opts,
const utils::Context &context) const override {
plugins::verify_list_non_empty<shared_ptr<ConstraintGenerator>>(
context, opts, "constraint_generators");
return plugins::make_shared_from_arg_tuples<OperatorCountingHeuristic>(
Expand Down
4 changes: 2 additions & 2 deletions src/search/pdbs/canonical_pdbs_heuristic.cc
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ void add_canonical_pdbs_options_to_feature(plugins::Feature &feature) {
}

tuple<double> get_canonical_pdbs_arguments_from_options(
const plugins::Options &opts) {
return make_tuple(opts.get<double>("max_time_dominance_pruning"));
const plugins::Options &opts) {
return make_tuple(opts.get<double>("max_time_dominance_pruning"));
}

class CanonicalPDBsHeuristicFeature
Expand Down

0 comments on commit c623d0d

Please sign in to comment.