Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

FFPlanNode.h

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

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