Implemented translation of PDDL domain types.
This commit is contained in:
39
include/plasp/pddl/TranslatorASP.h
Normal file
39
include/plasp/pddl/TranslatorASP.h
Normal file
@@ -0,0 +1,39 @@
|
||||
#ifndef __PLASP__PDDL__TRANSLATOR_ASP_H
|
||||
#define __PLASP__PDDL__TRANSLATOR_ASP_H
|
||||
|
||||
#include <plasp/pddl/Description.h>
|
||||
|
||||
#include <iosfwd>
|
||||
|
||||
namespace plasp
|
||||
{
|
||||
namespace pddl
|
||||
{
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// TranslatorASP
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
class TranslatorASP
|
||||
{
|
||||
public:
|
||||
explicit TranslatorASP(const Description &description);
|
||||
|
||||
void translate(std::ostream &ostream) const;
|
||||
|
||||
void translateDomain(std::ostream &ostream) const;
|
||||
|
||||
|
||||
void translateProblem(std::ostream &ostream) const;
|
||||
|
||||
const Description &m_description;
|
||||
};
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user