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.
plasp/include/plasp/sas/Operator.h

40 lines
780 B
C
Raw Normal View History

2016-05-20 15:29:24 +02:00
#ifndef __SAS__OPERATOR_H
#define __SAS__OPERATOR_H
#include <string>
#include <vector>
#include <plasp/sas/Effect.h>
#include <plasp/sas/Predicate.h>
2016-05-20 15:29:24 +02:00
#include <plasp/sas/Variable.h>
namespace plasp
{
namespace sas
{
////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Operator
//
////////////////////////////////////////////////////////////////////////////////////////////////////
struct Operator
{
using Condition = AssignedVariable;
using Conditions = std::vector<Condition>;
using Effects = std::vector<Effect>;
Predicate predicate;
2016-05-20 15:29:24 +02:00
Conditions preconditions;
Effects effects;
size_t costs;
};
////////////////////////////////////////////////////////////////////////////////////////////////////
}
}
#endif