From f39b35b215f144c4f659a1f1f4fb9243c80a88ba Mon Sep 17 00:00:00 2001 From: SimonDold <48084373+SimonDold@users.noreply.github.com> Date: Tue, 17 Sep 2024 09:10:48 +0200 Subject: [PATCH] [trivial] Update pdb synopsis. (#232) Update pdb synopsis. --- src/search/pdbs/pdb_heuristic.cc | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/src/search/pdbs/pdb_heuristic.cc b/src/search/pdbs/pdb_heuristic.cc index 484e4d2eba..4e6efae28c 100644 --- a/src/search/pdbs/pdb_heuristic.cc +++ b/src/search/pdbs/pdb_heuristic.cc @@ -3,6 +3,7 @@ #include "pattern_database.h" #include "../plugins/plugin.h" +#include "../utils/markup.h" #include #include @@ -33,13 +34,37 @@ int PDBHeuristic::compute_heuristic(const State &ancestor_state) { return h; } +static basic_string paper_references() { + return utils::format_conference_reference( + {"Stefan Edelkamp"}, + "Planning with Pattern Databases", + "https://aaai.org/papers/7280-ecp-01-2001/", + "Proceedings of the Sixth European Conference on Planning (ECP 2001)", + "84-90", + "AAAI Press", + "2001") + + "For implementation notes, see:" + utils::format_conference_reference( + {"Silvan Sievers", "Manuela Ortlieb", "Malte Helmert"}, + "Efficient Implementation of Pattern Database Heuristics for" + " Classical Planning", + "https://ai.dmi.unibas.ch/papers/sievers-et-al-socs2012.pdf", + "Proceedings of the Fifth Annual Symposium on Combinatorial" + " Search (SoCS 2012)", + "105-111", + "AAAI Press", + "2012"); +} class PDBHeuristicFeature : public plugins::TypedFeature { public: PDBHeuristicFeature() : TypedFeature("pdb") { document_subcategory("heuristics_pdb"); document_title("Pattern database heuristic"); - document_synopsis("TODO"); + document_synopsis( + "Computes goal distance in " + "state space abstractions based on projections. " + "First used in domain-independent planning by:" + + paper_references()); add_option>( "pattern",