Title use a "plugin-style" architecture for adding heuristics and search algorithms
Priority wish Status resolved
Superseder Nosy List erez, gabi, malte
Assigned To malte Keywords
Optional summary

Created on 2010-09-03.18:23:44 by malte, last changed by malte.

msg3294 (view) Author: malte Date: 2014-08-09.20:02:09
I think we now have plug-ins for heuristics and search algorithms. :-)
msg494 (view) Author: malte Date: 2010-09-04.00:28:53
All heuristics (but not the other evaluators) are now (r4892) plugin-ized.

The search algorithms still need to be plugin-ized.

About documenting this on the wiki, I've decided against it for now since this
is all pretty simple from the existing examples and documentation needs to be
maintained. Maybe we should write some basic "How to add a new heuristic?"/"How
to add a new search algorithm?" tutorials later, but that should wait until
someone is motivated to do it and maybe also until the code has become more stable.
msg487 (view) Author: malte Date: 2010-09-03.19:06:45
As of r4875, the plugin mechanism is now implemented for scalar evaluators
(heuristics). It is already used by the goal count heuristic, and the Makefile
has some notes on how to enable/disable plugins.

Still need to extend this to other heuristics, deal with search algorithms, and
document this in the wiki.
msg486 (view) Author: malte Date: 2010-09-03.18:23:44
Wish: change the code to facilitate a "plug-in style" model for heuristics and
search algorithms, where new such components ("plugins") can be added to the
planner and/or removed from the planner by simply adding/removing them from the

This would also allow us to distribute additional heuristics etc. that we don't
feel comfortable about supporting as optional plugins, maybe in some kind of
"contrib" directory to make it clear that they are not part of the core planner.
Date User Action Args
2014-08-09 20:02:09maltesetstatus: in-progress -> resolved
messages: + msg3294
2010-09-04 00:28:53maltesetmessages: + msg494
2010-09-04 00:28:46maltesetmessages: - msg492
2010-09-04 00:22:20maltesetmessages: + msg492
2010-09-03 19:06:46maltesetnosy: + erez
messages: + msg487
2010-09-03 18:23:44maltecreate