pddl_planner
Public Member Functions | List of all members
pddl_planner::uniform::Planner Class Reference

#include <Uniform.hpp>

Inheritance diagram for pddl_planner::uniform::Planner:
pddl_planner::PDDLPlannerInterface

Public Member Functions

std::string getName () const
 
std::string getCmd () const
 
int getVersion () const
 
 Planner (const std::string &resultFileBasename="plan")
 
PlanCandidates plan (const std::string &problem, const std::string &actionDescriptions, const std::string &domainDescriptions, double timeout)
 
- Public Member Functions inherited from pddl_planner::PDDLPlannerInterface
virtual ~PDDLPlannerInterface ()
 
virtual bool isAvailable () const
 
void cleanup (const std::string &dir, const std::list< std::string > &files)
 
PlanCandidates generateCandidates (const std::string &cmd, const std::string &tempDir, const std::string &resultFilename, const std::list< std::string > &patternList, double timeout, const std::string &planner="")
 
Plan readPlan (const std::string &plannerName, const std::string &filename)
 

Additional Inherited Members

- Protected Member Functions inherited from pddl_planner::PDDLPlannerInterface
void prepare (const std::string &problem, const std::string &actionDescriptions, const std::string &domainDescriptions)
 
- Protected Attributes inherited from pddl_planner::PDDLPlannerInterface
double mTimeout
 
std::string mTempDir
 
std::string mDomainFilename
 
std::string mProblemFilename
 
std::string mResultFilename
 
std::string msResultFileBasename
 
Plan mPlan
 
- Static Protected Attributes inherited from pddl_planner::PDDLPlannerInterface
static const std::string msProblemFileBasename = "problem.pddl"
 
static const std::string msDomainFileBasename = "domain.pddl"
 
static const std::string msTempDirBasename = "/tmp"
 

Detailed Description

Implement the interface to the UNIFORM planner

Constructor & Destructor Documentation

pddl_planner::uniform::Planner::Planner ( const std::string &  resultFileBasename = "plan")

Constructor

Parameters
resultFileBasenamethe preset plan result filename

Member Function Documentation

std::string pddl_planner::uniform::Planner::getCmd ( ) const
inlinevirtual

Get name of this planner's execution script/runnable

Returns
Name of planner's main execution script/runnable
Exceptions
PlanGenerationExceptionif not implemented

Reimplemented from pddl_planner::PDDLPlannerInterface.

std::string pddl_planner::uniform::Planner::getName ( ) const
inlinevirtual

Get name of this planner implementation

Returns
Name of planner
Exceptions
PlanGenerationExceptionif not implemented

Reimplemented from pddl_planner::PDDLPlannerInterface.

int pddl_planner::uniform::Planner::getVersion ( ) const
inlinevirtual

Get version of this planner implementation

Returns
version as int
Exceptions
PlanGenerationExceptionif not implemented

Reimplemented from pddl_planner::PDDLPlannerInterface.

PlanCandidates pddl_planner::uniform::Planner::plan ( const std::string &  problem,
const std::string &  actionDescriptions,
const std::string &  domainDescriptions,
double  timeout 
)
virtual

Create plan candidates for the given pddl planning problem

Reimplemented from pddl_planner::PDDLPlannerInterface.


The documentation for this class was generated from the following files: