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-04 17:10:50 +02:00
|
|
|
#ifndef __PLASP__PDDL__EXPRESSIONS__EITHER_H
|
|
|
|
#define __PLASP__PDDL__EXPRESSIONS__EITHER_H
|
2016-06-03 17:12:39 +02:00
|
|
|
|
|
|
|
#include <plasp/pddl/expressions/NAry.h>
|
|
|
|
|
|
|
|
namespace plasp
|
|
|
|
{
|
|
|
|
namespace pddl
|
|
|
|
{
|
|
|
|
namespace expressions
|
|
|
|
{
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
//
|
|
|
|
// Either
|
|
|
|
//
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2016-06-09 17:51:10 +02:00
|
|
|
class Either: public NAry<Either>
|
2016-06-03 17:12:39 +02:00
|
|
|
{
|
|
|
|
public:
|
2016-06-12 22:12:09 +02:00
|
|
|
static const Expression::Type ExpressionType = Expression::Type::Either;
|
2016-06-03 17:12:39 +02:00
|
|
|
|
2016-06-12 22:12:09 +02:00
|
|
|
static const std::string Identifier;
|
2016-06-03 17:12:39 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|