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-05-20 15:29:24 +02:00
|
|
|
#ifndef __SAS__EFFECT_H
|
|
|
|
#define __SAS__EFFECT_H
|
|
|
|
|
|
|
|
#include <vector>
|
|
|
|
|
2016-05-22 14:24:38 +02:00
|
|
|
#include <plasp/sas/AssignedVariable.h>
|
2016-05-20 15:29:24 +02:00
|
|
|
#include <plasp/sas/Variable.h>
|
|
|
|
|
|
|
|
namespace plasp
|
|
|
|
{
|
|
|
|
namespace sas
|
|
|
|
{
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
//
|
|
|
|
// Effect
|
|
|
|
//
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2016-05-22 14:24:38 +02:00
|
|
|
struct Effect;
|
|
|
|
using Effects = std::vector<Effect>;
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2016-05-20 15:29:24 +02:00
|
|
|
struct Effect
|
|
|
|
{
|
|
|
|
using Condition = AssignedVariable;
|
2016-05-22 14:24:38 +02:00
|
|
|
using Conditions = AssignedVariables;
|
2016-05-20 15:29:24 +02:00
|
|
|
|
|
|
|
Conditions conditions;
|
|
|
|
Condition postcondition;
|
|
|
|
};
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|