(Sorry that blog updates have been really sparse--this is partly because I've been working a bit less after the paper, and partly because there is just a lot of uninteresting busywork with the planner framework at this stage.)
This past week, I have been working on a new planner framework based on what I learned about the old one while working on my project. Not a whole lot has happened, yet, but it's picking up. Once it's complete enough, we want to integrate it with both my project and Max's project, which will allow these projects to easily swap planners and to more cleanly integrate with planning code.
The planner framework currently has no dependence on or integration with ADAPT or Unity; it's just a standalone C# project with some basic unit tests. I'll see if I can keep Unity/ADAPT integration as a separate binary, which would allow this framework to be used more generally. I'll have to start on that soon, as I need some sort of visualization so that I can make sure it's actually working.
So far, I have been figuring out the main set of interfaces necessary for the framework. I've implemented a few searches, which have helped me figure out what the interface should look like--though, so far, I have only done some simple things. The domain is a very generic graph-based domain (initialized in the tests). I started with breadth-first search, which provided a very basic test of the interfaces. Then I implemented Dijkstra's algorithm [Node] [MinHeap], which is a little bit more demanding and revealed some things I needed to fix and clean up.
I'm currently working on A* (consistent edition), which implements A* for a consistent/monotone heuristic function. After that will be probably be AD*, or maybe A* (inconsistent edition). Since my project has inconsistent heuristics, I'll be taking that into account when designing things.
For AD* and other repairing algorithms, I will have to provide an abstract class for repairing planners on top of the existing Planner abstract class.
I've also duplicated a feature from the old planner that I don't really understand. The planner has a list of multiple domains, as well as something called "domain evaluation," in which it tries to choose the "best" domain by minimizing a float value returned by domain.Evaluate(startState). So far, domains simply return 0 as their estimate, and I haven't tested any searches with multiple domains. I don't precisely understand how multiple domains would be used by the planner, anyhow, other than simply choosing one and going with it.
This looks good.
ReplyDeleteRe: use of multiple domains, you can ignore it for now and remove it from your interface.
Just FYI - this is the paper that uses multiple domains for planning:
http://www.seas.upenn.edu/~mubbasir/projects-mdp.html
Keep us updated!
Mubbasir