Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

FFPlanner.h

Go to the documentation of this file.
00001 #ifndef _Included_FFPlanner_h_
00002 #define _Included_FFPlanner_h_
00003 
00004 #include "Behaviors/BehaviorBase.h"
00005 
00006 class FFPlanner : public BehaviorBase {
00007 public:
00008   FFPlanner(const std::string &name, const std::string &_domainFileName) :
00009     BehaviorBase(name), domainFileName(_domainFileName), planFileName(), result() {}
00010   
00011   void plan(const std::string &problemFileName, const std::string &_planFileName="/tmp/tekkotsu-PlannerOutput.txt");
00012   
00013   const std::string getResult() const { return result; }
00014 
00015 protected:
00016   void launchFF(const std::string &problemfile);
00017 
00018   virtual void doEvent();
00019 
00020   std::string domainFileName;
00021   std::string planFileName;
00022   std::string result;
00023 
00024 };
00025 
00026 #endif
00027 

Tekkotsu v5.1CVS
Generated Mon May 9 04:58:38 2016 by Doxygen 1.6.3