Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonDold committed Apr 10, 2024
1 parent f05376d commit 55c2c9e
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 10 deletions.
4 changes: 2 additions & 2 deletions src/search/heuristics/goal_count_heuristic.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ class GoalCountHeuristic : public Heuristic {
virtual int compute_heuristic(const State &ancestor_state) override;
public:
GoalCountHeuristic(
const std::shared_ptr<AbstractTask> &transform,
bool cache_estimates, const std::string &description,
const std::shared_ptr<AbstractTask> &transform,
bool cache_estimates, const std::string &description,
utils::Verbosity verbosity);
};
}
Expand Down
2 changes: 1 addition & 1 deletion src/search/pdbs/pattern_collection_generator_genetic.h
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ class PatternCollectionGeneratorGenetic : public PatternCollectionGenerator {
const std::shared_ptr<AbstractTask> &task) override;
public:
PatternCollectionGeneratorGenetic(
int pdb_max_size, int num_collections, int num_episodes,
int pdb_max_size, int num_collections, int num_episodes,
double mutation_probability, bool disjoint, int random_seed,
utils::Verbosity verbosity);
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@ PatternCollectionGeneratorMultipleCegar::PatternCollectionGeneratorMultipleCegar
bool enable_blacklist_on_stagnation, int random_seed,
utils::Verbosity verbosity)
: PatternCollectionGeneratorMultiple(
max_pdb_size, max_collection_size, pattern_generation_max_time,
total_max_time, stagnation_limit, blacklist_trigger_percentage,
enable_blacklist_on_stagnation, random_seed, verbosity),
max_pdb_size, max_collection_size,
pattern_generation_max_time, total_max_time, stagnation_limit,
blacklist_trigger_percentage, enable_blacklist_on_stagnation,
random_seed, verbosity),
use_wildcard_plans(use_wildcard_plans) {
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@ PatternCollectionGeneratorMultipleRandom::PatternCollectionGeneratorMultipleRand
bool enable_blacklist_on_stagnation, int random_seed,
utils::Verbosity verbosity)
: PatternCollectionGeneratorMultiple(
max_pdb_size, max_collection_size, pattern_generation_max_time,
total_max_time, stagnation_limit, blacklist_trigger_percentage,
enable_blacklist_on_stagnation, random_seed, verbosity),
max_pdb_size, max_collection_size,
pattern_generation_max_time, total_max_time, stagnation_limit,
blacklist_trigger_percentage, enable_blacklist_on_stagnation,
random_seed, verbosity),
bidirectional(bidirectional) {
}

Expand Down
2 changes: 1 addition & 1 deletion src/search/search_algorithms/eager_search.cc
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ EagerSearch::EagerSearch(
int bound, double max_time, const string &description,
utils::Verbosity verbosity)
: SearchAlgorithm(
cost_type, bound, max_time, description, verbosity),
cost_type, bound, max_time, description, verbosity),
reopen_closed_nodes(reopen_closed),
open_list(open->create_state_open_list()),
f_evaluator(f_eval), // default nullptr
Expand Down

0 comments on commit 55c2c9e

Please sign in to comment.