This repository has been archived on 2023-07-19. You can view files and clone it, but cannot push or open issues or pull requests.
2016-06-06 15:18:06 +02:00
|
|
|
#ifndef __PLASP__PDDL__EXPRESSIONS__INITIAL_STATE_H
|
|
|
|
#define __PLASP__PDDL__EXPRESSIONS__INITIAL_STATE_H
|
|
|
|
|
|
|
|
#include <plasp/pddl/Expression.h>
|
|
|
|
|
|
|
|
namespace plasp
|
|
|
|
{
|
|
|
|
namespace pddl
|
|
|
|
{
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
//
|
2016-06-09 01:25:18 +02:00
|
|
|
// InitialState
|
2016-06-06 15:18:06 +02:00
|
|
|
//
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2016-06-09 01:25:18 +02:00
|
|
|
class InitialState
|
|
|
|
{
|
|
|
|
public:
|
2016-06-13 19:02:15 +02:00
|
|
|
static std::unique_ptr<InitialState> parseDeclaration(Context &context,
|
|
|
|
ExpressionContext &expressionContext);
|
2016-06-09 01:25:18 +02:00
|
|
|
|
|
|
|
public:
|
|
|
|
const Expressions &facts() const;
|
|
|
|
|
|
|
|
private:
|
|
|
|
Expressions m_facts;
|
|
|
|
};
|
2016-06-06 15:18:06 +02:00
|
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|