#include <tfdm_interface.h>
Public Member Functions | |
virtual void | initialize (const std::string &domainFile, const std::vector< std::string > &options) |
virtual PlannerResult | monitor (const SymbolicState &init, const SymbolicState &goal, const Plan &plan) |
virtual PlannerResult | plan (const SymbolicState &init, const SymbolicState &goal, Plan &plan) |
void | setModuleOptions (const std::string &options) |
Set the module options. | |
void | setProblemFileName (const std::string &file) |
Use this name for writing problem files. | |
virtual void | setTimeout (double secs) |
TFDMInterface () | |
~TFDMInterface () | |
Protected Member Functions | |
PlannerResult | callMonitoring (const std::string &domain, const std::string &problem, const std::string &planNamePrefix) |
PlannerResult | callPlanner (const std::string &domain, const std::string &problem, const std::string &planNamePrefix) |
bool | writeProblem (const SymbolicState &init, const SymbolicState &goal) const |
Protected Attributes | |
std::string | _domainFile |
std::string | _domainName |
std::string | _moduleOptions |
std::string | _problemFileName |
Definition at line 10 of file tfdm_interface.h.
PlannerResult tfd_modules::TFDMInterface::callMonitoring | ( | const std::string & | domain, |
const std::string & | problem, | ||
const std::string & | planNamePrefix | ||
) | [protected] |
PlannerResult tfd_modules::TFDMInterface::callPlanner | ( | const std::string & | domain, |
const std::string & | problem, | ||
const std::string & | planNamePrefix | ||
) | [protected] |
virtual void tfd_modules::TFDMInterface::initialize | ( | const std::string & | domainFile, |
const std::vector< std::string > & | options | ||
) | [virtual] |
[in] | options | a list of module inits |
Implements continual_planning_executive::PlannerInterface.
virtual PlannerResult tfd_modules::TFDMInterface::monitor | ( | const SymbolicState & | init, |
const SymbolicState & | goal, | ||
const Plan & | plan | ||
) | [virtual] |
Implements continual_planning_executive::PlannerInterface.
virtual PlannerResult tfd_modules::TFDMInterface::plan | ( | const SymbolicState & | init, |
const SymbolicState & | goal, | ||
Plan & | plan | ||
) | [virtual] |
Implements continual_planning_executive::PlannerInterface.
void tfd_modules::TFDMInterface::setModuleOptions | ( | const std::string & | options | ) | [inline] |
Set the module options.
Set the entries for a module option call, e.g. (loadCosts 1 file.dat)
Definition at line 38 of file tfdm_interface.h.
void tfd_modules::TFDMInterface::setProblemFileName | ( | const std::string & | file | ) | [inline] |
Use this name for writing problem files.
Definition at line 29 of file tfdm_interface.h.
virtual void tfd_modules::TFDMInterface::setTimeout | ( | double | secs | ) | [virtual] |
Implements continual_planning_executive::PlannerInterface.
bool tfd_modules::TFDMInterface::writeProblem | ( | const SymbolicState & | init, |
const SymbolicState & | goal | ||
) | const [protected] |
std::string tfd_modules::TFDMInterface::_domainFile [protected] |
Definition at line 51 of file tfdm_interface.h.
std::string tfd_modules::TFDMInterface::_domainName [protected] |
Definition at line 52 of file tfdm_interface.h.
std::string tfd_modules::TFDMInterface::_moduleOptions [protected] |
Definition at line 54 of file tfdm_interface.h.
std::string tfd_modules::TFDMInterface::_problemFileName [protected] |
Definition at line 53 of file tfdm_interface.h.