Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonDold committed Feb 15, 2024
1 parent c72419e commit 1ff99aa
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion src/search/evaluator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ tuple<string, utils::Verbosity> get_evaluator_arguments_from_options(
}

tuple<bool, bool, bool> get_evaluator_default_arguments() {
return make_tuple<bool ,bool, bool>(false, false, false);
return make_tuple<bool, bool, bool>(false, false, false);
}

static class EvaluatorCategoryPlugin : public plugins::TypedCategoryPlugin<Evaluator> {
Expand Down
2 changes: 1 addition & 1 deletion src/search/evaluators/combining_evaluator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,6 @@ tuple<vector<shared_ptr<Evaluator>>, bool, bool, bool, const string, utils::Verb
make_tuple(options.get_list<shared_ptr<Evaluator>>("evals")),
get_evaluator_default_arguments(),
get_evaluator_arguments_from_options(options)
);
);
}
}
2 changes: 1 addition & 1 deletion src/search/evaluators/combining_evaluator.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class CombiningEvaluator : public Evaluator {
extern void add_combining_evaluator_options_to_feature(
plugins::Feature &feature, const std::string &description);
extern std::tuple<std::vector<std::shared_ptr<Evaluator>>, bool, bool, bool, const std::string, utils::Verbosity>
get_combining_evaluator_arguments_from_options(const plugins::Options &options);
get_combining_evaluator_arguments_from_options(const plugins::Options &options);
}

#endif
2 changes: 1 addition & 1 deletion src/search/evaluators/const_evaluator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class ConstEvaluatorFeature : public plugins::TypedFeature<Evaluator, ConstEvalu
opts.get<int>("value"),
get_evaluator_default_arguments(),
get_evaluator_arguments_from_options(opts)
);
);
}
};

Expand Down
10 changes: 5 additions & 5 deletions src/search/evaluators/g_evaluator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ GEvaluator::GEvaluator(const plugins::Options &opts)
: Evaluator(opts) {
}
GEvaluator::GEvaluator(bool use_for_reporting_minima,
bool use_for_boosting,
bool use_for_counting_evaluations,
const string &description,
utils::Verbosity verbosity)
bool use_for_boosting,
bool use_for_counting_evaluations,
const string &description,
utils::Verbosity verbosity)
: Evaluator(use_for_reporting_minima, use_for_boosting, use_for_counting_evaluations, description, verbosity) {
}

Expand All @@ -40,7 +40,7 @@ class GEvaluatorFeature : public plugins::TypedFeature<Evaluator, GEvaluator> {
return plugins::make_shared_from_arg_tuples<GEvaluator>(
get_evaluator_default_arguments(),
get_evaluator_arguments_from_options(opts)
);
);
}
};

Expand Down
2 changes: 1 addition & 1 deletion src/search/evaluators/g_evaluator.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class GEvaluator : public Evaluator {
bool use_for_counting_evaluations,
const std::string &description,
utils::Verbosity verbosity);

virtual EvaluationResult compute_result(
EvaluationContext &eval_context) override;

Expand Down
2 changes: 1 addition & 1 deletion src/search/evaluators/pref_evaluator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class PrefEvaluatorFeature : public plugins::TypedFeature<Evaluator, PrefEvaluat
return plugins::make_shared_from_arg_tuples<PrefEvaluator>(
get_evaluator_default_arguments(),
get_evaluator_arguments_from_options(options)
);
);
}
};

Expand Down
2 changes: 1 addition & 1 deletion src/search/evaluators/sum_evaluator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ SumEvaluator::SumEvaluator(
bool use_for_counting_evaluations,
const string &description,
utils::Verbosity verbosity
)
)
: CombiningEvaluator(evals, use_for_reporting_minima, use_for_boosting, use_for_counting_evaluations, description, verbosity) {
}

Expand Down
2 changes: 1 addition & 1 deletion src/search/evaluators/weighted_evaluator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class WeightedEvaluatorFeature : public plugins::TypedFeature<Evaluator, Weighte
options.get<int>("weight"),
get_evaluator_default_arguments(),
get_evaluator_arguments_from_options(options)
);
);
}
};

Expand Down

0 comments on commit 1ff99aa

Please sign in to comment.